Functions for manipulating MAPI properties. More...
Functions | |
_PUBLIC_ struct mapi_SPropValue * | add_mapi_SPropValue (TALLOC_CTX *mem_ctx, struct mapi_SPropValue *lpProps, uint16_t *cValues, uint32_t aulPropTag, const void *data) |
_PUBLIC_ struct SPropValue * | add_SPropValue (TALLOC_CTX *mem_ctx, struct SPropValue *lpProps, uint32_t *cValues, enum MAPITAGS aulPropTag, const void *data) |
_PUBLIC_ uint32_t | cast_mapi_SPropValue (TALLOC_CTX *mem_ctx, struct mapi_SPropValue *mapi_sprop, struct SPropValue *sprop) |
_PUBLIC_ void | cast_PropertyRow_to_SRow (TALLOC_CTX *mem_ctx, struct PropertyRow_r *proprow, struct SRow *srow) |
_PUBLIC_ void | cast_PropertyRowSet_to_SRowSet (TALLOC_CTX *mem_ctx, struct PropertyRowSet_r *prowset, struct SRowSet *srowset) |
_PUBLIC_ void | cast_PropertyValue_to_SPropValue (struct PropertyValue_r *propvalue, struct SPropValue *spropvalue) |
_PUBLIC_ uint32_t | cast_SPropValue (TALLOC_CTX *mem_ctx, struct mapi_SPropValue *mapi_sprop, struct SPropValue *sprop) |
_PUBLIC_ const void * | find_mapi_SPropValue_data (struct mapi_SPropValue_array *properties, uint32_t mapitag) |
_PUBLIC_ const void * | find_PropertyValue_data (struct PropertyRow_r *aRow, uint32_t mapitag) |
_PUBLIC_ const void * | find_SPropValue_data (struct SRow *aRow, uint32_t mapitag) |
_PUBLIC_ struct AddressBookEntryId * | get_AddressBookEntryId (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ struct AppointmentRecurrencePattern * | get_AppointmentRecurrencePattern (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ struct FolderEntryId * | get_FolderEntryId (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ struct GlobalObjectId * | get_GlobalObjectId (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ uint32_t | get_mapi_property_size (struct mapi_SPropValue *lpProp) |
_PUBLIC_ enum MAPISTATUS | get_mapi_SPropValue_array_date_timeval (struct timeval *t, struct mapi_SPropValue_array *properties, uint32_t mapitag) |
_PUBLIC_ const void * | get_mapi_SPropValue_data (struct mapi_SPropValue *lpProp) |
_PUBLIC_ enum MAPISTATUS | get_mapi_SPropValue_date_timeval (struct timeval *t, struct SPropValue lpProp) |
enum MAPITAGS * | get_MAPITAGS_SRow (TALLOC_CTX *mem_ctx, struct SRow *aRow, uint32_t *actual_count) |
_PUBLIC_ struct MessageEntryId * | get_MessageEntryId (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ const void * | get_PropertyValue (struct PropertyValue_r *lpProps, enum MAPITAGS ulPropTag) |
_PUBLIC_ const void * | get_PropertyValue_data (struct PropertyValue_r *lpProps) |
struct PropertyValue_r * | get_PropertyValue_PropertyRow (struct PropertyRow_r *aRow, enum MAPITAGS ulPropTag) |
_PUBLIC_ struct PropertyValue_r * | get_PropertyValue_PropertyRowSet (struct PropertyRowSet_r *RowSet, enum MAPITAGS ulPropTag) |
_PUBLIC_ const void * | get_PropertyValue_PropertyRowSet_data (struct PropertyRowSet_r *RowSet, uint32_t ulPropTag) |
_PUBLIC_ struct PtypServerId * | get_PtypServerId (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ struct RecurrencePattern * | get_RecurrencePattern (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ const void * | get_SPropValue (struct SPropValue *lpProps, enum MAPITAGS ulPropTag) |
_PUBLIC_ const void * | get_SPropValue_data (struct SPropValue *lpProps) |
_PUBLIC_ struct SPropValue * | get_SPropValue_SRow (struct SRow *aRow, uint32_t ulPropTag) |
_PUBLIC_ const void * | get_SPropValue_SRow_data (struct SRow *aRow, uint32_t ulPropTag) |
_PUBLIC_ struct SPropValue * | get_SPropValue_SRowSet (struct SRowSet *RowSet, uint32_t ulPropTag) |
_PUBLIC_ const void * | get_SPropValue_SRowSet_data (struct SRowSet *RowSet, uint32_t ulPropTag) |
_PUBLIC_ struct TimeZoneStruct * | get_TimeZoneStruct (TALLOC_CTX *mem_ctx, struct Binary_r *bin) |
_PUBLIC_ const char * | get_TypedString (struct TypedString *tstring) |
size_t | get_utf8_utf16_conv_length (const char *inbuf) |
_PUBLIC_ void | mapi_copy_spropvalues (TALLOC_CTX *mem_ctx, struct SPropValue *source_values, struct SPropValue *dest_values, uint32_t count) |
_PUBLIC_ void | mapi_SPropValue_array_named (mapi_object_t *obj, struct mapi_SPropValue_array *props) |
uint32_t | MAPITAGS_delete_entries (enum MAPITAGS *mapitags, uint32_t final_count, uint32_t PropCount,...) |
_PUBLIC_ enum MAPISTATUS | PropertyRow_addprop (struct PropertyRow_r *aRow, struct PropertyValue_r propValue) |
_PUBLIC_ uint32_t | PropertyRowSet_propcpy (TALLOC_CTX *mem_ctx, struct PropertyRowSet_r *RowSet, struct PropertyValue_r value) |
_PUBLIC_ struct Binary_r * | set_AppointmentRecurrencePattern (TALLOC_CTX *mem_ctx, const struct AppointmentRecurrencePattern *arp) |
_PUBLIC_ size_t | set_AppointmentRecurrencePattern_size (const struct AppointmentRecurrencePattern *arp) |
_PUBLIC_ enum MAPISTATUS | set_default_error_SPropValue_SRow (struct SRow *aRow, enum MAPITAGS ulPropTag, void *data) |
_PUBLIC_ size_t | set_ExceptionInfo_size (const struct ExceptionInfo *exc_info) |
size_t | set_ExtendedException_size (uint32_t WriterVersion2, enum OverrideFlags flags, const struct ExtendedException *ext_exc) |
_PUBLIC_ bool | set_mapi_SPropValue (TALLOC_CTX *mem_ctx, struct mapi_SPropValue *lpProps, const void *data) |
_PUBLIC_ bool | set_mapi_SPropValue_proptag (TALLOC_CTX *mem_ctx, struct mapi_SPropValue *lpProps, uint32_t aulPropTag, const void *data) |
_PUBLIC_ bool | set_PropertyValue (struct PropertyValue_r *lpProp, const void *data) |
_PUBLIC_ struct Binary_r * | set_RecurrencePattern (TALLOC_CTX *mem_ctx, const struct RecurrencePattern *rp) |
_PUBLIC_ size_t | set_RecurrencePattern_size (const struct RecurrencePattern *rp) |
_PUBLIC_ struct SPropTagArray * | set_SPropTagArray (TALLOC_CTX *mem_ctx, uint32_t PropCount,...) |
_PUBLIC_ bool | set_SPropValue (struct SPropValue *lpProps, const void *data) |
_PUBLIC_ bool | set_SPropValue_proptag (struct SPropValue *lpProps, enum MAPITAGS aulPropTag, const void *data) |
_PUBLIC_ bool | set_SPropValue_proptag_date_timeval (struct SPropValue *lpProps, enum MAPITAGS aulPropTag, const struct timeval *t) |
_PUBLIC_ struct Binary_r * | set_TimeZoneDefinition (TALLOC_CTX *mem_ctx, const struct TimeZoneDefinition *TimeZoneDefinition) |
_PUBLIC_ struct Binary_r * | set_TimeZoneStruct (TALLOC_CTX *mem_ctx, const struct TimeZoneStruct *TimeZoneStruct) |
_PUBLIC_ enum MAPISTATUS | SPropTagArray_add (TALLOC_CTX *mem_ctx, struct SPropTagArray *SPropTagArray, enum MAPITAGS aulPropTag) |
_PUBLIC_ enum MAPISTATUS | SPropTagArray_delete (TALLOC_CTX *mem_ctx, struct SPropTagArray *SPropTagArray, uint32_t aulPropTag) |
_PUBLIC_ enum MAPISTATUS | SPropTagArray_find (struct SPropTagArray SPropTagArray, enum MAPITAGS aulPropTag, uint32_t *propIdx) |
_PUBLIC_ enum MAPISTATUS | SRow_addprop (struct SRow *aRow, struct SPropValue spropvalue) |
_PUBLIC_ uint32_t | SRowSet_propcpy (TALLOC_CTX *mem_ctx, struct SRowSet *SRowSet, struct SPropValue spropvalue) |
Functions for manipulating MAPI properties.
_PUBLIC_ struct mapi_SPropValue* add_mapi_SPropValue | ( | TALLOC_CTX * | mem_ctx, |
struct mapi_SPropValue * | lpProps, | ||
uint16_t * | cValues, | ||
uint32_t | aulPropTag, | ||
const void * | data | ||
) |
References set_mapi_SPropValue_proptag().
_PUBLIC_ struct SPropValue* add_SPropValue | ( | TALLOC_CTX * | mem_ctx, |
struct SPropValue * | lpProps, | ||
uint32_t * | cValues, | ||
enum MAPITAGS | aulPropTag, | ||
const void * | data | ||
) |
References set_SPropValue_proptag().
_PUBLIC_ uint32_t cast_mapi_SPropValue | ( | TALLOC_CTX * | mem_ctx, |
struct mapi_SPropValue * | mapi_sprop, | ||
struct SPropValue * | sprop | ||
) |
Convenience function to convert a SPropValue structure into a mapi_SPropValue structure and return the associated size.
mem_ctx | pointer to the memory context to use for allocation |
mapi_sprop | pointer to the MAPI SPropValue structure to copy data to |
sprop | pointer to the SPropValue structure to copy data from |
References get_utf8_utf16_conv_length(), PT_BINARY, PT_BOOLEAN, PT_CLSID, PT_DOUBLE, PT_ERROR, PT_I2, PT_I8, PT_LONG, PT_MV_BINARY, PT_MV_CLSID, PT_MV_LONG, PT_MV_STRING8, PT_MV_UNICODE, PT_STRING8, PT_SVREID, PT_SYSTIME, and PT_UNICODE.
Referenced by ModifyRecipients(), SetPropertiesNoReplicate(), and SetProps().
_PUBLIC_ void cast_PropertyRow_to_SRow | ( | TALLOC_CTX * | mem_ctx, |
struct PropertyRow_r * | proprow, | ||
struct SRow * | srow | ||
) |
Convenience function to convert a PropertyRow_r structure into a SRow structure.
mem_ctx | pointer to the allocation context for structure members |
proprow | pointer to the PropertyRow_r structure to copy data to |
srow | pointer to the SRow structure to copy data from |
References cast_PropertyValue_to_SPropValue().
Referenced by cast_PropertyRowSet_to_SRowSet().
_PUBLIC_ void cast_PropertyRowSet_to_SRowSet | ( | TALLOC_CTX * | mem_ctx, |
struct PropertyRowSet_r * | prowset, | ||
struct SRowSet * | srowset | ||
) |
Convenience function to convert a PropertyRowSet_r structure into a SRowSet structure.
mem_ctx | pointer to the allocation context for structure members |
prowset | pointer to the PropertyRowSet_r structure to copy data to |
setrowset | pointer to the SRowSet structure to copy data from |
References cast_PropertyRow_to_SRow().
_PUBLIC_ void cast_PropertyValue_to_SPropValue | ( | struct PropertyValue_r * | propvalue, |
struct SPropValue * | spropvalue | ||
) |
Convenience function to convert a PropertyValue_r structure into a SPropValue structure.
propvalue | pointer to the PropertyValue_r structure to copy data to |
spropvalue | pointer to the SPropValue structure to copy data from |
References PT_BINARY, PT_BOOLEAN, PT_CLSID, PT_ERROR, PT_I2, PT_LONG, PT_MV_BINARY, PT_MV_CLSID, PT_MV_LONG, PT_MV_STRING8, PT_MV_UNICODE, PT_STRING8, PT_SVREID, PT_SYSTIME, and PT_UNICODE.
Referenced by cast_PropertyRow_to_SRow().
_PUBLIC_ uint32_t cast_SPropValue | ( | TALLOC_CTX * | mem_ctx, |
struct mapi_SPropValue * | mapi_sprop, | ||
struct SPropValue * | sprop | ||
) |
Convenience function to convert a mapi_SPropValue structure into a SPropValue structure and return the associated size
mem_ctx | pointer to the memory context to use for allocation |
mapi_sprop | pointer to the MAPI SPropValue structure to copy data from |
sprop | pointer to the SPropValue structure to copy data to |
References get_utf8_utf16_conv_length(), PT_BINARY, PT_BOOLEAN, PT_CLSID, PT_DOUBLE, PT_ERROR, PT_I2, PT_I8, PT_LONG, PT_MV_BINARY, PT_MV_CLSID, PT_MV_LONG, PT_MV_STRING8, PT_MV_UNICODE, PT_STRING8, PT_SVREID, PT_SYSTIME, and PT_UNICODE.
_PUBLIC_ const void* find_mapi_SPropValue_data | ( | struct mapi_SPropValue_array * | properties, |
uint32_t | mapitag | ||
) |
References get_mapi_SPropValue_data().
Referenced by get_mapi_SPropValue_array_date_timeval(), mapidump_appointment(), mapidump_contact(), mapidump_date(), mapidump_message(), mapidump_note(), and mapidump_task().
_PUBLIC_ const void* find_PropertyValue_data | ( | struct PropertyRow_r * | aRow, |
uint32_t | mapitag | ||
) |
References get_PropertyValue_data().
Referenced by mapidump_PAB_entry(), ModifyUserPermission(), and RemoveUserPermission().
_PUBLIC_ const void* find_SPropValue_data | ( | struct SRow * | aRow, |
uint32_t | mapitag | ||
) |
References get_SPropValue_data().
Referenced by GetBestBody(), IsFreeBusyConflict(), mapidump_message_summary(), and ModifyRecipients().
_PUBLIC_ struct AddressBookEntryId* get_AddressBookEntryId | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) |
Retrieve a AddressBookEntryId structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with raw AddressBookEntryId data |
_PUBLIC_ struct AppointmentRecurrencePattern* get_AppointmentRecurrencePattern | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) |
_PUBLIC_ struct FolderEntryId* get_FolderEntryId | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) |
Retrieve a FolderEntryId structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with raw FolderEntryId data |
_PUBLIC_ struct GlobalObjectId* get_GlobalObjectId | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) |
Retrieve a GlobalObjectId structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with raw GlobalObjectId data |
_PUBLIC_ uint32_t get_mapi_property_size | ( | struct mapi_SPropValue * | lpProp) |
References get_utf8_utf16_conv_length(), PT_BINARY, PT_BOOLEAN, PT_DOUBLE, PT_ERROR, PT_I2, PT_I8, PT_LONG, PT_STRING8, PT_SYSTIME, and PT_UNICODE.
Referenced by get_mapi_SRestriction_size(), and ModifyPermissions().
_PUBLIC_ enum MAPISTATUS get_mapi_SPropValue_array_date_timeval | ( | struct timeval * | t, |
struct mapi_SPropValue_array * | properties, | ||
uint32_t | mapitag | ||
) |
References find_mapi_SPropValue_data().
_PUBLIC_ const void* get_mapi_SPropValue_data | ( | struct mapi_SPropValue * | lpProp) |
References PT_BINARY, PT_BOOLEAN, PT_DOUBLE, PT_ERROR, PT_I2, PT_I8, PT_LONG, PT_MV_BINARY, PT_MV_LONG, PT_MV_STRING8, PT_MV_UNICODE, PT_STRING8, PT_SYSTIME, and PT_UNICODE.
Referenced by find_mapi_SPropValue_data().
_PUBLIC_ enum MAPISTATUS get_mapi_SPropValue_date_timeval | ( | struct timeval * | t, |
struct SPropValue | lpProp | ||
) |
References get_SPropValue_data().
enum MAPITAGS* get_MAPITAGS_SRow | ( | TALLOC_CTX * | mem_ctx, |
struct SRow * | aRow, | ||
uint32_t * | actual_count | ||
) |
References PT_ERROR.
Referenced by ModifyRecipients().
_PUBLIC_ struct MessageEntryId* get_MessageEntryId | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) |
Retrieve a MessageEntryId structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with raw MessageEntryId data |
_PUBLIC_ const void* get_PropertyValue | ( | struct PropertyValue_r * | lpProps, |
enum MAPITAGS | ulPropTag | ||
) |
References get_PropertyValue_data().
Referenced by get_PropertyValue_PropertyRowSet_data().
_PUBLIC_ const void* get_PropertyValue_data | ( | struct PropertyValue_r * | lpProps) |
References PT_BINARY, PT_BOOLEAN, PT_CLSID, PT_ERROR, PT_LONG, PT_MV_BINARY, PT_MV_LONG, PT_MV_SHORT, PT_MV_STRING8, PT_MV_SYSTIME, PT_MV_UNICODE, PT_NULL, PT_SHORT, PT_STRING8, PT_SVREID, PT_SYSTIME, and PT_UNICODE.
Referenced by AddUserPermission(), find_PropertyValue_data(), get_PropertyValue(), and PropertyRow_addprop().
struct PropertyValue_r* get_PropertyValue_PropertyRow | ( | struct PropertyRow_r * | aRow, |
enum MAPITAGS | ulPropTag | ||
) |
_PUBLIC_ struct PropertyValue_r* get_PropertyValue_PropertyRowSet | ( | struct PropertyRowSet_r * | RowSet, |
enum MAPITAGS | ulPropTag | ||
) |
Referenced by get_PropertyValue_PropertyRowSet_data(), and ProcessNetworkProfile().
_PUBLIC_ const void* get_PropertyValue_PropertyRowSet_data | ( | struct PropertyRowSet_r * | RowSet, |
uint32_t | ulPropTag | ||
) |
References get_PropertyValue(), and get_PropertyValue_PropertyRowSet().
Referenced by GetABRecipientInfo(), and GetUserFreeBusyData().
_PUBLIC_ struct PtypServerId* get_PtypServerId | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) |
Retrieve a PtypServerId structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with raw PtypServerId data |
_PUBLIC_ struct RecurrencePattern* get_RecurrencePattern | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) |
Retrieve a RecurrencePattern structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with non-mapped reccurrence data |
_PUBLIC_ const void* get_SPropValue | ( | struct SPropValue * | lpProps, |
enum MAPITAGS | ulPropTag | ||
) |
References get_SPropValue_data().
Referenced by EntryIDFromSourceIDForMessage(), get_SPropValue_SRow_data(), and get_SPropValue_SRowSet_data().
_PUBLIC_ const void* get_SPropValue_data | ( | struct SPropValue * | lpProps) |
References PT_BINARY, PT_BOOLEAN, PT_CLSID, PT_DOUBLE, PT_ERROR, PT_I8, PT_LONG, PT_MV_BINARY, PT_MV_LONG, PT_MV_SHORT, PT_MV_STRING8, PT_MV_SYSTIME, PT_MV_UNICODE, PT_NULL, PT_OBJECT, PT_SHORT, PT_STRING8, PT_SVREID, PT_SYSTIME, and PT_UNICODE.
Referenced by find_SPropValue_data(), get_mapi_SPropValue_date_timeval(), get_SPropValue(), mapidump_date_SPropValue(), mapidump_SPropValue(), and SRow_addprop().
_PUBLIC_ struct SPropValue* get_SPropValue_SRow | ( | struct SRow * | aRow, |
uint32_t | ulPropTag | ||
) |
_PUBLIC_ const void* get_SPropValue_SRow_data | ( | struct SRow * | aRow, |
uint32_t | ulPropTag | ||
) |
References get_SPropValue(), and get_SPropValue_SRow().
_PUBLIC_ struct SPropValue* get_SPropValue_SRowSet | ( | struct SRowSet * | RowSet, |
uint32_t | ulPropTag | ||
) |
Referenced by get_SPropValue_SRowSet_data().
_PUBLIC_ const void* get_SPropValue_SRowSet_data | ( | struct SRowSet * | RowSet, |
uint32_t | ulPropTag | ||
) |
References get_SPropValue(), and get_SPropValue_SRowSet().
Referenced by GetUserFreeBusyData().
_PUBLIC_ struct TimeZoneStruct* get_TimeZoneStruct | ( | TALLOC_CTX * | mem_ctx, |
struct Binary_r * | bin | ||
) |
Retrieve a TimeZoneStruct structure from a binary blob
mem_ctx | pointer to the memory context |
bin | pointer to the Binary_r structure with raw TimeZoneStruct data |
_PUBLIC_ const char* get_TypedString | ( | struct TypedString * | tstring) |
Return the effective value used in a TypedString structure.
tstring | pointer to TypedString structure |
Referenced by OpenMessage().
size_t get_utf8_utf16_conv_length | ( | const char * | inbuf) |
Return the expected size of the utf8 string after conversion to utf16 by iconv() function.
inbuf | pointer to the input string |
Referenced by cast_mapi_SPropValue(), cast_SPropValue(), CopyFolder(), CreateFolder(), get_mapi_property_size(), GetIDsFromNames(), mapi_nameid_canonical_add(), mapi_nameid_custom_string_add(), mapi_nameid_lid_add(), mapi_nameid_OOM_add(), mapi_nameid_string_add(), ModifyRecipients(), and MoveFolder().
_PUBLIC_ void mapi_copy_spropvalues | ( | TALLOC_CTX * | mem_ctx, |
struct SPropValue * | source_values, | ||
struct SPropValue * | dest_values, | ||
uint32_t | count | ||
) |
Convenience function to copy an array of struct SPropValue or a part thereof into another array, by duplicating and properly parenting pointer data. The destination array is considered to be preallocated.
References MV_FLAG, PT_BINARY, PT_STRING8, and PT_UNICODE.
_PUBLIC_ void mapi_SPropValue_array_named | ( | mapi_object_t * | obj, |
struct mapi_SPropValue_array * | props | ||
) |
References GetNamesFromIDs(), mapi_object_get_session(), and PT_NULL.
uint32_t MAPITAGS_delete_entries | ( | enum MAPITAGS * | mapitags, |
uint32_t | final_count, | ||
uint32_t | PropCount, | ||
... | |||
) |
Referenced by ModifyRecipients().
_PUBLIC_ enum MAPISTATUS PropertyRow_addprop | ( | struct PropertyRow_r * | aRow, |
struct PropertyValue_r | propValue | ||
) |
add a PropertyValue_r structure to a PropertyRow_r array
aRow | pointer to the PropertyRow_r array where propValue should be appended |
propValue | the PropertyValue_r structure to add to aRow |
References get_PropertyValue_data(), OPENCHANGE_RETVAL_IF, and set_PropertyValue().
_PUBLIC_ uint32_t PropertyRowSet_propcpy | ( | TALLOC_CTX * | mem_ctx, |
struct PropertyRowSet_r * | RowSet, | ||
struct PropertyValue_r | value | ||
) |
Append a PropertyValue_r structure to given PropertyRowSet_r
mem_ctx | pointer to the memory context |
RowSet | pointer to the PropertyRowSet_r array to update |
value | the PropertyValue_r to append within SRowSet |
References set_PropertyValue().
_PUBLIC_ struct Binary_r* set_AppointmentRecurrencePattern | ( | TALLOC_CTX * | mem_ctx, |
const struct AppointmentRecurrencePattern * | arp | ||
) |
_PUBLIC_ size_t set_AppointmentRecurrencePattern_size | ( | const struct AppointmentRecurrencePattern * | arp) |
_PUBLIC_ enum MAPISTATUS set_default_error_SPropValue_SRow | ( | struct SRow * | aRow, |
enum MAPITAGS | ulPropTag, | ||
void * | data | ||
) |
References set_SPropValue_proptag().
_PUBLIC_ size_t set_ExceptionInfo_size | ( | const struct ExceptionInfo * | exc_info) |
References SIZE_DFLT_EXCEPTIONINFO.
Referenced by set_AppointmentRecurrencePattern_size().
size_t set_ExtendedException_size | ( | uint32_t | WriterVersion2, |
enum OverrideFlags | flags, | ||
const struct ExtendedException * | ext_exc | ||
) |
References SIZE_DFLT_EXTENDEDEXCEPTION.
Referenced by set_AppointmentRecurrencePattern_size().
_PUBLIC_ bool set_mapi_SPropValue | ( | TALLOC_CTX * | mem_ctx, |
struct mapi_SPropValue * | lpProps, | ||
const void * | data | ||
) |
References PT_BINARY, PT_BOOLEAN, PT_CLSID, PT_DOUBLE, PT_ERROR, PT_I8, PT_LONG, PT_MV_BINARY, PT_MV_CLSID, PT_MV_LONG, PT_MV_STRING8, PT_MV_UNICODE, PT_SHORT, PT_STRING8, PT_SYSTIME, and PT_UNICODE.
Referenced by AddUserPermission(), and set_mapi_SPropValue_proptag().
_PUBLIC_ bool set_mapi_SPropValue_proptag | ( | TALLOC_CTX * | mem_ctx, |
struct mapi_SPropValue * | lpProps, | ||
uint32_t | aulPropTag, | ||
const void * | data | ||
) |
References set_mapi_SPropValue().
Referenced by add_mapi_SPropValue().
_PUBLIC_ bool set_PropertyValue | ( | struct PropertyValue_r * | lpProp, |
const void * | data | ||
) |
References PT_BINARY, PT_BOOLEAN, PT_CLSID, PT_ERROR, PT_LONG, PT_MV_BINARY, PT_MV_CLSID, PT_MV_LONG, PT_MV_SHORT, PT_MV_STRING8, PT_MV_SYSTIME, PT_MV_UNICODE, PT_NULL, PT_SHORT, PT_STRING8, PT_SVREID, PT_SYSTIME, and PT_UNICODE.
Referenced by PropertyRow_addprop(), and PropertyRowSet_propcpy().
_PUBLIC_ struct Binary_r* set_RecurrencePattern | ( | TALLOC_CTX * | mem_ctx, |
const struct RecurrencePattern * | rp | ||
) |
References set_RecurrencePattern_size().
_PUBLIC_ size_t set_RecurrencePattern_size | ( | const struct RecurrencePattern * | rp) |
References SIZE_DFLT_RECURRENCEPATTERN.
Referenced by set_AppointmentRecurrencePattern_size(), and set_RecurrencePattern().
_PUBLIC_ struct SPropTagArray* set_SPropTagArray | ( | TALLOC_CTX * | mem_ctx, |
uint32_t | PropCount, | ||
... | |||
) |
Create a property tag array
mem_ctx | talloc memory context to use for allocation |
PropCount | the number of properties in the array |
The varargs (the third and subsequent arguments) are the property tags to make up the array. So the normal way to use this to create an array of two tags is like:
Referenced by AddUserPermission(), DuplicateProfile(), EntryIDFromSourceIDForMessage(), GetABRecipientInfo(), GetBestBody(), GetFolderItemsCount(), GetUserFreeBusyData(), ModifyUserPermission(), ProcessNetworkProfile(), and RemoveUserPermission().
_PUBLIC_ bool set_SPropValue | ( | struct SPropValue * | lpProps, |
const void * | data | ||
) |
References PT_BINARY, PT_BOOLEAN, PT_CLSID, PT_DOUBLE, PT_ERROR, PT_I8, PT_LONG, PT_MV_BINARY, PT_MV_CLSID, PT_MV_LONG, PT_MV_SHORT, PT_MV_STRING8, PT_MV_SYSTIME, PT_MV_UNICODE, PT_NULL, PT_OBJECT, PT_SHORT, PT_STRING8, PT_SVREID, PT_SYSTIME, and PT_UNICODE.
Referenced by emsmdb_get_SPropValue(), emsmdb_get_SRow(), emsmdb_get_SRowSet(), set_SPropValue_proptag(), SRow_addprop(), and SRowSet_propcpy().
_PUBLIC_ bool set_SPropValue_proptag | ( | struct SPropValue * | lpProps, |
enum MAPITAGS | aulPropTag, | ||
const void * | data | ||
) |
References set_SPropValue().
Referenced by add_SPropValue(), set_default_error_SPropValue_SRow(), and set_SPropValue_proptag_date_timeval().
_PUBLIC_ bool set_SPropValue_proptag_date_timeval | ( | struct SPropValue * | lpProps, |
enum MAPITAGS | aulPropTag, | ||
const struct timeval * | t | ||
) |
References set_SPropValue_proptag().
_PUBLIC_ struct Binary_r* set_TimeZoneDefinition | ( | TALLOC_CTX * | mem_ctx, |
const struct TimeZoneDefinition * | TimeZoneDefinition | ||
) |
_PUBLIC_ struct Binary_r* set_TimeZoneStruct | ( | TALLOC_CTX * | mem_ctx, |
const struct TimeZoneStruct * | TimeZoneStruct | ||
) |
_PUBLIC_ enum MAPISTATUS SPropTagArray_add | ( | TALLOC_CTX * | mem_ctx, |
struct SPropTagArray * | SPropTagArray, | ||
enum MAPITAGS | aulPropTag | ||
) |
Add a property tag to an existing properties array
mem_ctx | talloc memory context to use for allocation |
SPropTagArray | existing properties array to add to |
aulPropTag | the property tag to add |
References OPENCHANGE_RETVAL_IF.
Referenced by OpenEmbeddedMessage(), OpenMessage(), and ReloadCachedInformation().
_PUBLIC_ enum MAPISTATUS SPropTagArray_delete | ( | TALLOC_CTX * | mem_ctx, |
struct SPropTagArray * | SPropTagArray, | ||
uint32_t | aulPropTag | ||
) |
Delete a property tag from an existing properties array
mem_ctx | talloc memory context to use for allocation |
SPropTagArray | existing properties array to remove from |
aulPropTag | the property tag to remove |
References OPENCHANGE_RETVAL_IF.
_PUBLIC_ enum MAPISTATUS SPropTagArray_find | ( | struct SPropTagArray SPropTagArray | , |
enum MAPITAGS | aulPropTag, | ||
uint32_t * | propIdx | ||
) |
Return the index of a property tag in an existing properties array
SPropTagArray | existing properties array to remove from |
aulPropTag | the property tag to find |
propIdx | the index of the found property (undefined when MAPI_E_NOT_FOUND is returned) |
References OPENCHANGE_RETVAL_IF.
_PUBLIC_ enum MAPISTATUS SRow_addprop | ( | struct SRow * | aRow, |
struct SPropValue | spropvalue | ||
) |
add a SPropValue structure to a SRow array
aRow | pointer to the SRow array where spropvalue should be appended |
spropvalue | reference to the SPropValue structure to add to aRow |
References get_SPropValue_data(), OPENCHANGE_RETVAL_IF, and set_SPropValue().
Referenced by OpenEmbeddedMessage(), OpenMessage(), ReloadCachedInformation(), and SetRecipientType().
_PUBLIC_ uint32_t SRowSet_propcpy | ( | TALLOC_CTX * | mem_ctx, |
struct SRowSet * | SRowSet, | ||
struct SPropValue | spropvalue | ||
) |
Append a SPropValue structure to given SRowSet
mem_ctx | pointer to the memory context |
SRowSet | pointer to the SRowSet array to update |
spropvalue | the SPropValue to append within SRowSet |
References set_SPropValue().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |