summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_rpc_register.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-01-05 17:16:46 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-02 12:44:20 +0100
commite3bdfd2d46cb09a42eda1012287bb82af5b8ee9b (patch)
tree850c7215759e545e46e729814db95e377fc4358c /source3/rpc_server/srv_rpc_register.h
parent612060d677ac64de1b9261beb2d98496cec2ab46 (diff)
downloadsamba-e3bdfd2d46cb09a42eda1012287bb82af5b8ee9b.tar.gz
samba-e3bdfd2d46cb09a42eda1012287bb82af5b8ee9b.tar.bz2
samba-e3bdfd2d46cb09a42eda1012287bb82af5b8ee9b.zip
s3-smbd: Added a function to setup rpc services.
Move the complete setup of the rpc service to its own file and use callbacks to register at the endpoint mapper.
Diffstat (limited to 'source3/rpc_server/srv_rpc_register.h')
-rw-r--r--source3/rpc_server/srv_rpc_register.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_rpc_register.h b/source3/rpc_server/srv_rpc_register.h
new file mode 100644
index 0000000000..0a98e706f8
--- /dev/null
+++ b/source3/rpc_server/srv_rpc_register.h
@@ -0,0 +1,29 @@
+/*
+ * Unix SMB/CIFS implementation.
+ *
+ * SMBD RPC service callbacks
+ *
+ * Copyright (c) 2011 Andreas Schneider <asn@samba.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _SMBD_RPC_CALLBACKS_H
+#define _SMBD_RPC_CALLBACKS_H
+
+bool srv_rpc_register(struct messaging_context *msg_ctx);
+
+#endif /* _SMBD_RPC_CALLBACKS_H */
+
+/* vim: set ts=8 sw=8 noet cindent ft=c.doxygen: */