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

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


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

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

NTSTATUS rpc_misc_init(const struct rpc_srv_callbacks *rpc_srv_cb)
{
	return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "misc", "misc", &ndr_table_misc, api_misc_cmds, sizeof(api_misc_cmds) / sizeof(struct api_struct), rpc_srv_cb);
}

NTSTATUS rpc_misc_shutdown(void)
{
	return rpc_srv_unregister(&ndr_table_misc);
}
