oxctabl.c File Reference

Table 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"
#include "libmapi/libmapi_private.h"

Functions

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopFindRow (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_RopQueryPosition (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_RopQueryRows (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_RopResetTable (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_RopRestrict (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_RopSeekRow (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_RopSetColumns (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_RopSortTable (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

Table object routines and Rops.

Function Documentation

◆ EcDoRpc_RopFindRow()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopFindRow ( 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 FindRow (0x4f) Rop. This operation moves the cursor to a row in a table that matches specific search criteria.

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

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopQueryPosition ( 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 QueryPosition (0x17) Rop. This operation returns the location of cursor in the table.

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

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopQueryRows ( 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 QueryRows (0x15) Rop. This operation retrieves rows from a table.

Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the QueryRows EcDoRpc_MAPI_REQ structure
mapi_replpointer to the QueryRows EcDoRpc_MAPI_REPL structure
handlespointer to the MAPI handles array
sizepointer to the mapi_response size to update

◆ EcDoRpc_RopResetTable()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopResetTable ( 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 ResetTable (0x81) Rop. This operation resets the table as follows:

  • Removes the existing column set, restriction, and sort order (ignored) from the table.
  • Invalidates bookmarks. (ignored)
  • Resets the cursor to the beginning of the table.
Parameters
mem_ctxpointer to the memory context
emsmdbp_ctxpointer to the emsmdb provider context
mapi_reqpointer to the SetColumns EcDoRpc_MAPI_REQ structure
mapi_replpointer to the SetColumns 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_RopRestrict()

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopRestrict ( 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 SortTable (0x14) Rop. This operation establishes a filter for a table.

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

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSeekRow ( 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 SeekRow (0x18) Rop. This operation moves the cursor to a specific position in a table.

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

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetColumns ( 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 SetColumns (0x12) Rop. This operation sets the properties to be included in the table.

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

_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSortTable ( 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 SortTable (0x13) Rop. This operation defines the order of rows of a table based on sort criteria.

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