struct gstr {
size_t len; char *s; /* * when max_width is not zero long lines in string s (if any) get * wrapped not to exceed the max_width value
*/ int max_width;
}; struct gstr str_new(void); void str_free(struct gstr *gs); void str_append(struct gstr *gs, constchar *s); void str_printf(struct gstr *gs, constchar *fmt, ...); char *str_get(conststruct gstr *gs);
bool menu_is_empty(struct menu *menu); bool menu_is_visible(struct menu *menu); bool menu_has_prompt(conststruct menu *menu); constchar *menu_get_prompt(conststruct menu *menu); struct menu *menu_get_parent_menu(struct menu *menu); struct menu *menu_get_menu_or_parent_menu(struct menu *menu); int get_jump_key_char(void); struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head); void menu_get_ext_help(struct menu *menu, struct gstr *help); void menu_dump(void);
/* symbol.c */ void sym_clear_all_valid(void); struct symbol *sym_choice_default(struct menu *choice); struct symbol *sym_calc_choice(struct menu *choice); struct property *sym_get_range_prop(struct symbol *sym); constchar *sym_get_string_default(struct symbol *sym); struct symbol *sym_check_deps(struct symbol *sym); struct symbol *prop_get_symbol(conststruct property *prop);
staticinline tristate sym_get_tristate_value(conststruct symbol *sym)
{ return sym->curr.tri;
}
staticinlinebool sym_is_choice(conststruct symbol *sym)
{ /* A choice is a symbol with no name */ return sym->name == NULL;
}
bool sym_is_choice_value(conststruct symbol *sym);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.