Message and Attachment object routines and Rops. More...
#include "mapiproxy/dcesrv_mapiproxy.h"
#include "mapiproxy/libmapiproxy/libmapiproxy.h"
#include "mapiproxy/libmapiserver/libmapiserver.h"
#include "dcesrv_exchange_emsmdb.h"
Functions | |
_PUBLIC_ enum MAPISTATUS | EcDoRpc_RopCreateMessage (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size) |
_PUBLIC_ enum MAPISTATUS | EcDoRpc_RopGetAttachmentTable (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size) |
_PUBLIC_ enum MAPISTATUS | EcDoRpc_RopModifyRecipients (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size) |
_PUBLIC_ enum MAPISTATUS | EcDoRpc_RopOpenMessage (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size) |
_PUBLIC_ enum MAPISTATUS | EcDoRpc_RopReloadCachedInformation (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size) |
_PUBLIC_ enum MAPISTATUS | EcDoRpc_RopSaveChangesMessage (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size) |
_PUBLIC_ enum MAPISTATUS | EcDoRpc_RopSetMessageReadFlag (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size) |
Message and Attachment object routines and Rops.
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopCreateMessage | ( | TALLOC_CTX * | mem_ctx, |
struct emsmdbp_context * | emsmdbp_ctx, | ||
struct EcDoRpc_MAPI_REQ * | mapi_req, | ||
struct EcDoRpc_MAPI_REPL * | mapi_repl, | ||
uint32_t * | handles, | ||
uint16_t * | size | ||
) |
EcDoRpc CreateMessage (0x06) Rop. This operation creates a message object in the mailbox.
mem_ctx | pointer to the memory context |
emsmdbp_ctx | pointer to the emsmdb provider context |
mapi_req | pointer to the CreateMessage EcDoRpc_MAPI_REQ structure |
mapi_repl | pointer to the CreateMessage EcDoRpc_MAPI_REPL structure |
handles | pointer to the MAPI handles array |
size | pointer to the mapi_response size to update |
References mapi_handles::parent_handle, mapi_handles_search(), emsmdbp_context::handles_ctx, mapi_handles_get_private_data(), emsmdbp_object_get_folder_handle_by_fid(), emsmdbp_get_contextID(), emsmdbp_is_mapistore(), openchangedb_get_new_folderID(), emsmdbp_context::oc_ctx, emsmdbp_context::mstore_ctx, mapi_handles_add(), mapi_handles::handle, emsmdbp_object_message_init(), mapi_handles_set_private_data(), and libmapiserver_RopCreateMessage_size().
Referenced by EcDoRpc_process_transaction().
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetAttachmentTable | ( | TALLOC_CTX * | mem_ctx, |
struct emsmdbp_context * | emsmdbp_ctx, | ||
struct EcDoRpc_MAPI_REQ * | mapi_req, | ||
struct EcDoRpc_MAPI_REPL * | mapi_repl, | ||
uint32_t * | handles, | ||
uint16_t * | size | ||
) |
EcDoRpc GetAttachmentTable (0x21) Rop. This operation gets the attachment table of a message.
mem_ctx | pointer to the memory context |
emsmdbp_ctx | pointer to the emsmdb provider context |
mapi_req | pointer to the GetAttachmentTable EcDoRpc_MAPI_REQ structure |
mapi_repl | pointer to the GetAttachmentTable EcDoRpc_MAPI_REPL structure |
handles | pointer to the MAPI handles array |
size | pointer to the mapi_response size to update |
References mapi_handles::handle, libmapiserver_RopGetAttachmentTable_size(), mapi_handles_add(), and emsmdbp_context::handles_ctx.
Referenced by EcDoRpc_process_transaction().
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopModifyRecipients | ( | TALLOC_CTX * | mem_ctx, |
struct emsmdbp_context * | emsmdbp_ctx, | ||
struct EcDoRpc_MAPI_REQ * | mapi_req, | ||
struct EcDoRpc_MAPI_REPL * | mapi_repl, | ||
uint32_t * | handles, | ||
uint16_t * | size | ||
) |
EcDoRpc ModifyRecipients (0x0e) Rop. This operation modifies an existing message to add recipients (TO, CC, BCC).
mem_ctx | pointer to the memory context |
emsmdbp_ctx | pointer to the emsmdb provider context |
mapi_req | pointer to the ModifyRecipients EcDoRpc_MAPI_REQ structure |
mapi_repl | pointer to the ModifyRecipients EcDoRpc_MAPI_REPL structure |
handles | pointer to the MAPI handles array |
size | pointer to the mapi_response size to update |
References libmapiserver_RopModifyRecipients_size().
Referenced by EcDoRpc_process_transaction().
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOpenMessage | ( | TALLOC_CTX * | mem_ctx, |
struct emsmdbp_context * | emsmdbp_ctx, | ||
struct EcDoRpc_MAPI_REQ * | mapi_req, | ||
struct EcDoRpc_MAPI_REPL * | mapi_repl, | ||
uint32_t * | handles, | ||
uint16_t * | size | ||
) |
EcDoRpc OpenMessage (0x03) Rop. This operation opens an existing message in a mailbox.
mem_ctx | pointer to the memory context |
emsmdbp_ctx | pointer to the emsmdb provider context |
mapi_req | pointer to the OpenMessage EcDoRpc_MAPI_REQ structure |
mapi_repl | pointer to the OpenMessage EcDoRpc_MAPI_REPL structure |
handles | pointer to the MAPI handles array |
size | pointer to the mapi_response size to update |
References mapi_handles::parent_handle, mapi_handles_search(), emsmdbp_context::handles_ctx, mapi_handles_get_private_data(), libmapiserver_RopOpenMessage_size(), emsmdbp_object::type, EMSMDBP_OBJECT_MAILBOX, emsmdbp_context::mstore_ctx, emsmdbp_context::username, emsmdbp_object_get_folder_handle_by_fid(), emsmdbp_object::object, emsmdbp_objects::folder, emsmdbp_object_folder::folderID, emsmdbp_object_folder::contextID, mapi_handles_add(), mapi_handles::handle, emsmdbp_object_folder_init(), mapi_handles_set_private_data(), EMSMDBP_OBJECT_FOLDER, libmapiserver_RopGetHierarchyTable_size(), emsmdbp_is_mapistore(), emsmdbp_resolve_recipient(), and emsmdbp_object_message_init().
Referenced by EcDoRpc_process_transaction().
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopReloadCachedInformation | ( | TALLOC_CTX * | mem_ctx, |
struct emsmdbp_context * | emsmdbp_ctx, | ||
struct EcDoRpc_MAPI_REQ * | mapi_req, | ||
struct EcDoRpc_MAPI_REPL * | mapi_repl, | ||
uint32_t * | handles, | ||
uint16_t * | size | ||
) |
EcDoRpc ReloadCachedInformation (0x10) Rop. This operation gets message and recipient information from a message.
mem_ctx | pointer to the memory context |
emsmdbp_ctx | pointer to the emsmdb provider context |
mapi_req | pointer to the ReloadCachedInformation EcDoRpc_MAPI_REQ structure |
mapi_repl | pointer to the ReloadCachedInformation EcDoRpc_MAPI_REPL structure |
handles | pointer to the MAPI handles array |
size | pointer to the mapi_response size to update |
References mapi_handles::private_data, emsmdbp_object::object, mapi_handles_search(), emsmdbp_context::handles_ctx, mapi_handles_get_private_data(), emsmdbp_object::type, EMSMDBP_OBJECT_MESSAGE, emsmdbp_is_mapistore(), emsmdbp_context::mstore_ctx, emsmdbp_resolve_recipient(), and libmapiserver_RopReloadCachedInformation_size().
Referenced by EcDoRpc_process_transaction().
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSaveChangesMessage | ( | TALLOC_CTX * | mem_ctx, |
struct emsmdbp_context * | emsmdbp_ctx, | ||
struct EcDoRpc_MAPI_REQ * | mapi_req, | ||
struct EcDoRpc_MAPI_REPL * | mapi_repl, | ||
uint32_t * | handles, | ||
uint16_t * | size | ||
) |
EcDoRpc SaveChangesMessage (0x0c) Rop. This operation operation commits the changes made to a message.
mem_ctx | pointer to the memory context |
emsmdbp_ctx | pointer to the emsmdb provider context |
mapi_req | pointer to the SaveChangesMessage EcDoRpc_MAPI_REQ structure |
mapi_repl | pointer to the SaveChangesMessage EcDoRpc_MAPI_REPL structure |
handles | pointer to the MAPI handles array |
size | pointer to the mapi_response size to update |
References mapi_handles::private_data, emsmdbp_object::object, mapi_handles_search(), emsmdbp_context::handles_ctx, mapi_handles_get_private_data(), emsmdbp_object::type, EMSMDBP_OBJECT_MESSAGE, emsmdbp_is_mapistore(), emsmdbp_context::mstore_ctx, and libmapiserver_RopSaveChangesMessage_size().
Referenced by EcDoRpc_process_transaction().
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetMessageReadFlag | ( | TALLOC_CTX * | mem_ctx, |
struct emsmdbp_context * | emsmdbp_ctx, | ||
struct EcDoRpc_MAPI_REQ * | mapi_req, | ||
struct EcDoRpc_MAPI_REPL * | mapi_repl, | ||
uint32_t * | handles, | ||
uint16_t * | size | ||
) |
EcDoRpc SetMessageReadFlag (0x11) Rop. This operation sets or clears the message read flag.
mem_ctx | pointer to the memory context |
emsmdbp_ctx | pointer to the emsmdb provider context |
mapi_req | pointer to the SetMessageReadFlag EcDoRpc_MAPI_REQ structure |
mapi_repl | pointer to the SetMessageReadFlag EcDoRpc_MAPI_REPL structure |
handles | pointer to the MAPI handles array |
size | pointer to the mapi_response size to update |
References libmapiserver_RopSetMessageReadFlag_size().
Referenced by EcDoRpc_process_transaction().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |