From a138b3d31ef9952dc59630f478264f74091f613d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 9 Jul 2010 16:28:52 -0400 Subject: s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_struct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/include/ntdomain.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'source3/include') 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. @@ -98,13 +100,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. -- cgit