summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r--source4/librpc/rpc/dcerpc.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 39de9fcaa8..a609d17795 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -84,12 +84,6 @@ struct dcerpc_connection {
/* Sync requests waiting to be shipped */
struct rpc_request *request_queue;
- /* private pointer for pending binds */
- void *bind_private;
-
- /* private pointer for pending alter context requests */
- void *alter_private;
-
/* the next context_id to be assigned */
uint32_t next_context_id;
};
@@ -232,6 +226,11 @@ struct rpc_request {
uint32_t flags;
uint32_t fault_code;
+ /* this is used to distinguish bind and alter_context requests
+ from normal requests */
+ void (*recv_handler)(struct rpc_request *conn,
+ DATA_BLOB *blob, struct ncacn_packet *pkt);
+
const struct GUID *object;
uint16_t opnum;
DATA_BLOB request_data;