summaryrefslogtreecommitdiff
path: root/source3/include/client.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-21 14:05:51 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-21 14:05:51 +0100
commit11a25f90500b64f4b43907f6f311dc5e9731da39 (patch)
treea2fb07bb2cc4040cf5b1c57b827ead14bd84f4a6 /source3/include/client.h
parent53293f2ccba357eab6c4325a08517660e979c1d8 (diff)
downloadsamba-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/client.h')
-rw-r--r--source3/include/client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 587f3f6c67..09fdb81462 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -80,6 +80,11 @@ struct rpc_pipe_client {
struct ndr_syntax_id abstract_syntax;
struct ndr_syntax_id transfer_syntax;
+ NTSTATUS (*dispatch) (struct rpc_pipe_client *cli,
+ TALLOC_CTX *mem_ctx,
+ const struct ndr_interface_table *table,
+ uint32_t opnum, void *r);
+
char *desthost;
char *srv_name_slash;
@@ -90,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. */