void mutt_pattern_free(struct PatternList **pat)
Free a Pattern.
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Convenience wrapper for the library headers.
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
void search_state_free(struct SearchState **ptr)
Free a SearchState.
struct SearchState * search_state_new(void)
Create a new SearchState.
struct Buffer * string
search string
struct Buffer * string_expn
expanded search string
struct PatternList * pattern
compiled search pattern