s3-librpc: Pass messaging context to dcerpc register functions.
[samba.git] / source3 / librpc / rpc / dcerpc_ep.h
index 57b1d2744081e12350058c855120426b88e8ffe0..226d402986e1e72aee0003dc93b8dfaf83ac10c1 100644 (file)
@@ -64,6 +64,7 @@ NTSTATUS dcerpc_binding_vector_create(TALLOC_CTX *mem_ctx,
  * @return                 An NTSTATUS error code.
  */
 NTSTATUS dcerpc_ep_register(TALLOC_CTX *mem_ctx,
+                           struct messaging_context *msg_ctx,
                            const struct ndr_interface_table *iface,
                            const struct dcerpc_binding_vector *bind_vec,
                            const struct GUID *object_guid,
@@ -71,13 +72,15 @@ NTSTATUS dcerpc_ep_register(TALLOC_CTX *mem_ctx,
                            struct dcerpc_binding_handle **ph);
 
 NTSTATUS dcerpc_ep_register_noreplace(TALLOC_CTX *mem_ctx,
+                                     struct messaging_context *msg_ctx,
                                      const struct ndr_interface_table *iface,
                                      const struct dcerpc_binding_vector *bind_vec,
                                      const struct GUID *object_guid,
                                      const char *annotation,
                                      struct dcerpc_binding_handle **ph);
 
-NTSTATUS dcerpc_ep_unregister(const struct ndr_interface_table *iface,
+NTSTATUS dcerpc_ep_unregister(struct messaging_context *msg_ctx,
+                             const struct ndr_interface_table *iface,
                              const struct dcerpc_binding_vector *bind_vec,
                              const struct GUID *object_guid);