summaryrefslogtreecommitdiff
path: root/source3/include/ntdomain.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-09 16:28:52 -0400
committerGünther Deschner <gd@samba.org>2010-07-13 14:44:10 +0200
commita138b3d31ef9952dc59630f478264f74091f613d (patch)
treed29bf8842161dd0402db3e41140aaa0b95d3d754 /source3/include/ntdomain.h
parentd078b54b22061be808c07a40e0e55dd00591cc69 (diff)
downloadsamba-a138b3d31ef9952dc59630f478264f74091f613d.tar.gz
samba-a138b3d31ef9952dc59630f478264f74091f613d.tar.bz2
samba-a138b3d31ef9952dc59630f478264f74091f613d.zip
s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_struct
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include/ntdomain.h')
-rw-r--r--source3/include/ntdomain.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 25bef47493..f18bf7facd 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -88,8 +88,10 @@ typedef struct _input_data {
* is collected via multiple writes until a complete
* pdu is seen, then the data is copied into the in_data
* structure. The maximum size of this is 0x1630 (RPC_MAX_PDU_FRAG_LEN).
+ * If length is zero, then we are at the start of a new
+ * pdu.
*/
- uint8_t *current_in_pdu;
+ DATA_BLOB pdu;
/*
* The amount of data needed to complete the in_pdu.
@@ -99,13 +101,6 @@ typedef struct _input_data {
uint32 pdu_needed_len;
/*
- * The amount of data received so far in the in_pdu.
- * If this is zero, then we are at the start of a new
- * pdu.
- */
- uint32 pdu_received_len;
-
- /*
* This is the collection of input data with all
* the rpc headers and auth footers removed.
* The maximum length of this (1Mb) is strictly enforced.