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"Functions | |
| static char * | openchangedb_table_build_filter (TALLOC_CTX *mem_ctx, struct openchangedb_table *table, uint64_t row_fmid, struct mapi_SRestriction *restrictions) |
| _PUBLIC_ enum MAPISTATUS | openchangedb_table_get_property (TALLOC_CTX *mem_ctx, void *table_object, struct ldb_context *ldb_ctx, enum MAPITAGS proptag, uint32_t pos, bool live_filtered, void **data) |
| _PUBLIC_ enum MAPISTATUS | openchangedb_table_init (TALLOC_CTX *mem_ctx, uint8_t table_type, uint64_t folderID, void **table_object) |
| /details Initialize an openchangedb table | |
| _PUBLIC_ enum MAPISTATUS | openchangedb_table_set_restrictions (void *table_object, struct mapi_SRestriction *res) |
| _PUBLIC_ enum MAPISTATUS | openchangedb_table_set_sort_order (void *table_object, struct SSortOrderSet *lpSortCriteria) |
OpenChange Dispatcher database table routines.
| static char* openchangedb_table_build_filter | ( | TALLOC_CTX * | mem_ctx, | |
| struct openchangedb_table * | table, | |||
| uint64_t | row_fmid, | |||
| struct mapi_SRestriction * | restrictions | |||
| ) | [static] |
References openchangedb_table::folderID, openchangedb_property_get_attribute(), and openchangedb_table::table_type.
Referenced by openchangedb_table_get_property().
| _PUBLIC_ enum MAPISTATUS openchangedb_table_get_property | ( | TALLOC_CTX * | mem_ctx, | |
| void * | table_object, | |||
| struct ldb_context * | ldb_ctx, | |||
| enum MAPITAGS | proptag, | |||
| uint32_t | pos, | |||
| bool | live_filtered, | |||
| void ** | data | |||
| ) |
References openchangedb_get_property_data(), openchangedb_get_special_property(), openchangedb_property_get_attribute(), openchangedb_table_build_filter(), openchangedb_table::res, openchangedb_table::restrictions, and openchangedb_table::table_type.
Referenced by emsmdbp_object_table_get_row_props().
| _PUBLIC_ enum MAPISTATUS openchangedb_table_init | ( | TALLOC_CTX * | mem_ctx, | |
| uint8_t | table_type, | |||
| uint64_t | folderID, | |||
| void ** | table_object | |||
| ) |
/details Initialize an openchangedb table
| mem_ctx | pointer to the memory context to use for allocation | |
| table_type | the type of table this object represents | |
| folderID | the identifier of the folder this table represents | |
| table_object | pointer on pointer to the table object to return |
References openchangedb_table::folderID, openchangedb_table::lpSortCriteria, openchangedb_table::res, openchangedb_table::restrictions, and openchangedb_table::table_type.
Referenced by emsmdbp_folder_open_table().
| _PUBLIC_ enum MAPISTATUS openchangedb_table_set_restrictions | ( | void * | table_object, | |
| struct mapi_SRestriction * | res | |||
| ) |
References openchangedb_table::res, and openchangedb_table::restrictions.
Referenced by EcDoRpc_RopFindRow().
| _PUBLIC_ enum MAPISTATUS openchangedb_table_set_sort_order | ( | void * | table_object, | |
| struct SSortOrderSet * | lpSortCriteria | |||
| ) |
Set sort order to specified openchangedb table object
| table_object | pointer to the table object | |
| lpSortCriteria | pointer to the sort order to save |
References openchangedb_table::lpSortCriteria, and openchangedb_table::res.
Referenced by EcDoRpc_RopSortTable().
|
|
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |