* 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)
commit4f7e52b8966e9505e1521b7d2e0ec952d3f467ad
tree11f27dbf919b081be111d80ef8474e7c5b237e22
parent99a532b0a130d86a98c19f181f3de3ab2d7c4ea7
* 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