Functions for displaying various data structures, mainly for debugging. More...
#include "libmapi/libmapi.h"
#include "libmapi/libmapi_private.h"
Functions | |
_PUBLIC_ void | mapidump_appointment (struct mapi_SPropValue_array *properties, const char *id) |
_PUBLIC_ void | mapidump_contact (struct mapi_SPropValue_array *properties, const char *id) |
_PUBLIC_ void | mapidump_date_SPropValue (struct SPropValue lpProp, const char *label, const char *sep) |
_PUBLIC_ void | mapidump_languages_list (void) |
_PUBLIC_ void | mapidump_message (struct mapi_SPropValue_array *properties, const char *id, mapi_object_t *obj_msg) |
_PUBLIC_ void | mapidump_message_summary (mapi_object_t *obj_message) |
_PUBLIC_ void | mapidump_note (struct mapi_SPropValue_array *properties, const char *id) |
_PUBLIC_ void | mapidump_PAB_entry (struct PropertyRow_r *aRow) |
Output a row of the public address book. More... | |
_PUBLIC_ void | mapidump_SPropValue (struct SPropValue lpProp, const char *sep) |
Output one property tag and value. More... | |
_PUBLIC_ void | mapidump_task (struct mapi_SPropValue_array *properties, const char *id) |
Functions for displaying various data structures, mainly for debugging.
_PUBLIC_ void mapidump_appointment | ( | struct mapi_SPropValue_array * | properties, |
const char * | id | ||
) |
This function dumps the properties relating to an appointment to standard output
The expected way to obtain the properties array is to use OpenMessage() to obtain the appointment object, then to use GetPropsAll() to obtain all the properties.
properties | array of appointment properties |
id | identification to display for the appointment (can be NULL) |
_PUBLIC_ void mapidump_contact | ( | struct mapi_SPropValue_array * | properties, |
const char * | id | ||
) |
This function dumps the properties relating to a contact (address book entry) to standard output
The expected way to obtain the properties array is to use OpenMessage() to obtain the contact object, then to use GetPropsAll() to obtain all the properties.
properties | array of contact properties |
id | identification to display for the contact (can be NULL) |
_PUBLIC_ void mapidump_date_SPropValue | ( | struct SPropValue | lpProp, |
const char * | label, | ||
const char * | sep | ||
) |
This function dumps a property containing a date / time to standard output
If the property does not contain a PT_SYSTIME type value, then no output will occur.
lpProp | the property to dump |
label | the label to display prior to the time (e.g. the property tag) |
sep | a separator / spacer to insert in front of the label |
Referenced by mapidump_SPropValue().
_PUBLIC_ void mapidump_languages_list | ( | void | ) |
print the list of languages OpenChange supports
_PUBLIC_ void mapidump_message | ( | struct mapi_SPropValue_array * | properties, |
const char * | id, | ||
mapi_object_t * | obj_msg | ||
) |
This function dumps the properties relating to an email message to standard output
The expected way to obtain the properties array is to use OpenMessage() to obtain the message object, then to use GetPropsAll() to obtain all the properties.
properties | array of message properties |
id | identification to display for the message (can be NULL) |
obj_msg | pointer to the message MAPI object (can be NULL) |
References mapidump_message_summary().
_PUBLIC_ void mapidump_message_summary | ( | mapi_object_t * | obj_message | ) |
This function dumps message information retrieved from OpenMessage call. It provides a quick method to print message summaries with information such as subject and recipients.
obj_message | pointer to the MAPI message object to use |
Referenced by mapidump_message().
_PUBLIC_ void mapidump_note | ( | struct mapi_SPropValue_array * | properties, |
const char * | id | ||
) |
This function dumps the properties relating to a note to standard output
The expected way to obtain the properties array is to use OpenMessage() to obtain the note object, then to use GetPropsAll() to obtain all the properties.
properties | array of note properties |
id | identification to display for the note (can be NULL) |
_PUBLIC_ void mapidump_PAB_entry | ( | struct PropertyRow_r * | aRow | ) |
Output a row of the public address book.
aRow | one row of the public address book (Global Address List) |
This function is usually used with GetGALTable, which can obtain several rows at once - you'll need to iterate over the rows.
The SRow is assumed to contain entries for PR_ADDRTYPE_UNICODE, PR_DISPLAY_NAME_UNICODE, PR_EMAIL_ADDRESS_UNICODE and PR_ACCOUNT_UNICODE.
_PUBLIC_ void mapidump_SPropValue | ( | struct SPropValue | lpProp, |
const char * | sep | ||
) |
Output one property tag and value.
lpProp | the property to print |
sep | a separator / spacer to insert in front of the label |
References mapidump_date_SPropValue().
_PUBLIC_ void mapidump_task | ( | struct mapi_SPropValue_array * | properties, |
const char * | id | ||
) |
This function dumps the properties relating to a task (to-do list entry) to standard output
The expected way to obtain the properties array is to use OpenMessage() to obtain the task object, then to use GetPropsAll() to obtain all the properties.
properties | array of task properties |
id | identification to display for the task (can be NULL) |
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |