mapiproxy server modules management More...
Functions | |
struct mapiproxy_module * | mapiproxy_server_byname (const char *name) |
struct mapiproxy_module * | mapiproxy_server_bystatus (const char *name, enum mapiproxy_status status) |
NTSTATUS | mapiproxy_server_dispatch (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy) |
_PUBLIC_ TDB_CONTEXT * | mapiproxy_server_emsabp_tdb_init (struct loadparm_context *lp_ctx) |
_PUBLIC_ NTSTATUS | mapiproxy_server_init (struct dcesrv_context *dce_ctx) |
static NTSTATUS | mapiproxy_server_load (struct dcesrv_context *dce_ctx) |
_PUBLIC_ bool | mapiproxy_server_loaded (const char *endpoint) |
_PUBLIC_ void * | mapiproxy_server_openchange_ldb_init (struct loadparm_context *lp_ctx) |
static NTSTATUS | mapiproxy_server_overwrite (TALLOC_CTX *mem_ctx, const char *name, const char *endpoint) |
NTSTATUS | mapiproxy_server_register (const void *_server_module) |
NTSTATUS | mapiproxy_server_unbind (struct server_id server_id, uint32_t context_id) |
Variables | |
static TDB_CONTEXT * | emsabp_tdb_ctx = NULL |
int | num_server_modules |
static void * | openchange_ldb_ctx = NULL |
static struct mapiproxy_module_list * | server_list = NULL |
static struct server_module * | server_modules = NULL |
mapiproxy server modules management
struct mapiproxy_module* mapiproxy_server_byname | ( | const char * | name) |
References num_server_modules, and server_modules.
Referenced by mapiproxy_server_overwrite().
struct mapiproxy_module* mapiproxy_server_bystatus | ( | const char * | name, |
enum mapiproxy_status | status | ||
) |
References num_server_modules, and server_modules.
Referenced by mapiproxy_server_load().
NTSTATUS mapiproxy_server_dispatch | ( | struct dcesrv_call_state * | dce_call, |
TALLOC_CTX * | mem_ctx, | ||
void * | r, | ||
struct mapiproxy * | mapiproxy | ||
) |
References mapiproxy_module::dispatch, mapiproxy_module::endpoint, mapiproxy_module_list::module, mapiproxy_module_list::next, and mapiproxy::norelay.
Referenced by mapiproxy_op_dispatch().
_PUBLIC_ TDB_CONTEXT* mapiproxy_server_emsabp_tdb_init | ( | struct loadparm_context * | lp_ctx) |
Initialize an EMSABP TDB context available to all instances when Samba is not run in single mode.
lp_ctx | pointer to the loadparm context |
return Allocated TDB context on success, otherwise NULL
References emsabp_tdb_ctx, and EMSABP_TDB_NAME.
Referenced by emsabp_tdb_init().
_PUBLIC_ NTSTATUS mapiproxy_server_init | ( | struct dcesrv_context * | dce_ctx) |
Initialize mapiproxy servers modules
dce_ctx | pointer to the connection context |
References load_openchange_plugins(), and mapiproxy_server_load().
Referenced by mapiproxy_op_init_server().
|
static |
_PUBLIC_ bool mapiproxy_server_loaded | ( | const char * | endpoint) |
References mapiproxy_module::endpoint, mapiproxy_module_list::module, and mapiproxy_module_list::next.
Referenced by mapiproxy_op_dispatch(), and mapiproxy_op_ndr_push().
_PUBLIC_ void* mapiproxy_server_openchange_ldb_init | ( | struct loadparm_context * | lp_ctx) |
Initialize an openchange LDB context available to all mapiproxy instances. This LDB context points on the OpenChange dispatcher database used within emsmdb default provider.
lp_ctx | pointer to the loadparm context |
References openchange_ldb_ctx, and OPENCHANGE_LDB_NAME.
Referenced by emsmdbp_openchange_ldb_init().
|
static |
References mapiproxy_module::endpoint, mapiproxy_server_byname(), mapiproxy_module_list::module, mapiproxy_module::name, and mapiproxy_module_list::next.
Referenced by mapiproxy_server_load().
NTSTATUS mapiproxy_server_register | ( | const void * | _server_module) |
References mapiproxy_module::name, num_server_modules, and server_modules.
Referenced by samba_init_module().
NTSTATUS mapiproxy_server_unbind | ( | struct server_id server_id | , |
uint32_t | context_id | ||
) |
References mapiproxy_module_list::module, mapiproxy_module_list::next, and mapiproxy_module::unbind.
Referenced by mapiproxy_op_unbind().
|
static |
Referenced by mapiproxy_server_emsabp_tdb_init().
int num_server_modules |
Referenced by mapiproxy_server_byname(), mapiproxy_server_bystatus(), and mapiproxy_server_register().
|
static |
Referenced by mapiproxy_server_openchange_ldb_init().
|
static |
|
static |
Referenced by mapiproxy_server_byname(), mapiproxy_server_bystatus(), and mapiproxy_server_register().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |