libmapiadmin/libmapiadmin.h(3)

NAME
libmapiadmin/libmapiadmin.h -

Structures for MAPI admin functions.

SYNOPSIS

#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'

  Data Structures
struct mapiadmin_ctx
MAPI admin function context.

  Functions
struct mapiadmin_ctx * mapiadmin_init (struct mapi_session *)
Create and initialise a mapiadmin_ctx structure.
enum MAPISTATUS mapiadmin_release (struct mapiadmin_ctx *)
Clean up a mapiadmin_ctx structure.
enum MAPISTATUS mapiadmin_user_add (struct mapiadmin_ctx *)
Add a user to Active Directory.
enum MAPISTATUS mapiadmin_user_del (struct mapiadmin_ctx *)
Delete a user from Active Directory.
enum MAPISTATUS mapiadmin_user_extend (struct mapiadmin_ctx *)
Extend user attributes to be Exchange user.

Detailed Description

Structures for MAPI admin functions.

Function Documentation

  struct mapiadmin_ctx* mapiadmin_init (struct mapi_session *session) [read]

Create and initialise a mapiadmin_ctx structure. You should use mapiadmin_release to clean up the mapiadmin_ctx structure when done.

  enum MAPISTATUS mapiadmin_release (struct mapiadmin_ctx *mapiadmin_ctx)

Clean up a mapiadmin_ctx structure. The structure is assumed to have been allocated using mapiadmin_init() or equivalent code.

Author

Generated automatically by Doxygen for libmapiadmin from the source code.