General utility functions. More...
#include <libmapi/libmapi.h>
Functions | |
_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) |
_PUBLIC_ char * | windows_to_utf8 (TALLOC_CTX *mem_ctx, const char *input) |
int | yyparse_utf8 (char *, const char *) |
convert utf8 windows string into classic utf8 NOTE: windows utf8 encoding is equal or larger to classic utf8 we should anyway find a better way to allocate the output buf |
General utility functions.
_PUBLIC_ struct Binary_r* generate_recipient_entryid | ( | TALLOC_CTX * | mem_ctx, |
const char * | recipient_id | ||
) | [read] |
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().
_PUBLIC_ char* windows_to_utf8 | ( | TALLOC_CTX * | mem_ctx, |
const char * | input | ||
) |
References yyparse_utf8().
int yyparse_utf8 | ( | char * | , |
const char * | |||
) |
convert utf8 windows string into classic utf8 NOTE: windows utf8 encoding is equal or larger to classic utf8 we should anyway find a better way to allocate the output buf
Referenced by windows_to_utf8().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |