blob: f14ab41154b665c5759e3234201296a0cfbd43aa [file] [log] [blame]
Roman Zippel7a884882005-11-08 21:34:51 -08001%language=ANSI-C
2%define hash-function-name kconf_id_hash
3%define lookup-function-name kconf_id_lookup
4%define string-pool-name kconf_id_strings
5%compare-strncmp
6%enum
7%pic
8%struct-type
9
10struct kconf_id;
11
Arnaud Lacombe61f956f2011-05-04 21:14:44 -040012static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
Josh Triplett65166572009-10-15 12:13:36 -070013
Roman Zippel7a884882005-11-08 21:34:51 -080014%%
15mainmenu, T_MAINMENU, TF_COMMAND
16menu, T_MENU, TF_COMMAND
17endmenu, T_ENDMENU, TF_COMMAND
18source, T_SOURCE, TF_COMMAND
19choice, T_CHOICE, TF_COMMAND
20endchoice, T_ENDCHOICE, TF_COMMAND
21comment, T_COMMENT, TF_COMMAND
22config, T_CONFIG, TF_COMMAND
23menuconfig, T_MENUCONFIG, TF_COMMAND
24help, T_HELP, TF_COMMAND
25if, T_IF, TF_COMMAND|TF_PARAM
26endif, T_ENDIF, TF_COMMAND
27depends, T_DEPENDS, TF_COMMAND
Roman Zippel7a884882005-11-08 21:34:51 -080028optional, T_OPTIONAL, TF_COMMAND
Roman Zippel3370f9f2005-11-08 21:34:52 -080029default, T_DEFAULT, TF_COMMAND, S_UNKNOWN
Roman Zippel7a884882005-11-08 21:34:51 -080030prompt, T_PROMPT, TF_COMMAND
Roman Zippel3370f9f2005-11-08 21:34:52 -080031tristate, T_TYPE, TF_COMMAND, S_TRISTATE
32def_tristate, T_DEFAULT, TF_COMMAND, S_TRISTATE
33bool, T_TYPE, TF_COMMAND, S_BOOLEAN
34boolean, T_TYPE, TF_COMMAND, S_BOOLEAN
35def_bool, T_DEFAULT, TF_COMMAND, S_BOOLEAN
Roman Zippel3370f9f2005-11-08 21:34:52 -080036int, T_TYPE, TF_COMMAND, S_INT
37hex, T_TYPE, TF_COMMAND, S_HEX
38string, T_TYPE, TF_COMMAND, S_STRING
Roman Zippel7a884882005-11-08 21:34:51 -080039select, T_SELECT, TF_COMMAND
Roman Zippel7a884882005-11-08 21:34:51 -080040range, T_RANGE, TF_COMMAND
Arnaud Lacombe86e187f2010-11-06 18:30:23 -030041visible, T_VISIBLE, TF_COMMAND
Roman Zippelf6a88aa2006-06-08 22:12:44 -070042option, T_OPTION, TF_COMMAND
Roman Zippel7a884882005-11-08 21:34:51 -080043on, T_ON, TF_PARAM
Roman Zippelf6a88aa2006-06-08 22:12:44 -070044modules, T_OPT_MODULES, TF_OPTION
45defconfig_list, T_OPT_DEFCONFIG_LIST,TF_OPTION
Roman Zippel93449082008-01-14 04:50:54 +010046env, T_OPT_ENV, TF_OPTION
Roman Zippel7a884882005-11-08 21:34:51 -080047%%