summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server/srv_pipe.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-02 13:27:45 +0200
committerGünther Deschner <gd@samba.org>2011-05-02 16:05:31 +0200
commit56cd3b3bbbb595cb0c98fa2dfa397c915fbf37d2 (patch)
tree3ce94c576184253d8049cabe5f4bd1738bea99dd /source3/rpc_server/srv_pipe.h
parent1a561dedb9995f52411d2fed2c6e0cc1e37a85d1 (diff)
downloadsamba-56cd3b3bbbb595cb0c98fa2dfa397c915fbf37d2.tar.gz
samba-56cd3b3bbbb595cb0c98fa2dfa397c915fbf37d2.tar.xz
samba-56cd3b3bbbb595cb0c98fa2dfa397c915fbf37d2.zip
s3-rpc_server: (re)move last globally included rpc_server prototypes.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 2 16:05:31 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/rpc_server/srv_pipe.h')
-rw-r--r--source3/rpc_server/srv_pipe.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_pipe.h b/source3/rpc_server/srv_pipe.h
new file mode 100644
index 0000000000..453cca18d9
--- /dev/null
+++ b/source3/rpc_server/srv_pipe.h
@@ -0,0 +1,33 @@
+/*
+ * Unix SMB/CIFS implementation.
+ * RPC Pipe client / server routines
+ * Almost completely rewritten by (C) Jeremy Allison 2005 - 2010
+ *
+ * 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 _RPC_SERVER_SRV_PIPE_H_
+#define _RPC_SERVER_SRV_PIPE_H_
+
+struct ncacn_packet;
+struct pipes_struct;
+
+/* The following definitions come from rpc_server/srv_pipe.c */
+
+bool create_next_pdu(struct pipes_struct *p);
+bool api_pipe_bind_auth3(struct pipes_struct *p, struct ncacn_packet *pkt);
+bool setup_fault_pdu(struct pipes_struct *p, NTSTATUS status);
+bool is_known_pipename(const char *cli_filename, struct ndr_syntax_id *syntax);
+
+#endif /* _RPC_SERVER_SRV_PIPE_H_ */