warning fixes
[apps/madmutt.git] / mapping.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 MAPPING_H
11 #define MAPPING_H
12
13 struct mapping_t {
14   const char *name;
15   int value;
16 };
17
18 char *mutt_getnamebyvalue (int, const struct mapping_t *);
19 char *mutt_compile_help (char *, size_t, int, struct mapping_t *);
20
21 int mutt_getvaluebyname (const char *, const struct mapping_t *);
22
23 #endif