libmapiadmin/libmapiadmin.h File Reference
Structures for MAPI admin functions.
More...
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdint.h>
#include <talloc.h>
#include <ldb.h>
#include <tevent.h>
#include <libmapi/libmapi.h>
#include <libmapiadmin/proto.h>
Data Structures |
struct | mapiadmin_ctx |
| MAPI admin function context. More...
|
struct | test_join |
Defines |
#define | _GNU_SOURCE 1 |
#define | _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) |
#define | DEFAULT_PROFDB_PATH "%s/.openchange/profiles.ldb" |
#define | MAPIADMIN_DEBUG_STR "[%s:%d]: %s %s\n", __FUNCTION__, __LINE__ |
#define | MAX(p, q) (((p) >= (q)) ? (p) : (q)) |
Functions |
void | arcfour_crypt_blob (uint8_t *, int, const DATA_BLOB *) |
struct dom_sid * | dom_sid_add_rid (TALLOC_CTX *, const struct dom_sid *, uint32_t) |
bool | encode_pw_buffer (uint8_t buffer[516], const char *, int) |
__BEGIN_DECLS struct ldb_dn *int | samdb_msg_add_string (struct ldb_context *, TALLOC_CTX *, struct ldb_message *, const char *, const char *) |
int | samdb_replace (struct ldb_context *, TALLOC_CTX *, struct ldb_message *) |
__BEGIN_DECLS struct ldb_dn * | samdb_search_dn (struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, const char *,...) _PRINTF_ATTRIBUTE(4 |
Detailed Description
Structures for MAPI admin functions.
Define Documentation
#define _PRINTF_ATTRIBUTE |
( |
a1, |
|
|
a2 |
|
) |
PRINTF_ATTRIBUTE(a1, a2) |
#define DEFAULT_PROFDB_PATH "%s/.openchange/profiles.ldb" |
#define MAPIADMIN_DEBUG_STR "[%s:%d]: %s %s\n", __FUNCTION__, __LINE__ |
#define MAX |
( |
p, |
|
|
q |
|
) |
(((p) >= (q)) ? (p) : (q)) |
Function Documentation
void arcfour_crypt_blob |
( |
uint8_t * |
, |
|
|
int |
, |
|
|
const DATA_BLOB * |
| |
|
) |
| | |
struct dom_sid* dom_sid_add_rid |
( |
TALLOC_CTX * |
, |
|
|
const struct dom_sid * |
, |
|
|
uint32_t |
| |
|
) |
| | [read] |
bool encode_pw_buffer |
( |
uint8_t |
buffer[516], |
|
|
const char * |
, |
|
|
int |
| |
|
) |
| | |
__BEGIN_DECLS struct ldb_dn* int samdb_msg_add_string |
( |
struct ldb_context * |
, |
|
|
TALLOC_CTX * |
, |
|
|
struct ldb_message * |
, |
|
|
const char * |
, |
|
|
const char * |
| |
|
) |
| | |
int samdb_replace |
( |
struct ldb_context * |
, |
|
|
TALLOC_CTX * |
, |
|
|
struct ldb_message * |
| |
|
) |
| | |
__BEGIN_DECLS struct ldb_dn* samdb_search_dn |
( |
struct ldb_context * |
, |
|
|
TALLOC_CTX * |
, |
|
|
struct ldb_dn * |
, |
|
|
const char * |
, |
|
|
|
... | |
|
) |
| | [read] |