24#ifndef MUTT_PATTERN_SEARCH_STATE_H
25#define MUTT_PATTERN_SEARCH_STATE_H
44#define SEARCH_NO_FLAGS 0
45#define SEARCH_PROMPT (1 << 0)
46#define SEARCH_OPPOSITE (1 << 1)
uint8_t SearchFlags
Flags for a specific search, e.g. SEARCH_PROMPT.
struct SearchState * search_state_new(void)
Create a new SearchState.
void search_state_free(struct SearchState **search)
Free a SearchState.
String manipulation buffer.
struct Buffer * string
search string
struct Buffer * string_expn
expanded search string
bool reverse
search backwards
struct PatternList * pattern
compiled search pattern