dcesrv_mapiproxy_module.c File Reference

mapiproxy modules management More...

#include "libmapi/libmapi.h"
#include "mapiproxy/dcesrv_mapiproxy.h"
#include "utils/dlinklist.h"
#include "libmapiproxy.h"

Functions

const struct mapiproxy_modulemapiproxy_module_byname (const char *name)
 
NTSTATUS mapiproxy_module_dispatch (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
 
_PUBLIC_ NTSTATUS mapiproxy_module_init (struct dcesrv_context *dce_ctx)
 
static NTSTATUS mapiproxy_module_load (struct dcesrv_context *dce_ctx)
 
NTSTATUS mapiproxy_module_ndr_pull (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull)
 
NTSTATUS mapiproxy_module_pull (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
 
NTSTATUS mapiproxy_module_push (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
 
NTSTATUS mapiproxy_module_register (const void *_mp_module)
 
NTSTATUS mapiproxy_module_unbind (struct server_id server_id, uint32_t context_id)
 

Variables

static struct mp_module * mp_modules = NULL
 
static struct mapiproxy_module_listmpm_list = NULL
 
int num_mp_modules
 

Detailed Description

mapiproxy modules management

Function Documentation

◆ mapiproxy_module_byname()

const struct mapiproxy_module* mapiproxy_module_byname ( const char *  name)

◆ mapiproxy_module_dispatch()

NTSTATUS mapiproxy_module_dispatch ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
void *  r,
struct mapiproxy mapiproxy 
)

References mpm, and mpm_list.

Referenced by mapiproxy_op_dispatch().

◆ mapiproxy_module_init()

_PUBLIC_ NTSTATUS mapiproxy_module_init ( struct dcesrv_context *  dce_ctx)

◆ mapiproxy_module_load()

static NTSTATUS mapiproxy_module_load ( struct dcesrv_context *  dce_ctx)
static

◆ mapiproxy_module_ndr_pull()

NTSTATUS mapiproxy_module_ndr_pull ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
struct ndr_pull *  pull 
)

References mpm, and mpm_list.

Referenced by mapiproxy_op_ndr_pull().

◆ mapiproxy_module_pull()

NTSTATUS mapiproxy_module_pull ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
void *  r 
)

References mpm, and mpm_list.

Referenced by mapiproxy_op_ndr_pull().

◆ mapiproxy_module_push()

NTSTATUS mapiproxy_module_push ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
void *  r 
)

References mpm, and mpm_list.

Referenced by mapiproxy_op_ndr_push().

◆ mapiproxy_module_register()

NTSTATUS mapiproxy_module_register ( const void *  _mp_module)

◆ mapiproxy_module_unbind()

NTSTATUS mapiproxy_module_unbind ( struct server_id server_id  ,
uint32_t  context_id 
)

References mpm, and mpm_list.

Referenced by mapiproxy_op_unbind().

Variable Documentation

◆ mp_modules

struct mp_module * mp_modules = NULL
static

◆ mpm_list

◆ num_mp_modules

int num_mp_modules

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/