s3-rpc_server: Make pipe destructor public.
authorSimo Sorce <ssorce@redhat.com>
Mon, 7 Jun 2010 19:18:31 +0000 (15:18 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 15 Sep 2010 10:53:41 +0000 (12:53 +0200)
Signed-off-by: Andreas Schneider <asn@cynapses.org>
source3/include/proto.h
source3/rpc_server/rpc_ncacn_np_internal.c

index b19f985a8558edb4af6870bfa9ed6d6803f090ba..d23b18c1f3257c8fde83d676ded95b1e007c9635 100644 (file)
@@ -4345,6 +4345,7 @@ bool is_known_pipename(const char *cli_filename, struct ndr_syntax_id *syntax);
 struct pipes_struct *get_first_internal_pipe(void);
 struct pipes_struct *get_next_internal_pipe(struct pipes_struct *p);
 bool check_open_pipes(void);
+int close_internal_rpc_pipe_hnd(struct pipes_struct *p);
 
 bool fsp_is_np(struct files_struct *fsp);
 struct tsocket_address;
index 0cbbf50003a4d65b641ee6dc86ea81cf094813a3..8253f65bb75affaf28135742a864b7c90db1dcb8 100644 (file)
@@ -40,8 +40,6 @@ static struct pipes_struct *InternalPipes;
  * system _anyway_.  so that's the next step...
  */
 
-static int close_internal_rpc_pipe_hnd(struct pipes_struct *p);
-
 /****************************************************************************
  Internal Pipe iterator functions.
 ****************************************************************************/
@@ -86,7 +84,7 @@ bool check_open_pipes(void)
  Close an rpc pipe.
 ****************************************************************************/
 
-static int close_internal_rpc_pipe_hnd(struct pipes_struct *p)
+int close_internal_rpc_pipe_hnd(struct pipes_struct *p)
 {
        if (!p) {
                DEBUG(0,("Invalid pipe in close_internal_rpc_pipe_hnd\n"));