kconfig/zconf.gperf
changeset 2882 da77b5e7cb9f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kconfig/zconf.gperf	Mon Feb 13 21:10:06 2012 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +%language=ANSI-C
     1.5 +%define hash-function-name kconf_id_hash
     1.6 +%define lookup-function-name kconf_id_lookup
     1.7 +%define string-pool-name kconf_id_strings
     1.8 +%compare-strncmp
     1.9 +%enum
    1.10 +%pic
    1.11 +%struct-type
    1.12 +
    1.13 +struct kconf_id;
    1.14 +
    1.15 +static struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
    1.16 +
    1.17 +%%
    1.18 +mainmenu,	T_MAINMENU,	TF_COMMAND
    1.19 +menu,		T_MENU,		TF_COMMAND
    1.20 +endmenu,	T_ENDMENU,	TF_COMMAND
    1.21 +source,		T_SOURCE,	TF_COMMAND
    1.22 +choice,		T_CHOICE,	TF_COMMAND
    1.23 +endchoice,	T_ENDCHOICE,	TF_COMMAND
    1.24 +comment,	T_COMMENT,	TF_COMMAND
    1.25 +config,		T_CONFIG,	TF_COMMAND
    1.26 +menuconfig,	T_MENUCONFIG,	TF_COMMAND
    1.27 +help,		T_HELP,		TF_COMMAND
    1.28 +if,		T_IF,		TF_COMMAND|TF_PARAM
    1.29 +endif,		T_ENDIF,	TF_COMMAND
    1.30 +depends,	T_DEPENDS,	TF_COMMAND
    1.31 +optional,	T_OPTIONAL,	TF_COMMAND
    1.32 +default,	T_DEFAULT,	TF_COMMAND, S_UNKNOWN
    1.33 +prompt,		T_PROMPT,	TF_COMMAND
    1.34 +tristate,	T_TYPE,		TF_COMMAND, S_TRISTATE
    1.35 +def_tristate,	T_DEFAULT,	TF_COMMAND, S_TRISTATE
    1.36 +bool,		T_TYPE,		TF_COMMAND, S_BOOLEAN
    1.37 +boolean,	T_TYPE,		TF_COMMAND, S_BOOLEAN
    1.38 +def_bool,	T_DEFAULT,	TF_COMMAND, S_BOOLEAN
    1.39 +int,		T_TYPE,		TF_COMMAND, S_INT
    1.40 +hex,		T_TYPE,		TF_COMMAND, S_HEX
    1.41 +string,		T_TYPE,		TF_COMMAND, S_STRING
    1.42 +select,		T_SELECT,	TF_COMMAND
    1.43 +range,		T_RANGE,	TF_COMMAND
    1.44 +visible,	T_VISIBLE,	TF_COMMAND
    1.45 +option,		T_OPTION,	TF_COMMAND
    1.46 +on,		T_ON,		TF_PARAM
    1.47 +modules,	T_OPT_MODULES,	TF_OPTION
    1.48 +defconfig_list,	T_OPT_DEFCONFIG_LIST,TF_OPTION
    1.49 +env,		T_OPT_ENV,	TF_OPTION
    1.50 +%%