1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/kconfig/lkc_proto.h Sat Mar 31 19:45:25 2007 +0000
1.3 @@ -0,0 +1,42 @@
1.4 +
1.5 +/* confdata.c */
1.6 +P(conf_parse,void,(const char *name));
1.7 +P(conf_read,int,(const char *name));
1.8 +P(conf_read_simple,int,(const char *name, int));
1.9 +P(conf_write,int,(const char *name));
1.10 +P(conf_write_autoconf,int,(void));
1.11 +
1.12 +/* menu.c */
1.13 +P(rootmenu,struct menu,);
1.14 +
1.15 +P(menu_is_visible,bool,(struct menu *menu));
1.16 +P(menu_get_prompt,const char *,(struct menu *menu));
1.17 +P(menu_get_root_menu,struct menu *,(struct menu *menu));
1.18 +P(menu_get_parent_menu,struct menu *,(struct menu *menu));
1.19 +
1.20 +/* symbol.c */
1.21 +P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);
1.22 +P(sym_change_count,int,);
1.23 +
1.24 +P(sym_lookup,struct symbol *,(const char *name, int isconst));
1.25 +P(sym_find,struct symbol *,(const char *name));
1.26 +P(sym_re_search,struct symbol **,(const char *pattern));
1.27 +P(sym_type_name,const char *,(enum symbol_type type));
1.28 +P(sym_calc_value,void,(struct symbol *sym));
1.29 +P(sym_get_type,enum symbol_type,(struct symbol *sym));
1.30 +P(sym_tristate_within_range,bool,(struct symbol *sym,tristate tri));
1.31 +P(sym_set_tristate_value,bool,(struct symbol *sym,tristate tri));
1.32 +P(sym_toggle_tristate_value,tristate,(struct symbol *sym));
1.33 +P(sym_string_valid,bool,(struct symbol *sym, const char *newval));
1.34 +P(sym_string_within_range,bool,(struct symbol *sym, const char *str));
1.35 +P(sym_set_string_value,bool,(struct symbol *sym, const char *newval));
1.36 +P(sym_is_changable,bool,(struct symbol *sym));
1.37 +P(sym_get_choice_prop,struct property *,(struct symbol *sym));
1.38 +P(sym_get_default_prop,struct property *,(struct symbol *sym));
1.39 +P(sym_get_string_value,const char *,(struct symbol *sym));
1.40 +
1.41 +P(prop_get_type_name,const char *,(enum prop_type type));
1.42 +
1.43 +/* expr.c */
1.44 +P(expr_compare_type,int,(enum expr_type t1, enum expr_type t2));
1.45 +P(expr_print,void,(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken));