diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-01-21 14:05:51 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-01-21 14:05:51 +0100 |
commit | 11a25f90500b64f4b43907f6f311dc5e9731da39 (patch) | |
tree | a2fb07bb2cc4040cf5b1c57b827ead14bd84f4a6 /source3/include/proto.h | |
parent | 53293f2ccba357eab6c4325a08517660e979c1d8 (diff) | |
download | samba-11a25f90500b64f4b43907f6f311dc5e9731da39.tar.gz samba-11a25f90500b64f4b43907f6f311dc5e9731da39.tar.bz2 samba-11a25f90500b64f4b43907f6f311dc5e9731da39.zip |
Allow calling DCE/RPC server implementations directly using
rpc_pipe_client.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 03c021683a..9ce6a9d7f1 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5244,6 +5244,10 @@ NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx, const char *host, NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx, const char *socket_path, const struct ndr_syntax_id *abstract_syntax, struct rpc_pipe_client **presult); +NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id *abstract_syntax, + NTSTATUS (*dispatch) (struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *r), + struct auth_serversupplied_info *serversupplied_info, + struct rpc_pipe_client **presult); NTSTATUS cli_rpc_pipe_open_noauth(struct cli_state *cli, const struct ndr_syntax_id *interface, struct rpc_pipe_client **presult); |