summaryrefslogtreecommitdiff
path: root/extra/config/lkc_proto.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-05 01:52:39 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-05 01:52:39 +0000
commitfcf8c55eb4fbf21a5351afbf29e7d2c9a8b9835d (patch)
treec5cde3f43a81acd91425c7c4bd8054a90d07c7bf /extra/config/lkc_proto.h
parent5df743a806dc0a3fcbb998d6c7a64e9fa54b2fce (diff)
Merge/rework config system per the latest from linux-2.6.0-test2
-Erik
Diffstat (limited to 'extra/config/lkc_proto.h')
-rw-r--r--extra/config/lkc_proto.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/extra/config/lkc_proto.h b/extra/config/lkc_proto.h
index 47e9c6db3..97c79178e 100644
--- a/extra/config/lkc_proto.h
+++ b/extra/config/lkc_proto.h
@@ -5,7 +5,7 @@ P(conf_read,int,(const char *name));
P(conf_write,int,(const char *name));
/* menu.c */
-extern struct menu rootmenu;
+P(rootmenu,struct menu,);
P(menu_is_visible,bool,(struct menu *menu));
P(menu_get_prompt,const char *,(struct menu *menu));
@@ -14,17 +14,18 @@ P(menu_get_parent_menu,struct menu *,(struct menu *menu));
/* symbol.c */
P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);
-extern int sym_change_count;
+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_type_name,const char *,(int type));
+P(sym_type_name,const char *,(enum symbol_type type));
P(sym_calc_value,void,(struct symbol *sym));
-P(sym_get_type,int,(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));