Transport provider status information. More...
Functions | |
_PUBLIC_ enum MAPISTATUS | AddressTypes (mapi_object_t *obj_store, uint16_t *lpcAdrType, struct mapi_LPSTR **lpAdrTypeArray) |
_PUBLIC_ enum MAPISTATUS | OptionsData (mapi_object_t *obj_store, const char *addrtype, uint8_t **OptionsData, uint16_t *OptionsLength, uint8_t **HelpFile, uint16_t *HelpFileLength, const char **HelpFileName) |
_PUBLIC_ enum MAPISTATUS | SetSpooler (mapi_object_t *obj_store) |
_PUBLIC_ enum MAPISTATUS | SpoolerLockMessage (mapi_object_t *obj_store, mapi_object_t *obj_message, enum LockState lockstate) |
Transport provider status information.
_PUBLIC_ enum MAPISTATUS AddressTypes | ( | mapi_object_t * | obj_store, |
uint16_t * | lpcAdrType, | ||
struct mapi_LPSTR ** | lpAdrTypeArray | ||
) |
Returns the types of recipients that the transport provider handles.
obj_store | the object to get recipients types from |
lpcAdrType | the count of recipients types returned |
lpAdrTypeArray | pointer on pointer of returned transport provider types |
References emsmdb_transaction_wrapper(), mapi_object_get_handle(), mapi_object_get_logon_id(), mapi_object_get_session(), OPENCHANGE_CHECK_NOTIFICATION, and OPENCHANGE_RETVAL_IF.
_PUBLIC_ enum MAPISTATUS OptionsData | ( | mapi_object_t * | obj_store, |
const char * | addrtype, | ||
uint8_t ** | OptionsData, | ||
uint16_t * | OptionsLength, | ||
uint8_t ** | HelpFile, | ||
uint16_t * | HelpFileLength, | ||
const char ** | HelpFileName | ||
) |
Returns options information for the types of recipients that the transport provider handles.
[in] | obj_store | the object to get recipients types from |
[in] | addrtype | string name of the address type to get options for |
[out] | OptionsData | the options data for this addrtype |
[out] | OptionsLength | length of the OptionsData array |
[out] | HelpFile | the help file data for this addrtype (often empty) |
[out] | HelpFileLength | length of the HelpFile array |
[out] | HelpFileName | the name of the help file (often null) |
The caller is responsible for talloc_free()ing the OptionsData array.
References emsmdb_transaction_wrapper(), mapi_object_get_handle(), mapi_object_get_logon_id(), mapi_object_get_session(), and OPENCHANGE_RETVAL_IF.
_PUBLIC_ enum MAPISTATUS SetSpooler | ( | mapi_object_t * | obj_store) |
Informs the server that the client intends to act as a mail spooler.
obj_store,: | the object server store object |
References emsmdb_transaction_wrapper(), mapi_object_get_handle(), mapi_object_get_logon_id(), mapi_object_get_session(), OPENCHANGE_CHECK_NOTIFICATION, and OPENCHANGE_RETVAL_IF.
_PUBLIC_ enum MAPISTATUS SpoolerLockMessage | ( | mapi_object_t * | obj_store, |
mapi_object_t * | obj_message, | ||
enum LockState | lockstate | ||
) |
Locks the specified message for spooling.
obj_store | the store object |
obj_message | the message object we want to lock |
lockstate | the lock state |
Possible values for the lock state:
References emsmdb_transaction_wrapper(), mapi_object_get_handle(), mapi_object_get_id(), mapi_object_get_logon_id(), mapi_object_get_session(), OPENCHANGE_CHECK_NOTIFICATION, and OPENCHANGE_RETVAL_IF.
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |