add 128 bytes of storage in each tagstruct that will initially be used; if this storage is exceeded the type changes to _DYNAMIC
v3: (thanks David Henningson)
- add comments explaining how memory is handled by different tagstruct types
v2: (thanks Alexander Patrakov)
- replace constant 100 with GROW_TAG_SIZE (the increment in with a dynamic tagstruct grows when extend()ed)
adb577c tagstruct: Add type _APPENDED
src/pulsecore/tagstruct.c | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
Upstream: cgit.freedesktop.org