kconfig/lkc_proto.h
changeset 3159 fb71cad4b085
parent 943 1cca90ce0481
     1.1 --- a/kconfig/lkc_proto.h	Fri Oct 17 12:47:53 2008 +0000
     1.2 +++ b/kconfig/lkc_proto.h	Thu Jan 10 00:27:13 2013 +0100
     1.3 @@ -1,28 +1,36 @@
     1.4 +#include <stdarg.h>
     1.5  
     1.6  /* confdata.c */
     1.7  P(conf_parse,void,(const char *name));
     1.8  P(conf_read,int,(const char *name));
     1.9  P(conf_read_simple,int,(const char *name, int));
    1.10 +P(conf_write_defconfig,int,(const char *name));
    1.11  P(conf_write,int,(const char *name));
    1.12  P(conf_write_autoconf,int,(void));
    1.13  P(conf_get_changed,bool,(void));
    1.14  P(conf_set_changed_callback, void,(void (*fn)(void)));
    1.15 +P(conf_set_message_callback, void,(void (*fn)(const char *fmt, va_list ap)));
    1.16  
    1.17  /* menu.c */
    1.18  P(rootmenu,struct menu,);
    1.19  
    1.20 -P(menu_is_visible,bool,(struct menu *menu));
    1.21 +P(menu_is_visible, bool, (struct menu *menu));
    1.22 +P(menu_has_prompt, bool, (struct menu *menu));
    1.23  P(menu_get_prompt,const char *,(struct menu *menu));
    1.24  P(menu_get_root_menu,struct menu *,(struct menu *menu));
    1.25  P(menu_get_parent_menu,struct menu *,(struct menu *menu));
    1.26  P(menu_has_help,bool,(struct menu *menu));
    1.27  P(menu_get_help,const char *,(struct menu *menu));
    1.28 +P(get_symbol_str, void, (struct gstr *r, struct symbol *sym));
    1.29 +P(get_relations_str, struct gstr, (struct symbol **sym_arr));
    1.30 +P(menu_get_ext_help,void,(struct menu *menu, struct gstr *help));
    1.31  
    1.32  /* symbol.c */
    1.33  P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);
    1.34  
    1.35  P(sym_lookup,struct symbol *,(const char *name, int flags));
    1.36  P(sym_find,struct symbol *,(const char *name));
    1.37 +P(sym_expand_string_value,const char *,(const char *in));
    1.38  P(sym_re_search,struct symbol **,(const char *pattern));
    1.39  P(sym_type_name,const char *,(enum symbol_type type));
    1.40  P(sym_calc_value,void,(struct symbol *sym));