36#ifndef MUTT_HISTORY_LIB_H
37#define MUTT_HISTORY_LIB_H
94void dlg_history(
char *buf,
size_t buflen,
char **matches,
int match_count);
void dlg_history(char *buf, size_t buflen, char **matches, int match_count)
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.
int mutt_hist_search(const char *search_buf, enum HistoryClass hclass, char **matches)
Find matches in 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.
void mutt_hist_complete(char *buf, size_t buflen, enum HistoryClass hclass)
Complete a string from a history list.
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.
void mutt_hist_cleanup(void)
Free all the history lists.
A line in the History menu.
const char * history
Description of history.
Data passed to a notification function.