git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
[metze/samba/wip.git] / bin.gen_ndr / default / 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 "ntdomain.h"
8 #include "bin/default/librpc/gen_ndr/srv_notify.h"
9
10
11 /* Tables */
12 static struct api_struct api_notify_cmds[] = 
13 {
14 };
15
16 void notify_get_pipe_fns(struct api_struct **fns, int *n_fns)
17 {
18         *fns = api_notify_cmds;
19         *n_fns = sizeof(api_notify_cmds) / sizeof(struct api_struct);
20 }
21
22 NTSTATUS rpc_notify_init(const struct rpc_srv_callbacks *rpc_srv_cb)
23 {
24         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);
25 }
26
27 NTSTATUS rpc_notify_shutdown(void)
28 {
29         return rpc_srv_unregister(&ndr_table_notify);
30 }