diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-12-22 10:10:40 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-12-22 10:10:40 +0100 |
commit | d18bf841d7c4867c06862147122de5cc2f01b4c6 (patch) | |
tree | 7da8495a47fb6a8ef9fc762421a81f12f7292cc4 /adk/config/lkc_proto.h | |
parent | b390eafdcf03f34ac6e2c22be43c27fbc93f01f0 (diff) | |
parent | f919a87612241c71e924588610f22260a3e9370e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'adk/config/lkc_proto.h')
-rw-r--r-- | adk/config/lkc_proto.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/adk/config/lkc_proto.h b/adk/config/lkc_proto.h index 8e6946131..ecdb9659b 100644 --- a/adk/config/lkc_proto.h +++ b/adk/config/lkc_proto.h @@ -1,28 +1,40 @@ +#include <stdarg.h> /* 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_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_empty, 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_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)); |