author | Sebastian Harl <sh@tokkee.org> | |
Wed, 17 Dec 2014 21:53:55 +0000 (22:53 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 17 Dec 2014 21:53:55 +0000 (22:53 +0100) | ||
commit | 971e0d9e845bfcb14fcf175d72a136c4e1186f6c | |
tree | cd330bba0f5a321546e82d529514efd7c07bd336 | tree | snapshot |
parent | 3d184d708cdbf864eb96c15e1a0f08b57c118009 | commit | diff |
utils/strbuf: Added SDB_STRBUF_STR.
This macro returns a tuple describing the buffer content and length. The idea
is that functions which operate on (binary) strings should accept two such
arguments and the macro will make it easier to pass them in.
This macro returns a tuple describing the buffer content and length. The idea
is that functions which operate on (binary) strings should accept two such
arguments and the macro will make it easier to pass them in.
src/include/utils/strbuf.h | diff | blob | history |