lkc_proto.h 2.0 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4

/* confdata.c */
P(conf_parse,void,(const char *name));
P(conf_read,int,(const char *name));
5
P(conf_read_simple,int,(const char *name, int));
L
Linus Torvalds 已提交
6
P(conf_write,int,(const char *name));
R
Roman Zippel 已提交
7
P(conf_write_autoconf,int,(void));
8
P(conf_get_changed,bool,(void));
9
P(conf_set_changed_callback, void,(void (*fn)(void)));
L
Linus Torvalds 已提交
10 11 12 13 14 15 16 17

/* menu.c */
P(rootmenu,struct menu,);

P(menu_is_visible,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));
18 19
P(menu_has_help,bool,(struct menu *menu));
P(menu_get_help,const char *,(struct menu *menu));
20 21
P(get_symbol_str,void,(struct gstr *r, struct symbol *sym));
P(menu_get_ext_help,void,(struct menu *menu, struct gstr *help));
L
Linus Torvalds 已提交
22 23 24 25

/* symbol.c */
P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);

R
Roman Zippel 已提交
26
P(sym_lookup,struct symbol *,(const char *name, int flags));
L
Linus Torvalds 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
P(sym_find,struct symbol *,(const char *name));
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));
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));
P(sym_get_default_prop,struct property *,(struct symbol *sym));
P(sym_get_string_value,const char *,(struct symbol *sym));

P(prop_get_type_name,const char *,(enum prop_type type));

/* expr.c */
P(expr_compare_type,int,(enum expr_type t1, enum expr_type t2));
47
P(expr_print,void,(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken));