openchangedb_table.c File Reference

OpenChange Dispatcher database table routines. More...

#include <inttypes.h>
#include "mapiproxy/dcesrv_mapiproxy.h"
#include "libmapiproxy.h"
#include "libmapi/libmapi.h"
#include "libmapi/libmapi_private.h"
#include "mapiproxy/libmapiproxy/backends/openchangedb_backends.h"

Functions

_PUBLIC_ enum MAPISTATUS openchangedb_table_get_property (TALLOC_CTX *mem_ctx, struct openchangedb_context *self, void *table_object, enum MAPITAGS proptag, uint32_t pos, bool live_filtered, void **data)
 
_PUBLIC_ enum MAPISTATUS openchangedb_table_init (TALLOC_CTX *mem_ctx, struct openchangedb_context *self, const char *username, uint8_t table_type, uint64_t folderID, void **table_object)
 /details Initialize an openchangedb table More...
 
_PUBLIC_ enum MAPISTATUS openchangedb_table_set_restrictions (struct openchangedb_context *self, void *table_object, struct mapi_SRestriction *res)
 
_PUBLIC_ enum MAPISTATUS openchangedb_table_set_sort_order (struct openchangedb_context *self, void *table_object, struct SSortOrderSet *lpSortCriteria)
 

Detailed Description

OpenChange Dispatcher database table routines.

Function Documentation

_PUBLIC_ enum MAPISTATUS openchangedb_table_get_property ( TALLOC_CTX *  mem_ctx,
struct openchangedb_context *  self,
void *  table_object,
enum MAPITAGS  proptag,
uint32_t  pos,
bool  live_filtered,
void **  data 
)
_PUBLIC_ enum MAPISTATUS openchangedb_table_init ( TALLOC_CTX *  mem_ctx,
struct openchangedb_context *  self,
const char *  username,
uint8_t  table_type,
uint64_t  folderID,
void **  table_object 
)

/details Initialize an openchangedb table

Parameters
mem_ctxpointer to the memory context to use for allocation
usernameThe name of the mailbox where the folder is
table_typethe type of table this object represents
folderIDthe identifier of the folder this table represents
table_objectpointer on pointer to the table object to return
Returns
MAPI_E_SUCCESS on success, otherwise MAPISTORE error

Referenced by emsmdbp_folder_open_table().

_PUBLIC_ enum MAPISTATUS openchangedb_table_set_restrictions ( struct openchangedb_context *  self,
void *  table_object,
struct mapi_SRestriction *  res 
)

Referenced by EcDoRpc_RopFindRow().

_PUBLIC_ enum MAPISTATUS openchangedb_table_set_sort_order ( struct openchangedb_context *  self,
void *  table_object,
struct SSortOrderSet *  lpSortCriteria 
)

Set sort order to specified openchangedb table object

Parameters
table_objectpointer to the table object
lpSortCriteriapointer to the sort order to save
Returns
MAPI_E_SUCCESS on success, otherwise MAPI error

Referenced by EcDoRpc_RopSortTable().


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/