summaryrefslogtreecommitdiffstats
path: root/source4/librpc/rpc/dcerpc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-15 03:29:55 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-15 03:29:55 +0000
commit71f81d1d3ee64fe109e8f333dc07b4424d479b0e (patch)
tree752568b5dab1b82c3c786392f1dfed8d79e25280 /source4/librpc/rpc/dcerpc.h
parentf1ceef6c8461b61545652401702cf20fde53f952 (diff)
downloadsamba-71f81d1d3ee64fe109e8f333dc07b4424d479b0e.tar.gz
samba-71f81d1d3ee64fe109e8f333dc07b4424d479b0e.tar.xz
samba-71f81d1d3ee64fe109e8f333dc07b4424d479b0e.zip
allow the specification of full dcerpc endpoint binding strings on the
command line. This allows you to (for example) control signing/sealing of smbtorture RPC sessions (This used to be commit a73825eb496d5924012ea926fcbac8c956fe081e)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r--source4/librpc/rpc/dcerpc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 6b1bd9de33..fa2ced2537 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -89,3 +89,14 @@ struct dcerpc_interface_table {
const struct dcerpc_interface_call *calls;
const struct dcerpc_endpoint_list *endpoints;
};
+
+
+enum dcerpc_transport_t {NCACN_NP, NCACN_IP_TCP};
+
+/* this describes a binding to a particular transport/pipe */
+struct dcerpc_binding {
+ enum dcerpc_transport_t transport;
+ const char *host;
+ const char **options;
+ uint32 flags;
+};