summaryrefslogtreecommitdiffstats
path: root/source4/rpc_server/dcerpc_server.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-31 13:40:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:16 -0500
commit63aaa6b782bf6b8b2badabd41579fff2a235d526 (patch)
treea69825fef9909028a039d3662d39979c804c8ac5 /source4/rpc_server/dcerpc_server.h
parent9b6f35edbf439fec4a0d32104ee8475bf1e313c9 (diff)
downloadsamba-63aaa6b782bf6b8b2badabd41579fff2a235d526.tar.gz
samba-63aaa6b782bf6b8b2badabd41579fff2a235d526.tar.xz
samba-63aaa6b782bf6b8b2badabd41579fff2a235d526.zip
r17340: initialize elements od dcesrc_call_state in one central place
and pass the messaging context to the call metze (This used to be commit 0d7f16d7befa1e8824173d7b9da580e6a92ae4e5)
Diffstat (limited to 'source4/rpc_server/dcerpc_server.h')
-rw-r--r--source4/rpc_server/dcerpc_server.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_server.h b/source4/rpc_server/dcerpc_server.h
index 57d8bb2d79d..031ace49d71 100644
--- a/source4/rpc_server/dcerpc_server.h
+++ b/source4/rpc_server/dcerpc_server.h
@@ -99,10 +99,17 @@ struct dcesrv_call_state {
/* the backend can use this event context for async replies */
struct event_context *event_ctx;
+ /* the message_context that will be used for async replies */
+ struct messaging_context *msg_ctx;
+
/* this is the pointer to the allocated function struct */
void *r;
- /* that's the ndr push context used in dcesrv_request */
+ /*
+ * that's the ndr pull context used in dcesrv_request()
+ * needed by dcesrv_reply() to carry over information
+ * for full pointer support.
+ */
struct ndr_pull *ndr_pull;
DATA_BLOB input;