librpc/gen_ndr
[metze/samba/wip.git] / source3 / librpc / gen_ndr / srv_notify.c
1 /*
2  * Unix SMB/CIFS implementation.
3  * server auto-generated by pidl. DO NOT MODIFY!
4  */
5
6 #include "includes.h"
7 #include "librpc/gen_ndr/srv_notify.h"
8
9
10 /* Tables */
11 static struct api_struct api_notify_cmds[] = 
12 {
13 };
14
15 void notify_get_pipe_fns(struct api_struct **fns, int *n_fns)
16 {
17         *fns = api_notify_cmds;
18         *n_fns = sizeof(api_notify_cmds) / sizeof(struct api_struct);
19 }
20
21 NTSTATUS rpc_notify_init(const struct rpc_srv_callbacks *rpc_srv_cb)
22 {
23         return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "notify", "notify", &ndr_table_notify, api_notify_cmds, sizeof(api_notify_cmds) / sizeof(struct api_struct), rpc_srv_cb);
24 }
25
26 NTSTATUS rpc_notify_shutdown(void)
27 {
28         return rpc_srv_unregister(&ndr_table_notify);
29 }