static struct kconf_id kconf_id_array[] = { { "mainmenu", T_MAINMENU, TF_COMMAND }, { "menu", T_MENU, TF_COMMAND }, { "endmenu", T_ENDMENU, TF_COMMAND }, { "source", T_SOURCE, TF_COMMAND }, { "choice", T_CHOICE, TF_COMMAND }, { "endchoice", T_ENDCHOICE, TF_COMMAND }, { "comment", T_COMMENT, TF_COMMAND }, { "config", T_CONFIG, TF_COMMAND }, { "menuconfig", T_MENUCONFIG, TF_COMMAND }, { "help", T_HELP, TF_COMMAND }, { "---help---", T_HELP, TF_COMMAND }, { "if", T_IF, TF_COMMAND|TF_PARAM }, { "endif", T_ENDIF, TF_COMMAND }, { "depends", T_DEPENDS, TF_COMMAND }, { "optional", T_OPTIONAL, TF_COMMAND }, { "default", T_DEFAULT, TF_COMMAND, S_UNKNOWN }, { "prompt", T_PROMPT, TF_COMMAND }, { "tristate", T_TYPE, TF_COMMAND, S_TRISTATE }, { "def_tristate", T_DEFAULT, TF_COMMAND, S_TRISTATE }, { "bool", T_TYPE, TF_COMMAND, S_BOOLEAN }, { "boolean", T_TYPE, TF_COMMAND, S_BOOLEAN }, { "def_bool", T_DEFAULT, TF_COMMAND, S_BOOLEAN }, { "int", T_TYPE, TF_COMMAND, S_INT }, { "hex", T_TYPE, TF_COMMAND, S_HEX }, { "string", T_TYPE, TF_COMMAND, S_STRING }, { "select", T_SELECT, TF_COMMAND }, { "imply", T_IMPLY, TF_COMMAND }, { "range", T_RANGE, TF_COMMAND }, { "visible", T_VISIBLE, TF_COMMAND }, { "option", T_OPTION, TF_COMMAND }, { "on", T_ON, TF_PARAM }, { "modules", T_OPT_MODULES, TF_OPTION }, { "defconfig_list", T_OPT_DEFCONFIG_LIST, TF_OPTION }, { "env", T_OPT_ENV, TF_OPTION }, { "allnoconfig_y", T_OPT_ALLNOCONFIG_Y, TF_OPTION }, }; #define KCONF_ID_ARRAY_SIZE (sizeof(kconf_id_array)/sizeof(struct kconf_id)) static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len) { int i; for (i = 0; i < KCONF_ID_ARRAY_SIZE; i++) { struct kconf_id *id = kconf_id_array+i; int l = strlen(id->name); if (len == l && !memcmp(str, id->name, len)) return id; } return NULL; }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
lxdialog | Folder | 0755 |
|
|
.gitignore | File | 154 B | 0644 |
|
Makefile | File | 10.69 KB | 0644 |
|
POTFILES.in | File | 361 B | 0644 |
|
check.sh | File | 249 B | 0755 |
|
conf.c | File | 15.75 KB | 0644 |
|
confdata.c | File | 25.65 KB | 0644 |
|
expr.c | File | 27.25 KB | 0644 |
|
expr.h | File | 7.07 KB | 0644 |
|
gconf.c | File | 38.17 KB | 0644 |
|
gconf.glade | File | 25.04 KB | 0644 |
|
images.c | File | 6.41 KB | 0644 |
|
kconf_id.c | File | 1.89 KB | 0644 |
|
kxgettext.c | File | 4.1 KB | 0644 |
|
list.h | File | 3.66 KB | 0644 |
|
lkc.h | File | 4.48 KB | 0644 |
|
lkc_proto.h | File | 2.14 KB | 0644 |
|
mconf.c | File | 27.74 KB | 0644 |
|
menu.c | File | 17.53 KB | 0644 |
|
merge_config.sh | File | 4.2 KB | 0755 |
|
nconf.c | File | 38.54 KB | 0644 |
|
nconf.gui.c | File | 14.77 KB | 0644 |
|
nconf.h | File | 1.87 KB | 0644 |
|
qconf.cc | File | 44.17 KB | 0644 |
|
qconf.h | File | 7.37 KB | 0644 |
|
streamline_config.pl | File | 16.17 KB | 0755 |
|
symbol.c | File | 30.36 KB | 0644 |
|
util.c | File | 2.91 KB | 0644 |
|
zconf.l | File | 6.9 KB | 0644 |
|
zconf.lex.c_shipped | File | 58.46 KB | 0644 |
|
zconf.tab.c_shipped | File | 70.17 KB | 0644 |
|
zconf.y | File | 16.01 KB | 0644 |
|