aboutsummaryrefslogtreecommitdiff
path: root/kconfig/lkc_proto.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-11-01 22:19:34 -0500
committerRob Landley <rob@landley.net>2006-11-01 22:19:34 -0500
commit1f24e8080858e62794ba4d2869a3ae1e383e47e7 (patch)
treeb593a9289b54c00ed5663fc6bafe3fa14e79fa4a /kconfig/lkc_proto.h
parent52fb04274b3491fdfe91b2e5acc23dc3f3064a86 (diff)
parent6ccb1b7897a12ccec511f60e41e8f54c81fcdd6d (diff)
downloadtoybox-1f24e8080858e62794ba4d2869a3ae1e383e47e7.tar.gz
The darn thing accidentally created a branch. I had to copy a half-dozen
files to temporary locations to get them out of the way of the merge, and the next checkin will be putting them _back_. This commit is entirely to humor mercurial, and if I could figure out how to avoid getting it in this weird state, I would.
Diffstat (limited to 'kconfig/lkc_proto.h')
-rw-r--r--kconfig/lkc_proto.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/kconfig/lkc_proto.h b/kconfig/lkc_proto.h
new file mode 100644
index 00000000..a263746c
--- /dev/null
+++ b/kconfig/lkc_proto.h
@@ -0,0 +1,42 @@
+
+/* confdata.c */
+P(conf_parse,void,(const char *name));
+P(conf_read,int,(const char *name));
+P(conf_read_simple,int,(const char *name, int));
+P(conf_write,int,(const char *name));
+P(conf_write_autoconf,int,(void));
+
+/* 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 *, struct symbol *, const char *), void *data, int prevtoken));