1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

addd grow_size to prs_struct so we know how much data is actually in

the buffer
(This used to be commit 725889869c)
This commit is contained in:
Andrew Tridgell 2000-05-15 09:58:22 +00:00
parent 0277809699
commit 1076cfd78f

View File

@ -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;