NeoMutt  2024-04-16-36-g75b6fb
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Helper object for storing and parsing strings

The Buffer object make parsing and manipulating strings easier.

The following unused functions were removed:

  • buf_upper()

Functions

Function Description Links
buf_add_printf() Format a string appending a Buffer
buf_addch() Add a single character to a Buffer
buf_addstr() Add a string to a Buffer
buf_addstr_n() Add a string to a Buffer, expanding it if necessary
buf_alloc() Make sure a buffer can store at least new_size bytes
buf_at() Return the character at the given offset
buf_coll() Collate two strings (compare using locale)
buf_concat_path() Join a directory name and a filename
buf_concatn_path() Join a directory name and a filename
buf_copy() Copy a Buffer's contents to another Buffer
buf_dealloc() Release the memory allocated by a buffer
buf_dequote_comment() Un-escape characters in an email address comment
buf_dup() Copy a Buffer into a new allocated buffer
buf_find_char() Return a pointer to a char found in the buffer
buf_find_string() Return a pointer to a substring found in the buffer
buf_fix_dptr() Move the dptr to end of the Buffer
buf_free() Deallocates a buffer
buf_init() Initialise a new Buffer
buf_inline_replace() Replace part of a string
buf_insert() Add a string in the middle of a buffer
buf_is_empty() Is the Buffer empty?
buf_istr_equal() Return if two buffers are equal, case insensitive
buf_join_str() Join a buffer with a string separated by sep
buf_len() Calculate the length of a Buffer
buf_lower() Sets a buffer to lowercase
buf_new() Allocate a new Buffer
buf_printf() Format a string overwriting a Buffer
buf_reset() Reset an existing Buffer
buf_rfind() Find last instance of a substring
buf_seek() Set current read/write position to offset from beginning
buf_startswith() Check whether a buffer starts with a prefix
buf_str_equal() Return if two buffers are equal
buf_strcpy() Copy a string into a Buffer
buf_strcpy_n() Copy a string into a Buffer
buf_strdup() Copy a Buffer's string
buf_substrcpy() Copy a partial string into a Buffer
buf_vaprintf() Format a string into a Buffer