# lkc_proto.h

    00001
    00002 /* confdata.c */
    00003 P(conf_parse,void,(const char *name));
    00004 P(conf_read,int,(const char *name));
    00005 P(conf_write,int,(const char *name));
    00006
    00007 /* menu.c */
    00008 P(rootmenu,struct menu,);
    00009
    00010 P(menu_is_visible,bool,(struct menu *menu));
    00011 P(menu_get_prompt,const char *,(struct menu *menu));
    00012 P(menu_get_root_menu,struct menu *,(struct menu *menu));
    00013 P(menu_get_parent_menu,struct menu *,(struct menu *menu));
    00014
    00015 /* symbol.c */
    00016 P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);
    00017 P(sym_change_count,int,);
    00018
    00019 P(sym_lookup,struct symbol *,(const char *name, int isconst));
    00020 P(sym_find,struct symbol *,(const char *name));
    00021 P(sym_type_name,const char *,(enum symbol_type type));
    00022 P(sym_calc_value,void,(struct symbol *sym));
    00023 P(sym_get_type,enum symbol_type,(struct symbol *sym));
    00024 P(sym_tristate_within_range,bool,(struct symbol *sym,tristate tri));
    00025 P(sym_set_tristate_value,bool,(struct symbol *sym,tristate tri));
    00026 P(sym_toggle_tristate_value,tristate,(struct symbol *sym));
    00027 P(sym_string_valid,bool,(struct symbol *sym, const char *newval));
    00028 P(sym_string_within_range,bool,(struct symbol *sym, const char *str));
    00029 P(sym_set_string_value,bool,(struct symbol *sym, const char *newval));
    00030 P(sym_is_changable,bool,(struct symbol *sym));
    00031 P(sym_get_choice_prop,struct property *,(struct symbol *sym));
    00032 P(sym_get_default_prop,struct property *,(struct symbol *sym));
    00033 P(sym_get_string_value,const char *,(struct symbol *sym));
    00034
    00035 P(prop_get_type_name,const char *,(enum prop_type type));
    00036
    00037 /* expr.c */
    00038 P(expr_compare_type,int,(enum expr_type t1, enum expr_type t2));
    00039 P(expr_print,void,(struct expr *e, void (*fn)(void *, const char *), void *data, int prevtoken));