public OCPF API More...
#include "libocpf/ocpf_private.h"#include <libocpf/ocpf.h>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) |
public OCPF API
| _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 |
| _PUBLIC_ int ocpf_init | ( | void | ) |
Initialize OCPF context
Initialize ocpf context and allocate memory for internal structures
| _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 |
| _PUBLIC_ int ocpf_parse | ( | const char * | filename | ) |
Parse OCPF file
Parse and process the given ocpf file.
| filename | the file to parse |
| _PUBLIC_ int ocpf_release | ( | void | ) |
Uninitialize OCPF context
Uninitialize the global OCPF context and release memory.
| _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 |
| _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 |
|
|
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |