General utility functions. More...
Functions | |
_PUBLIC_ enum MAPISTATUS | EntryIDFromSourceIDForMessage (TALLOC_CTX *mem_ctx, mapi_object_t *obj_store, mapi_object_t *obj_folder, mapi_object_t *obj_message, struct SBinary_short *entryID) |
_PUBLIC_ struct Binary_r * | generate_recipient_entryid (TALLOC_CTX *mem_ctx, const char *recipient_id) |
_PUBLIC_ enum MAPISTATUS | GetFIDFromEntryID (uint16_t cb, uint8_t *lpb, uint64_t parent_fid, uint64_t *fid) |
_PUBLIC_ char * | guid_delete_dash (TALLOC_CTX *mem_ctx, const char *recipient_id) |
General utility functions.
_PUBLIC_ enum MAPISTATUS EntryIDFromSourceIDForMessage | ( | TALLOC_CTX * | mem_ctx, |
mapi_object_t * | obj_store, | ||
mapi_object_t * | obj_folder, | ||
mapi_object_t * | obj_message, | ||
struct SBinary_short * | entryID | ||
) |
Build an EntryID for message from folder and message source ID
References get_SPropValue(), GetProps(), mapi_obj_store::guid, MAPIFreeBuffer(), OPENCHANGE_RETVAL_IF, PidTagSourceKey, mapi_object::private_data, PublicFolder, set_SPropTagArray(), and mapi_obj_store::store_type.
_PUBLIC_ struct Binary_r* generate_recipient_entryid | ( | TALLOC_CTX * | mem_ctx, |
const char * | recipient_id | ||
) |
References guid_delete_dash().
_PUBLIC_ enum MAPISTATUS GetFIDFromEntryID | ( | uint16_t | cb, |
uint8_t * | lpb, | ||
uint64_t | parent_fid, | ||
uint64_t * | fid | ||
) |
Create a FID from an EntryID
cb | count of lpb bytes |
lpb | pointer on an array of bytes |
parent_fid | the parent folder identifier |
fid | pointer to the returned fid |
References OPENCHANGE_RETVAL_IF.
_PUBLIC_ char* guid_delete_dash | ( | TALLOC_CTX * | mem_ctx, |
const char * | recipient_id | ||
) |
Referenced by generate_recipient_entryid().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |