allow the specification of full dcerpc endpoint binding strings on the
[samba.git] / source4 / librpc / rpc / dcerpc.h
index 6b1bd9de33fa3e6273116bba6fc123416ba90ba5..fa2ced253713d42c73cefa56cc15928fe43ce6e9 100644 (file)
@@ -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;
+};