aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
AgeCommit message (Collapse)AuthorFilesLines
2015-09-15buffer: add buffer_put0 to store a NUL terminated stringMarc André Tanner1-0/+2
2015-09-15buffer: add buffer_append0 to append NUL terminated stringsMarc André Tanner1-0/+2
2015-05-16Cleanup general purpose buffer APIMarc André Tanner1-6/+13
Introduce buffer_init to initialize a stack allocated buffer. Rename buffer_{alloc,free} functions because they do something different than the usual convention. They operate on the underlying buffer data but do not allocate/free an actual Buffer struct.
2015-01-02Constify buffer APIMarc André Tanner1-2/+2
2014-12-18Macro supportMarc André Tanner1-0/+20
At some point this should be optimized further at the moment there is some 20 byte overhead for each entered key.