tagstruct: Add type _APPENDED
authorPeter Meerwald <p.meerwald@bct-electronic.com>
Wed, 22 Oct 2014 12:59:11 +0000 (14:59 +0200)
committerPeter Meerwald <pmeerw@pmeerw.net>
Thu, 26 Feb 2015 22:23:17 +0000 (23:23 +0100)
commitadb577c905f2e930bdd2bfe630d6ca0ea286d6cb
tree30bd2fc76cf3b2bf749cf80a976a8bf6e85984e6
parentab948629d35276ffe956dc897a0b38c391eacfea
tagstruct: Add type _APPENDED

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)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
src/pulsecore/tagstruct.c