summaryrefslogtreecommitdiffstats
path: root/source4/lib/messaging/irpc.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-05-05 16:27:59 +1200
committerStefan Metzmacher <metze@samba.org>2014-05-13 02:33:24 +0200
commitc1507bc1014c199d3a11227d088762364de432cd (patch)
treeedb676834400d18f14fb9bccebe55c9ca7ed80f2 /source4/lib/messaging/irpc.h
parent84139801cfc5a2a2fe4bb5fd950e5d7e7a0e7327 (diff)
downloadsamba-c1507bc1014c199d3a11227d088762364de432cd.tar.gz
samba-c1507bc1014c199d3a11227d088762364de432cd.tar.xz
samba-c1507bc1014c199d3a11227d088762364de432cd.zip
s4:imessaging: Remove event context from irpc and imessaging structures
The only part of this code with a stored event context is now the binding_handle created by irpc_binding_handle() when in the client dcerpc_binding_handle_set_sync_ev() is called, otherwise a new nested event context is created for sync calls. Note that the FD event associated with the socket still implies the long term event context passed to imessaging_[client]_init(). Andrew Bartlett Change-Id: I9aeae94b26e3736370f449daa96808e6cdc2d55d Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue May 13 02:33:24 CEST 2014 on sn-devel-104
Diffstat (limited to 'source4/lib/messaging/irpc.h')
-rw-r--r--source4/lib/messaging/irpc.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h
index 456d1906e0c..96f67e1dcb7 100644
--- a/source4/lib/messaging/irpc.h
+++ b/source4/lib/messaging/irpc.h
@@ -38,7 +38,6 @@ struct irpc_message {
struct imessaging_context *msg_ctx;
struct irpc_list *irpc;
void *data;
- struct tevent_context *ev;
};
/* don't allow calls to take too long */
@@ -63,13 +62,13 @@ NTSTATUS irpc_register(struct imessaging_context *msg_ctx,
int call, irpc_function_t fn, void *private_data);
struct dcerpc_binding_handle *irpc_binding_handle(TALLOC_CTX *mem_ctx,
- struct imessaging_context *msg_ctx,
- struct server_id server_id,
- const struct ndr_interface_table *table);
+ struct imessaging_context *msg_ctx,
+ struct server_id server_id,
+ const struct ndr_interface_table *table);
struct dcerpc_binding_handle *irpc_binding_handle_by_name(TALLOC_CTX *mem_ctx,
- struct imessaging_context *msg_ctx,
- const char *dest_task,
- const struct ndr_interface_table *table);
+ struct imessaging_context *msg_ctx,
+ const char *dest_task,
+ const struct ndr_interface_table *table);
void irpc_binding_handle_add_security_token(struct dcerpc_binding_handle *h,
struct security_token *token);