summaryrefslogtreecommitdiffstats
path: root/buffer.h
AgeCommit message (Collapse)Author
2019-02-12Add mutt_buffer_len() helper.Kevin McCarthy
2018-12-03Add mutt_buffer_addstr_n().Kevin McCarthy
2018-10-15Add rfc1524 buffer function interfaces for attach.c conversion.Kevin McCarthy
The rfc1524 functions call, and are called by, many functions that need to be converted. But to keep the conversion manageable, install helper interface functions that pass the buffer->data and buffer->dsize in and adjust the buffer->dptr afterwards.
2018-10-08Create mutt_buffer_add_printf().Kevin McCarthy
Change mutt_buffer_printf() to overwrite the buffer contents, like mutt_buffer_strcpy(). mutt_buffer_add*() functions append to the buffer contents.
2018-10-06Add buffer pool functions.Kevin McCarthy
Also add a few helper functions: mutt_buffer_clear(), mutt_buffer_strcpy(), and a macro mutt_b2s to grab the buffer data as a const char *.
2018-10-06Rearrange and clean up buffer functions.Kevin McCarthy
2018-10-06Break buffer functions into separate source file.Kevin McCarthy