/*
 * Unix SMB/CIFS implementation.
 * server auto-generated by pidl. DO NOT MODIFY!
 */

#include "includes.h"
#include "ntdomain.h"
#include "autoconf/librpc/gen_ndr/srv_messaging.h"


/* Tables */
static struct api_struct api_messaging_cmds[] = 
{
};

void messaging_get_pipe_fns(struct api_struct **fns, int *n_fns)
{
	*fns = api_messaging_cmds;
	*n_fns = sizeof(api_messaging_cmds) / sizeof(struct api_struct);
}

NTSTATUS rpc_messaging_init(const struct rpc_srv_callbacks *rpc_srv_cb)
{
	return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "messaging", "messaging", &ndr_table_messaging, api_messaging_cmds, sizeof(api_messaging_cmds) / sizeof(struct api_struct), rpc_srv_cb);
}

NTSTATUS rpc_messaging_shutdown(void)
{
	return rpc_srv_unregister(&ndr_table_messaging);
}
