oxomsg.c File Reference

Server-side message routines and Rops. More...

#include "mapiproxy/libmapiserver/libmapiserver.h"
#include "dcesrv_exchange_emsmdb.h"

Functions

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetAddressTypes (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_RopGetTransportFolder (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_RopOptionsData (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_RopSetSpooler (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_RopSubmitMessage (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_RopTransportSend (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)

Detailed Description

Server-side message routines and Rops.

Function Documentation

◆ EcDoRpc_RopGetAddressTypes()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetAddressTypes ( 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 GetAddressTypes (0x49) Rop. This operation gets the valid address types (e.g. "SMTP", "X400", "EX")

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the AddressTypes EcDoRpc_MAPI_REQ
mapi_replpointer to the AddressTypes EcDoRpc_MAPI_REPL
handlespointer to the MAPI handles array
sizepointer to the mapi_response size to update
Returns
MAPI_E_SUCCESS on success, otherwise MAPI error

◆ EcDoRpc_RopGetTransportFolder()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetTransportFolder ( 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 GetTransportFolder (0x6d) ROP.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the GetTransportFolder EcDoRpc_MAPI_REQ
mapi_replpointer to the GetTransportFolder EcDoRpc_MAPI_REPL
handlespointer to the MAPI handles array
sizepointer to the mapi_response size to update
Returns
MAPI_E_SUCCESS on success, otherwise MAPI error

◆ EcDoRpc_RopOptionsData()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOptionsData ( 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 OptionsData (0x6f) Rop. This doesn't really do anything, but could be used to provide HelpData if we wanted to do something like that later.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the OptionsData EcDoRpc_MAPI_REQ
mapi_replpointer to the OptionsData EcDoRpc_MAPI_REPL
handlespointer to the MAPI handles array
sizepointer to the mapi_response size to update
Returns
MAPI_E_SUCCESS on success, otherwise MAPI error

◆ EcDoRpc_RopSetSpooler()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetSpooler ( 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 SetSpooler (0x47) Rop. This operation informs the server that the client intends to act as a mail spooler

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdbp provider context
mapi_reqpointer to the SeSpooler EcDoRpc_MAPI_REQ
mapi_replpointer to the SetSpooler EcDoRpc_MAPI_REPL
handlespointer to the MAPI handles array
sizepointer to the mapi_response size to update
Returns
MAPI_E_SUCCESS on success, otherwise MAPI error

◆ EcDoRpc_RopSubmitMessage()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSubmitMessage ( 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 SubmitMessage (0x32) Rop. This operation marks a message as being ready to send (subject to some flags).

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the SubmitMessage EcDoRpc_MAPI_REQ structure
mapi_replpointer to the SubmitMessage EcDoRpc_MAPI_REPL structure
handlespointer to the MAPI handles array
sizepointer to the mapi_response size to update
Returns
MAPI_E_SUCCESS on success, otherwise MAPI error

◆ EcDoRpc_RopTransportSend()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopTransportSend ( 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 TransportSend (0x4a) Rop. This operation sends a message.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the TransportSend EcDoRpc_MAPI_REQ structure
mapi_replpointer to the TransportSend EcDoRpc_MAPI_REPL structure
handlespointer to the MAPI handles array
sizepointer to the mapi_response size to update
Returns
MAPI_E_SUCCESS on success, otherwise MAPI error

Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/