37#ifndef MUTT_HISTORY_LIB_H
38#define MUTT_HISTORY_LIB_H
void dlg_history(struct Buffer *buf, struct HistoryArray *matches)
Select an item from a history list -.
int main_hist_observer(struct NotifyCallback *nc)
Notification that a Config Variable has change - Implements observer_t -.
char * mutt_hist_next(enum HistoryClass hclass)
Get the next string in a History.
void mutt_hist_read_file(void)
Read the History from a file.
void mutt_hist_save_scratch(enum HistoryClass hclass, const char *str)
Save a temporary string to the History.
void mutt_hist_complete(struct Buffer *buf, enum HistoryClass hclass)
Complete a string from a history list.
void mutt_hist_init(void)
Create a set of empty History ring buffers.
bool mutt_hist_at_scratch(enum HistoryClass hclass)
Is the current History position at the 'scratch' place?
void mutt_hist_add(enum HistoryClass hclass, const char *str, bool save)
Add a string to a history.
void mutt_hist_reset_state(enum HistoryClass hclass)
Move the 'current' position to the end of the History.
char * mutt_hist_prev(enum HistoryClass hclass)
Get the previous string in a History.
ExpandoDataHistory
Expando UIDs for History.
@ ED_HIS_MATCH
HistoryEntry.history.
@ ED_HIS_NUMBER
HistoryEntry.num.
HistoryClass
Type to differentiate different histories.
@ HC_EXT_COMMAND
External commands.
@ HC_NEO_COMMAND
NeoMutt commands.
@ HC_OTHER
Miscellaneous strings.
int mutt_hist_search(const char *find, enum HistoryClass hclass, struct HistoryArray *matches)
Find matches in a history list.
void mutt_hist_cleanup(void)
Free all the history lists.
String manipulation buffer.
A line in the History menu.
const char * history
Description of history.
Data passed to a notification function.