small leftover
[apps/madmutt.git] / 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_CMD,
15   HC_ALIAS,
16   HC_COMMAND,
17   HC_FILE,
18   HC_PATTERN,
19   HC_OTHER,
20   HC_LAST
21 };
22
23 #define HC_FIRST HC_CMD
24
25 typedef enum history_class history_class_t;
26
27 void mutt_init_history (void);
28 void mutt_history_add (history_class_t, const char *);
29 const char *mutt_history_next (history_class_t);
30 const char *mutt_history_prev (history_class_t);
31
32 #endif