aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/lkc_proto.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-04-20 20:17:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-04-20 20:17:34 +0000
commit8cc7b94ab02545a6ba6ec042df6e6821941d0e93 (patch)
tree1c9f8d640f5320a29eed7c1663a1965b976cd63c /scripts/config/lkc_proto.h
parentca0bd7a35e550d8fbcc4d3fff61da03a7d35d0c4 (diff)
downloadupstream-8cc7b94ab02545a6ba6ec042df6e6821941d0e93.tar.gz
upstream-8cc7b94ab02545a6ba6ec042df6e6821941d0e93.tar.bz2
upstream-8cc7b94ab02545a6ba6ec042df6e6821941d0e93.zip
add kconfig from linux 2.6 to scripts/config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config/lkc_proto.h')
-rw-r--r--scripts/config/lkc_proto.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/scripts/config/lkc_proto.h b/scripts/config/lkc_proto.h
new file mode 100644
index 0000000000..b6a389c5fc
--- /dev/null
+++ b/scripts/config/lkc_proto.h
@@ -0,0 +1,41 @@
+
+/* confdata.c */
+P(conf_parse,void,(const char *name));
+P(conf_read,int,(const char *name));
+P(conf_read_simple,int,(const char *name));
+P(conf_write,int,(const char *name));
+
+/* menu.c */
+P(rootmenu,struct menu,);
+
+P(menu_is_visible,bool,(struct menu *menu));
+P(menu_get_prompt,const char *,(struct menu *menu));
+P(menu_get_root_menu,struct menu *,(struct menu *menu));
+P(menu_get_parent_menu,struct menu *,(struct menu *menu));
+
+/* symbol.c */
+P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);
+P(sym_change_count,int,);
+
+P(sym_lookup,struct symbol *,(const char *name, int isconst));
+P(sym_find,struct symbol *,(const char *name));
+P(sym_re_search,struct symbol **,(const char *pattern));
+P(sym_type_name,const char *,(enum symbol_type type));
+P(sym_calc_value,void,(struct symbol *sym));
+P(sym_get_type,enum symbol_type,(struct symbol *sym));
+P(sym_tristate_within_range,bool,(struct symbol *sym,tristate tri));
+P(sym_set_tristate_value,bool,(struct symbol *sym,tristate tri));
+P(sym_toggle_tristate_value,tristate,(struct symbol *sym));
+P(sym_string_valid,bool,(struct symbol *sym, const char *newval));
+P(sym_string_within_range,bool,(struct symbol *sym, const char *str));
+P(sym_set_string_value,bool,(struct symbol *sym, const char *newval));
+P(sym_is_changable,bool,(struct symbol *sym));
+P(sym_get_choice_prop,struct property *,(struct symbol *sym));
+P(sym_get_default_prop,struct property *,(struct symbol *sym));
+P(sym_get_string_value,const char *,(struct symbol *sym));
+
+P(prop_get_type_name,const char *,(enum prop_type type));
+
+/* expr.c */
+P(expr_compare_type,int,(enum expr_type t1, enum expr_type t2));
+P(expr_print,void,(struct expr *e, void (*fn)(void *, const char *), void *data, int prevtoken));