using stls should not enable new CAPAs
[apps/madmutt.git] / lib-ui / history.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9
10 #ifndef _HISTORY_H
11 #define _HISTORY_H
12
13 enum history_class {
14   HC_FIRST,
15   HC_CMD = HC_FIRST,
16   HC_ALIAS,
17   HC_COMMAND,
18   HC_FILE,
19   HC_PATTERN,
20   HC_OTHER,
21   HC_LAST
22 };
23
24 typedef enum history_class history_class_t;
25
26 void mutt_init_history (void);
27 void mutt_history_add (history_class_t, const char *);
28 const char *mutt_history_next (history_class_t);
29 const char *mutt_history_prev (history_class_t);
30
31 #endif