Property and Stream Object Protocol test suite. More...
Macros | |
#define | NAMEDPROP_IDNUM 0xDB |
#define | NAMEDPROP_NAME "mapitest_namedprop" |
Functions | |
bool | mapitest_oxcprpt_CopyProps (struct mapitest *mt) |
bool | mapitest_oxcprpt_CopyTo (struct mapitest *mt) |
bool | mapitest_oxcprpt_CopyToStream (struct mapitest *mt) |
bool | mapitest_oxcprpt_DeleteProps (struct mapitest *mt) |
bool | mapitest_oxcprpt_GetPropList (struct mapitest *mt) |
bool | mapitest_oxcprpt_GetProps (struct mapitest *mt) |
bool | mapitest_oxcprpt_GetPropsAll (struct mapitest *mt) |
bool | mapitest_oxcprpt_NameId (struct mapitest *mt) |
bool | mapitest_oxcprpt_NameId_PSMAPI (struct mapitest *mt) |
bool | mapitest_oxcprpt_NoReplicate (struct mapitest *mt) |
bool | mapitest_oxcprpt_SetProps (struct mapitest *mt) |
bool | mapitest_oxcprpt_Stream (struct mapitest *mt) |
bool | mapitest_oxcprpt_WriteAndCommitStream (struct mapitest *mt) |
Property and Stream Object Protocol test suite.
#define NAMEDPROP_IDNUM 0xDB |
Referenced by mapitest_oxcprpt_NameId().
#define NAMEDPROP_NAME "mapitest_namedprop" |
Referenced by mapitest_oxcprpt_NameId().
bool mapitest_oxcprpt_CopyProps | ( | struct mapitest * | mt) |
Test the CopyProps (0x67) operation
This function:
mt | pointer to the top-level mapitest structure |
References mapitest::info, mapitest_common_message_create(), mapitest_print(), mapitest_print_retval_step(), mapitest_print_retval_step_fmt(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_CopyTo | ( | struct mapitest * | mt) |
Test the CopyTo (0x39) operation
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_common_message_create(), mapitest_print(), mapitest_print_retval(), mapitest_print_retval_clean(), mapitest_print_retval_fmt(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_CopyToStream | ( | struct mapitest * | mt) |
Test the CopyToStream (0x3a) operation
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_common_genblob(), mapitest_common_message_create(), mapitest_print(), mapitest_print_retval(), mapitest_print_retval_fmt(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_DeleteProps | ( | struct mapitest * | mt) |
Test the DeleteProps (0xb) operation)
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_common_message_create(), mapitest_print(), mapitest_print_retval_step(), mapitest_print_retval_step_fmt(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_GetPropList | ( | struct mapitest * | mt) |
Test the GetPropList (0x9) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_print_retval(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_GetProps | ( | struct mapitest * | mt) |
Test the GetProps (0x7) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_print_retval(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_GetPropsAll | ( | struct mapitest * | mt) |
Test the GetPropsAll (0x8) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_print_retval(), and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_NameId | ( | struct mapitest * | mt) |
Test the GetPropertyIdsFromNames (0x56), GetNamesFromPropertyIds (0x55) and QueryNamesFromIDs (0x5f) operations
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_common_message_create(), mapitest_print(), mapitest_print_retval(), mapitest_print_retval_fmt(), mapitest::mem_ctx, NAMEDPROP_IDNUM, NAMEDPROP_NAME, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_NameId_PSMAPI | ( | struct mapitest * | mt) |
Test the GetPropertyIdsFromNames (0x56) and GetNamesFromPropertyIds (0x55) operations for the special case of the PS_MAPI namespace
This function:
Refer to MS-OXPROPS for the list of properties
mt | pointer to the top-level mapitest structure |
References mapitest_print(), mapitest_print_retval_clean(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_NoReplicate | ( | struct mapitest * | mt) |
Test the SetPropertiesNoReplicate (0x79) and DeletePropertiesNoReplicate (0x7a) operations
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_print(), mapitest_print_retval_step(), mapitest_print_retval_step_fmt(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_SetProps | ( | struct mapitest * | mt) |
Test the SetProps (0xa) operation
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_print(), mapitest_print_retval_step_fmt(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_Stream | ( | struct mapitest * | mt) |
Test Stream operations. This test uses related stream operations: OpenStream (0x2b), SetStreamSize (0x2f), WriteStream (0x2d), CommitStream (0x5d), ReadStream (0x2c), SeekStream (0x2e), LockRegionStream (0x5b), UnlockRegionStream (0x5c), CloneStream (0x3b)
This function:
mt | pointer to the top-level mapitest structure |
References mapitest::info, mapitest_common_genblob(), mapitest_common_message_create(), mapitest_print(), mapitest_print_retval(), mapitest_print_retval_fmt(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
bool mapitest_oxcprpt_WriteAndCommitStream | ( | struct mapitest * | mt) |
Test WriteAndCommitStream (0x90) operation.
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_common_genblob(), mapitest_common_message_create(), mapitest_print(), mapitest_print_retval(), mapitest_print_retval_clean(), mapitest_print_retval_fmt_clean(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcprpt_init().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |