Convenient API to access FreeBusy. More...
#include <libmapi/libmapi.h>
#include <ctype.h>
Functions | |
_PUBLIC_ int | GetFreeBusyYear (const uint32_t *publish_start) |
_PUBLIC_ enum MAPISTATUS | GetUserFreeBusyData (mapi_object_t *obj_store, const char *recipient, struct SRow *pSRow) |
_PUBLIC_ enum MAPISTATUS | IsFreeBusyConflict (mapi_object_t *obj_store, struct FILETIME *date, bool *conflict) |
Convenient API to access FreeBusy.
_PUBLIC_ int GetFreeBusyYear | ( | const uint32_t * | publish_start | ) |
Return the year associated with the FreeBusy start range
publish_start | pointer to the publish start integer |
Referenced by IsFreeBusyConflict().
_PUBLIC_ enum MAPISTATUS GetUserFreeBusyData | ( | mapi_object_t * | obj_store, | |
const char * | recipient, | |||
struct SRow * | pSRow | |||
) |
Retrieve FreeBusy data associated with the specified recipient
obj_store | pointer to the public folder MAPI object | |
recipient | name of the recipient to fetch freebusy data | |
pSRow | pointer to the returned properties |
References FindRow(), GetABRecipientInfo(), GetContentsTable(), GetDefaultPublicFolder(), GetHierarchyTable(), GetProps(), mapi_object_get_session(), mapi_object_init(), mapi_object_release(), MAPIFreeBuffer(), OpenFolder(), OpenMessage(), SetColumns(), and SortTable().
Referenced by IsFreeBusyConflict().
_PUBLIC_ enum MAPISTATUS IsFreeBusyConflict | ( | mapi_object_t * | obj_store, | |
struct FILETIME * | date, | |||
bool * | conflict | |||
) |
Check if a date conflicts with existing FreeBusy Busy/Out Of Office events
obj_store | pointer to the public folder MAPI object | |
date | pointer to the date to check | |
conflict | pointer to the returned boolean value |
References GetFreeBusyYear(), GetUserFreeBusyData(), and mapi_object_get_session().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |