diff options
author | Andreas Schneider <asn@samba.org> | 2010-06-03 22:01:46 +0200 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-06-04 12:12:43 -0400 |
commit | 3344adc3404df47f02f6eb3096cb623ae94850b8 (patch) | |
tree | 1bf594f859de7bcd64618cf469d7ec3f59b3753a /source3/rpc_server/srv_pipe_internal.h | |
parent | 9097bdddd03f81579699e0d0ce725a7453a3a158 (diff) | |
download | samba-3344adc3404df47f02f6eb3096cb623ae94850b8.tar.gz samba-3344adc3404df47f02f6eb3096cb623ae94850b8.tar.bz2 samba-3344adc3404df47f02f6eb3096cb623ae94850b8.zip |
s3-rpc: Seperate rpc_srv_register for plain connection.
This will make it possible to create plain rpc named pipe connnections.
Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/rpc_server/srv_pipe_internal.h')
-rw-r--r-- | source3/rpc_server/srv_pipe_internal.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_pipe_internal.h b/source3/rpc_server/srv_pipe_internal.h new file mode 100644 index 0000000000..f84c6aad4d --- /dev/null +++ b/source3/rpc_server/srv_pipe_internal.h @@ -0,0 +1,42 @@ +/* + * 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_PIPE_INTERNAL_H_ +#define _RPC_PIPE_INTERNAL_H_ + +#include "includes.h" + +bool rpc_srv_pipe_exists_by_id(const struct ndr_syntax_id *id); + +bool rpc_srv_pipe_exists_by_cli_name(const char *cli_name); + +bool rpc_srv_pipe_exists_by_srv_name(const char *srv_name); + +const char *rpc_srv_get_pipe_cli_name(const struct ndr_syntax_id *id); + +const char *rpc_srv_get_pipe_srv_name(const struct ndr_syntax_id *id); + +uint32_t rpc_srv_get_pipe_num_cmds(const struct ndr_syntax_id *id); + +const struct api_struct *rpc_srv_get_pipe_cmds(const struct ndr_syntax_id *id); + +bool rpc_srv_get_pipe_interface_by_cli_name(const char *cli_name, + struct ndr_syntax_id *id); + +#endif /* _RPC_PIPE_INTERNAL_H_ */ |