From 1076cfd78f37e23df7a5f2d9787b74b529d607d3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 May 2000 09:58:22 +0000 Subject: [PATCH] addd grow_size to prs_struct so we know how much data is actually in the buffer (This used to be commit 725889869ca2eb66000efe8a77cde52d9737a814) --- source3/include/ntdomain.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index bee2abb3d9a..8f5332e2ec8 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -49,7 +49,8 @@ typedef struct _prs_struct uint8 align; /* data alignment */ BOOL is_dynamic; /* Do we own this memory or not ? */ uint32 data_offset; /* Current working offset into data. */ - uint32 buffer_size; /* Current size of the buffer. */ + uint32 buffer_size; /* Current allocated size of the buffer. */ + uint32 grow_size; /* size requested via prs_grow() calls */ char *data_p; /* The buffer itself. */ } prs_struct;