mapi_id_array support functions More...
#include "libmapi/libmapi.h"
#include "libmapi/libmapi_private.h"
Functions | |
_PUBLIC_ enum MAPISTATUS | mapi_id_array_add_id (mapi_id_array_t *id, mapi_id_t fid) |
_PUBLIC_ enum MAPISTATUS | mapi_id_array_add_obj (mapi_id_array_t *id, mapi_object_t *obj) |
_PUBLIC_ enum MAPISTATUS | mapi_id_array_del_id (mapi_id_array_t *id, mapi_id_t fid) |
_PUBLIC_ enum MAPISTATUS | mapi_id_array_del_obj (mapi_id_array_t *id, mapi_object_t *obj) |
_PUBLIC_ enum MAPISTATUS | mapi_id_array_get (TALLOC_CTX *mem_ctx, mapi_id_array_t *id, mapi_id_t **ContainerList) |
_PUBLIC_ enum MAPISTATUS | mapi_id_array_init (TALLOC_CTX *mem_ctx, mapi_id_array_t *id) |
_PUBLIC_ enum MAPISTATUS | mapi_id_array_release (mapi_id_array_t *id) |
mapi_id_array support functions
_PUBLIC_ enum MAPISTATUS mapi_id_array_add_id | ( | mapi_id_array_t * | id, |
mapi_id_t | fid | ||
) |
Add a container ID to the list given its container ID
id | pointer to a mapi_id_array structure |
fid | the container ID |
_PUBLIC_ enum MAPISTATUS mapi_id_array_add_obj | ( | mapi_id_array_t * | id, |
mapi_object_t * | obj | ||
) |
Add a container ID to the list given its mapi_object_t
id | pointer to a mapi_id_array structure |
obj | pointer on the mapi object we retrieve the container ID from |
References mapi_object_get_id().
_PUBLIC_ enum MAPISTATUS mapi_id_array_del_id | ( | mapi_id_array_t * | id, |
mapi_id_t | fid | ||
) |
Delete a container ID from the list given its container ID
id | pointer to a mapi_id_array structure |
fid | the container ID |
_PUBLIC_ enum MAPISTATUS mapi_id_array_del_obj | ( | mapi_id_array_t * | id, |
mapi_object_t * | obj | ||
) |
Delete a container ID from the list given its mapi_object_t
id | pointer to a mapi_id_array structure |
obj | pointer on the mapi object we retrieve the container ID from |
References mapi_object_get_id().
_PUBLIC_ enum MAPISTATUS mapi_id_array_get | ( | TALLOC_CTX * | mem_ctx, |
mapi_id_array_t * | id, | ||
mapi_id_t ** | ContainerList | ||
) |
Retrieve the ContainerList and store it within a uint64_t array.
mem_ctx | allocated talloc pointer |
id | pointer to a mapi_id_array structure |
ContainerList | pointer on a pointer of uint64_t values |
Referenced by FXCopyMessages(), MoveCopyMessages(), and SetSearchCriteria().
_PUBLIC_ enum MAPISTATUS mapi_id_array_init | ( | TALLOC_CTX * | mem_ctx, |
mapi_id_array_t * | id | ||
) |
Initialize a mapi_id_array structure
mem_ctx | pointer to the talloc context |
id | pointer to a mapi_id_array structure |
_PUBLIC_ enum MAPISTATUS mapi_id_array_release | ( | mapi_id_array_t * | id | ) |
Uninitialize a mapi_id_array structure
id | pointer to a mapi_id_array structure |
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |