oxcprpt.c File Reference

Property and Stream Object routines and Rops. More...

#include <stdlib.h>
#include <unistd.h>
#include "libmapi/libmapi.h"
#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_RopCommitStream (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_RopCopyTo (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_RopDeleteProperties (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_RopDeletePropertiesNoReplicate (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_RopGetNamesFromIDs (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_RopGetPropertiesAll (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_RopGetPropertiesList (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)
types h _PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertiesSpecific (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_RopGetPropertyIdsFromNames (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_RopGetStreamSize (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_RopOpenStream (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_RopReadStream (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_RopSeekStream (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_RopSetProperties (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_RopSetStreamSize (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_RopWriteStream (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

Property and Stream Object routines and Rops.

Function Documentation

◆ EcDoRpc_RopCommitStream()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopCommitStream ( 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 CommitStream (0x5d) Rop.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the DeleteProperties EcDoRpc_MAPI_REQ structure
mapi_replpointer to the DeleteProperties 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_RopCopyTo()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopCopyTo ( 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 CopyTo (0x39) Rop. This operation copy messages from one folder to another.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the DeleteProperties EcDoRpc_MAPI_REQ structure
mapi_replpointer to the DeleteProperties 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_RopDeleteProperties()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopDeleteProperties ( 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 DeleteProperties (0x0b) Rop. This operation deletes property values for an object.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the DeleteProperties EcDoRpc_MAPI_REQ structure
mapi_replpointer to the DeleteProperties 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_RopDeletePropertiesNoReplicate()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopDeletePropertiesNoReplicate ( 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 DeletePropertiesNoReplicate (0x7a) Rop. deletes property values from an object without invoking replication.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the DeletePropertiesNoReplicate EcDoRpc_MAPI_REQ structure
mapi_replpointer to the DeletePropertiesNoReplicate 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_RopGetNamesFromIDs()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetNamesFromIDs ( 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 GetNamesFromIDs (0x56) Rop. This operation gets property IDs for specified property names.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the GetNamesFromIDs EcDoRpc_MAPI_REQ structure
mapi_replpointer to the GetNamesFromIDs 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_RopGetPropertiesAll()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertiesAll ( 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 GetPropertiesAll (0x08) Rop. This operation gets all the property values for an object.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the GetPropertiesAll EcDoRpc_MAPI_REQ structure
mapi_replpointer to the GetPropertiesAll 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_RopGetPropertiesList()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertiesList ( 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 GetPropertiesList (0x9) Rop. This operation retrieves the list of MAPI tags for an object.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the SetProperties EcDoRpc_MAPI_REQ structure
mapi_replpointer to the SetProperties 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_RopGetPropertiesSpecific()

types h _PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertiesSpecific ( 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 GetPropertiesSpecific (0x07) Rop. This operation retrieves from properties data from specified object.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the GetPropertiesSpecific EcDoRpc_MAPI_REQ structure
mapi_replpointer to the GetPropertiesSpecific 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_RopGetPropertyIdsFromNames()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertyIdsFromNames ( 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 GetPropertyIdsFromNames (0x56) Rop. This operation gets property IDs for specified property names.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the GetPropertyIdsFromNames EcDoRpc_MAPI_REQ structure
mapi_replpointer to the GetPropertyIdsFromNames 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_RopGetStreamSize()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetStreamSize ( 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 GetStreamSize (0x5e) Rop. This operation returns the number of bytes in a stream.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the WriteStream EcDoRpc_MAPI_REQ structure
mapi_replpointer to the WriteStream 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_RopOpenStream()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOpenStream ( 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 OpenStream (0x2b) Rop. This operation opens a property for streaming access.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the OpenStream EcDoRpc_MAPI_REQ structure
mapi_replpointer to the OpenStream 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_RopReadStream()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopReadStream ( 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 ReadStream (0x2c) Rop. This operation reads bytes from a stream.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the ReadStream EcDoRpc_MAPI_REQ structure
mapi_replpointer to the ReadStream 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_RopSeekStream()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSeekStream ( 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 SeekStream (0x2e) Rop. This operation positions the cursor in the stream.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the WriteStream EcDoRpc_MAPI_REQ structure
mapi_replpointer to the WriteStream 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_RopSetProperties()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetProperties ( 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 SetProperties (0x0a) Rop. This operation sets property values for an object.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the SetProperties EcDoRpc_MAPI_REQ structure
mapi_replpointer to the SetProperties 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_RopSetStreamSize()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetStreamSize ( 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 SetStreamSize (0x2f) Rop. This operation copy messages from one folder to another.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the DeleteProperties EcDoRpc_MAPI_REQ structure
mapi_replpointer to the DeleteProperties 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_RopWriteStream()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopWriteStream ( 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 WriteStream (0x2d) Rop. This operation writes bytes to a stream.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the WriteStream EcDoRpc_MAPI_REQ structure
mapi_replpointer to the WriteStream 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/