* NewStrBufDupAppendFlush(): if you have an IO/Buf, and a maybe yet created or still...
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 11 Sep 2010 13:02:26 +0000 (15:02 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 11 Sep 2010 13:02:26 +0000 (15:02 +0200)
commit428c9a77e91859ce295b8f775dcf16450b3e8725
tree11f27dbf919b081be111d80ef8474e7c5b237e22
parent27894d501e017e45172cae54097693b46bce86c4
* NewStrBufDupAppendFlush(): if you have an IO/Buf, and a maybe yet created or still NULL target buffer, this is your friend. Depending on bufferlength it will choose to swap buffers or copy them over, so your target buffer won't become that huge for a short string.
libcitadel/lib/libcitadel.h
libcitadel/lib/stringbuf.c