Code

strbuf utils: Added sdb_strbuf_cap().
authorSebastian Harl <sh@tokkee.org>
Fri, 16 May 2014 06:49:38 +0000 (08:49 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 16 May 2014 06:49:38 +0000 (08:49 +0200)
commite1af9ad9bafdd37cb6d1cb858e4f151e8bcf6bde
tree314fc12924db50ca6d72860699cc3a47a6a4741e
parent4fd156c45f4875aad3a12123e67082de33908bc4
strbuf utils: Added sdb_strbuf_cap().

This function returns the "capacity" of the string buffer. It's useful mostly
for testing, debugging, etc.
src/include/utils/strbuf.h
src/utils/strbuf.c