summaryrefslogtreecommitdiff
path: root/source3/include/ntdomain.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-15 09:58:22 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-15 09:58:22 +0000
commit1076cfd78f37e23df7a5f2d9787b74b529d607d3 (patch)
tree682e34715e7d3ea8136c000b5dac0492a7e02b85 /source3/include/ntdomain.h
parent027780969910222e375b653c750c50604175763e (diff)
downloadsamba-1076cfd78f37e23df7a5f2d9787b74b529d607d3.tar.gz
samba-1076cfd78f37e23df7a5f2d9787b74b529d607d3.tar.bz2
samba-1076cfd78f37e23df7a5f2d9787b74b529d607d3.zip
addd grow_size to prs_struct so we know how much data is actually in
the buffer (This used to be commit 725889869ca2eb66000efe8a77cde52d9737a814)
Diffstat (limited to 'source3/include/ntdomain.h')
-rw-r--r--source3/include/ntdomain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index bee2abb3d9..8f5332e2ec 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;