11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or (at
14 * your option) any later version.
16 * This program is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
26 * Copyright © 2006 Pierre Habouzit
29 /***** THIS FILE IS AUTOGENERATED DO NOT MODIFY DIRECTLY ! *****/
36 echo "$tok, RCTK_`echo $tok | tr 'a-z-' 'A-Z_'`"
41 cat <<EOF | gperf -m16 -l -t -C -F",0" -Nrc_which_token_aux
45 #include <lib-lib/lib-lib.h>
48 static const struct tok *
49 rc_which_token_aux(const char *str, unsigned int len);
52 struct tok { const char *name; int val; };
57 static int rc_which_token(const char *s, ssize_t len)
63 const struct tok *res = rc_which_token_aux(s, len);
64 return res ? res->val : -1;
72 trap "rm -f $1" 1 2 3 15
73 grep '^### ' < $0 | cut -d' ' -f2 | do_c
77 #****************************************************************************#
78 # muttrc tokens list #
79 #****************************************************************************#
126 ### unalternative_order