public OCPF API More...
Defines | |
| #define | MAX_READ_SIZE 0x1000 |
Functions | |
| _PUBLIC_ struct SPropValue * | ocpf_get_SPropValue (uint32_t *cValues) |
| _PUBLIC_ int | ocpf_init (void) |
| _PUBLIC_ enum MAPISTATUS | ocpf_OpenFolder (mapi_object_t *obj_store, mapi_object_t *obj_folder) |
| _PUBLIC_ int | ocpf_parse (const char *filename) |
| _PUBLIC_ int | ocpf_release (void) |
| _PUBLIC_ enum MAPISTATUS | ocpf_set_Recipients (TALLOC_CTX *mem_ctx, mapi_object_t *obj_message) |
| _PUBLIC_ enum MAPISTATUS | ocpf_set_SPropValue (TALLOC_CTX *mem_ctx, mapi_object_t *obj_folder, mapi_object_t *obj_message) |
| stat h int | ocpf_yyparse (void) |
Variables | |
| int | error_flag |
| struct ocpf * | ocpf |
| FILE * | yyin |
public OCPF API
| #define MAX_READ_SIZE 0x1000 |
Referenced by ocpf_set_SPropValue().
| _PUBLIC_ struct SPropValue* ocpf_get_SPropValue | ( | uint32_t * | cValues | ) | [read] |
Get the OCPF SPropValue array
This function is an accessor designed to return the SPropValue structure created with ocpf_set_SPropValue.
| cValues | pointer on the number of SPropValue entries |
References ocpf.
| _PUBLIC_ int ocpf_init | ( | void | ) |
Initialize OCPF context
Initialize ocpf context and allocate memory for internal structures
References ocpf, OCPF_ERROR, and OCPF_SUCCESS.
| _PUBLIC_ enum MAPISTATUS ocpf_OpenFolder | ( | mapi_object_t * | obj_store, |
| mapi_object_t * | obj_folder | ||
| ) |
Open OCPF folder
This function opens the folder associated with the ocpf folder global context value.
| obj_store | the store object |
| obj_folder | the folder to open |
References ocpf.
| _PUBLIC_ int ocpf_parse | ( | const char * | filename | ) |
Parse OCPF file
Parse and process the given ocpf file.
| filename | the file to parse |
References lineno, ocpf, OCPF_ERROR, ocpf_yyparse(), and yyin.
| _PUBLIC_ int ocpf_release | ( | void | ) |
Uninitialize OCPF context
Uninitialize the global OCPF context and release memory.
References ocpf, OCPF_ERROR, and OCPF_SUCCESS.
| _PUBLIC_ enum MAPISTATUS ocpf_set_Recipients | ( | TALLOC_CTX * | mem_ctx, |
| mapi_object_t * | obj_message | ||
| ) |
Set the message recipients from ocpf context
This function sets the recipient (To, Cc, Bcc) from the ocpf context and information stored.
| mem_ctx | the memory context to use for memory allocation |
| obj_message | pointer to the message object we use for internal MAPI operations |
References ocpf.
| _PUBLIC_ enum MAPISTATUS ocpf_set_SPropValue | ( | TALLOC_CTX * | mem_ctx, |
| mapi_object_t * | obj_folder, | ||
| mapi_object_t * | obj_message | ||
| ) |
Build a SPropValue array from ocpf context
This function builds a SPropValue array from the ocpf context and information stored.
| mem_ctx | the memory context to use for memory allocation |
| obj_folder | pointer the folder object we use for internal MAPI operations |
| obj_message | pointer to the message object we use for internal MAPI operations |
References MAX_READ_SIZE, and ocpf.
| stat h int ocpf_yyparse | ( | void | ) |
Referenced by ocpf_parse().
| int error_flag |
Referenced by ocpf_dump_folder(), ocpf_dump_named_property(), ocpf_dump_oleguid(), ocpf_dump_property(), ocpf_dump_recipients(), ocpf_dump_type(), ocpf_dump_variable(), ocpf_get_SPropValue(), ocpf_init(), ocpf_OpenFolder(), ocpf_parse(), ocpf_release(), ocpf_set_Recipients(), ocpf_set_SPropValue(), ocpf_write_auto(), ocpf_write_commit(), ocpf_write_init(), and ocpf_write_unescape_string().
| FILE* yyin |
Referenced by ocpf_parse().
|
|
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |