aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/lkc_proto.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-18 12:05:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-04-18 12:05:16 +0000
commit9d5510a500a1804484152adb8951dda3688658bc (patch)
tree6e4d8725c2956742201d0e14126f7e457b453c66 /scripts/config/lkc_proto.h
parent97e7fdf6fdb8a91da52f622b499181171262af19 (diff)
downloadupstream-9d5510a500a1804484152adb8951dda3688658bc.tar.gz
upstream-9d5510a500a1804484152adb8951dda3688658bc.tar.bz2
upstream-9d5510a500a1804484152adb8951dda3688658bc.zip
build: add new menuconfig code based on linux 3.9
SVN-Revision: 36361
Diffstat (limited to 'scripts/config/lkc_proto.h')
-rw-r--r--scripts/config/lkc_proto.h25
1 files changed, 20 insertions, 5 deletions
diff --git a/scripts/config/lkc_proto.h b/scripts/config/lkc_proto.h
index 14a3256bbd..ec5498fa77 100644
--- a/scripts/config/lkc_proto.h
+++ b/scripts/config/lkc_proto.h
@@ -1,25 +1,40 @@
+#include <stdarg.h>
/* confdata.c */
P(conf_parse,void,(const char *name));
P(conf_read,int,(const char *name));
-P(conf_reset,void,(void));
-P(conf_read_simple,int,(const char *name, int load_config));
+P(conf_read_simple,int,(const char *name, int));
+P(conf_reset,void,(int));
+P(conf_write_defconfig,int,(const char *name));
P(conf_write,int,(const char *name));
+P(conf_write_autoconf,int,(void));
+P(conf_get_changed,bool,(void));
+P(conf_set_changed_callback, void,(void (*fn)(void)));
+P(conf_set_message_callback, void,(void (*fn)(const char *fmt, va_list ap)));
/* menu.c */
P(rootmenu,struct menu,);
-P(menu_is_visible,bool,(struct menu *menu));
+P(menu_is_visible, bool, (struct menu *menu));
+P(menu_has_prompt, 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));
+P(menu_has_help,bool,(struct menu *menu));
+P(menu_get_help,const char *,(struct menu *menu));
+P(get_symbol_str, void, (struct gstr *r, struct symbol *sym, struct list_head
+ *head));
+P(get_relations_str, struct gstr, (struct symbol **sym_arr, struct list_head
+ *head));
+P(menu_get_ext_help,void,(struct menu *menu, struct gstr *help));
/* 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_lookup,struct symbol *,(const char *name, int flags));
P(sym_find,struct symbol *,(const char *name));
+P(sym_expand_string_value,const char *,(const char *in));
+P(sym_escape_string_value, const char *,(const char *in));
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));