OXCPRPT ROP Response size calculations. More...
Functions | |
_PUBLIC_ int | libmapiserver_push_property (TALLOC_CTX *mem_ctx, uint32_t property, const void *value, DATA_BLOB *blob, uint8_t layout, uint8_t flagged, uint8_t untyped) |
_PUBLIC_ struct SRow * | libmapiserver_ROP_request_to_properties (TALLOC_CTX *mem_ctx, void *request, uint8_t opnum) |
_PUBLIC_ uint16_t | libmapiserver_RopCommitStream_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopCopyTo_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopDeleteProperties_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopDeletePropertiesNoReplicate_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopGetNamesFromIDs_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopGetPropertiesAll_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopGetPropertiesList_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopGetPropertiesSpecific_size (struct EcDoRpc_MAPI_REQ *request, struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopGetPropertyIdsFromNames_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopGetStreamSize_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopOpenStream_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopReadStream_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopSeekStream_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopSetProperties_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopSetStreamSize_size (struct EcDoRpc_MAPI_REPL *response) |
_PUBLIC_ uint16_t | libmapiserver_RopWriteStream_size (struct EcDoRpc_MAPI_REPL *response) |
OXCPRPT ROP Response size calculations.
_PUBLIC_ int libmapiserver_push_property | ( | TALLOC_CTX * | mem_ctx, |
uint32_t | property, | ||
const void * | value, | ||
DATA_BLOB * | blob, | ||
uint8_t | layout, | ||
uint8_t | flagged, | ||
uint8_t | untyped | ||
) |
Add a property value to a DATA blob. This convenient function should be used when creating a GetPropertiesSpecific reply response blob.
mem_ctx | pointer to the memory context |
property | the property tag which value is meant to be appended to the blob |
value | generic pointer on the property value |
blob | the data blob the function uses to return the blob |
layout | whether values should be prefixed by a layout |
flagged | define if the properties are flagged or not |
Referenced by EcDoRpc_RopFindRow(), emsmdbp_fill_row_blob(), emsmdbp_fill_table_row_blob(), emsmdbp_resolve_recipient(), and oxcmsg_fill_RecipientRow_data().
_PUBLIC_ struct SRow* libmapiserver_ROP_request_to_properties | ( | TALLOC_CTX * | mem_ctx, |
void * | request, | ||
uint8_t | opnum | ||
) |
Turn request parameters to SPropValue array. This convenient function should be used among MAPI ROPs that have parameters which can be turned to MAPI properties and are stored within backends.
mem_ctx | pointer to the memory context |
request | generic pointer to the ROP request |
opnum | MAPI opnum identifying ROP contents |
Referenced by EcDoRpc_RopCreateFolder().
_PUBLIC_ uint16_t libmapiserver_RopCommitStream_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate CommitStream Rop size
response | pointer to the CommitStream EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE.
Referenced by EcDoRpc_RopCommitStream().
_PUBLIC_ uint16_t libmapiserver_RopCopyTo_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate CopyTo Rop size
response | pointer to the CopyTo EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPCOPYTO.
Referenced by EcDoRpc_RopCopyTo().
_PUBLIC_ uint16_t libmapiserver_RopDeleteProperties_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate SetProperties Rop size
response | pointer to the SetProperties EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPDELETEPROPERTIES.
Referenced by EcDoRpc_RopDeleteProperties().
_PUBLIC_ uint16_t libmapiserver_RopDeletePropertiesNoReplicate_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate DeletePropertiesNoReplicate Rop size
response | pointer to the DeletePropertiesNoReplicate EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPDELETEPROPERTIESNOREPLICATE.
Referenced by EcDoRpc_RopDeletePropertiesNoReplicate().
_PUBLIC_ uint16_t libmapiserver_RopGetNamesFromIDs_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate GetNamesFromIDs Rop size
response | pointer to the GetNamesFromIDs EcDoRpc_MAPI_REPL structure |
References libmapiserver_PropertyName_size(), SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPGETNAMESFROMIDS.
Referenced by EcDoRpc_RopGetNamesFromIDs().
_PUBLIC_ uint16_t libmapiserver_RopGetPropertiesAll_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate GetPropertiesAll Rop size
request | pointer to the GetPropertiesAll EcDoRpc_MAPI_REPL structure |
References libmapiserver_mapi_SPropValue_size(), SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPGETPROPERTIESALL.
Referenced by EcDoRpc_RopGetPropertiesAll().
_PUBLIC_ uint16_t libmapiserver_RopGetPropertiesList_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate GetPropertiesList Rop size
request | pointer to the GetPropertiesList EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPGETPROPERTIESLIST.
Referenced by EcDoRpc_RopGetPropertiesList().
_PUBLIC_ uint16_t libmapiserver_RopGetPropertiesSpecific_size | ( | struct EcDoRpc_MAPI_REQ * | request, |
struct EcDoRpc_MAPI_REPL * | response | ||
) |
Calculate GetPropertiesSpecific Rop size
request | pointer to the GetPropertiesSpecific EcDoRpc_MAPI_REQ structure |
response | pointer to the GetPropertiesSpecific EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPGETPROPERTIESSPECIFIC.
Referenced by EcDoRpc_RopGetPropertiesSpecific().
_PUBLIC_ uint16_t libmapiserver_RopGetPropertyIdsFromNames_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate GetPropertyIdsFromNames Rop size
response | pointer to the GetPropertyIdsFromNames EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPGETPROPERTYIDSFROMNAMES.
Referenced by EcDoRpc_RopGetPropertyIdsFromNames().
_PUBLIC_ uint16_t libmapiserver_RopGetStreamSize_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate GetStreamSize Rop size
response | pointer to the GetStreamSize EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPGETSTREAMSIZE.
Referenced by EcDoRpc_RopGetStreamSize().
_PUBLIC_ uint16_t libmapiserver_RopOpenStream_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate OpenStream Rop size
response | pointer to the OpenStream EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPOPENSTREAM.
Referenced by EcDoRpc_RopOpenStream().
_PUBLIC_ uint16_t libmapiserver_RopReadStream_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate ReadStream Rop size
response | pointer to the ReadStream EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPREADSTREAM.
Referenced by EcDoRpc_RopReadStream().
_PUBLIC_ uint16_t libmapiserver_RopSeekStream_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate SeekStream Rop size
response | pointer to the SeekStream EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPSEEKSTREAM.
Referenced by EcDoRpc_RopSeekStream().
_PUBLIC_ uint16_t libmapiserver_RopSetProperties_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate SetProperties Rop size
response | pointer to the SetProperties EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPSETPROPERTIES.
Referenced by EcDoRpc_RopSetProperties().
_PUBLIC_ uint16_t libmapiserver_RopSetStreamSize_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate SetStreamSize Rop size
response | pointer to the SetStreamSize EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE.
Referenced by EcDoRpc_RopSetStreamSize().
_PUBLIC_ uint16_t libmapiserver_RopWriteStream_size | ( | struct EcDoRpc_MAPI_REPL * | response) |
Calculate WriteStream Rop size
response | pointer to the WriteStream EcDoRpc_MAPI_REPL structure |
References SIZE_DFLT_MAPI_RESPONSE, and SIZE_DFLT_ROPWRITESTREAM.
Referenced by EcDoRpc_RopWriteStream().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |