diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-01-21 14:07:38 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-01-21 14:07:38 +0100 |
commit | 1d59fd4d733007ccabb69c945e1da2208c376b96 (patch) | |
tree | c9e7cd077b232c781ba1fc28f326998fba6669e0 /source3/include | |
parent | b64b78e4cc2aaed779a07dbcb180323bfb3652d6 (diff) | |
parent | 11a25f90500b64f4b43907f6f311dc5e9731da39 (diff) | |
download | samba-1d59fd4d733007ccabb69c945e1da2208c376b96.tar.gz samba-1d59fd4d733007ccabb69c945e1da2208c376b96.tar.bz2 samba-1d59fd4d733007ccabb69c945e1da2208c376b96.zip |
Merge branch 'v4-0-test' of /home/jelmer/samba4
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/client.h | 3 | ||||
-rw-r--r-- | source3/include/proto.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 86b4bee662..09fdb81462 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -95,6 +95,9 @@ struct rpc_pipe_client { /* The following is only non-null on a netlogon pipe. */ struct dcinfo *dc; + + /* Used by internal rpc_pipe_client */ + pipes_struct *pipes_struct; }; /* Transport encryption state. */ 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); |