diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-06-07 15:18:31 -0400 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-09-15 12:53:41 +0200 |
commit | 2ef693e3c83fa0ce298ef8b592d7d4c4ec3dd845 (patch) | |
tree | b3a3951c675dc3c8b917bd3209b27b7721a10c8e /source3 | |
parent | 3f04b54197ba7dadd9831d7b5d1f57cf9d0b4014 (diff) | |
download | samba-2ef693e3c83fa0ce298ef8b592d7d4c4ec3dd845.tar.gz samba-2ef693e3c83fa0ce298ef8b592d7d4c4ec3dd845.tar.bz2 samba-2ef693e3c83fa0ce298ef8b592d7d4c4ec3dd845.zip |
s3-rpc_server: Make pipe destructor public.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np_internal.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b19f985a85..d23b18c1f3 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -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; diff --git a/source3/rpc_server/rpc_ncacn_np_internal.c b/source3/rpc_server/rpc_ncacn_np_internal.c index 0cbbf50003..8253f65bb7 100644 --- a/source3/rpc_server/rpc_ncacn_np_internal.c +++ b/source3/rpc_server/rpc_ncacn_np_internal.c @@ -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")); |