|
(Note that these are not member symbols.)
|
static void | debug_check_option_syntax (struct option *option) |
|
struct option * | get_opt_rec (struct option *tree, const char *name_) |
| Get record of option of given name, or NULL if there's no such option.
|
|
struct option * | get_opt_rec_real (struct option *tree, const char *name) |
| Get record of option of given name, or NULL if there's no such option.
|
|
struct option * | indirect_option (struct option *alias) |
| If opt is an alias, return the option to which it refers.
|
|
union option_value * | get_opt_ (char *file, int line, enum option_type option_type, struct option *tree, const char *name, struct session *ses) |
| Fetch pointer to value of certain option.
|
|
static void | add_opt_sort (struct option *tree, struct option *option, int abi) |
|
static void | add_opt_rec (struct option *tree, const char *path, struct option *option) |
| Add option to tree.
|
|
static struct listbox_item * | init_option_listbox_item (struct option *option) |
|
struct option * | add_opt (struct option *tree, const char *path, const char *capt, const char *name, option_flags_T flags, enum option_type type, long min, long max, intptr_t value, const char *desc) |
|
static void | done_option (struct option *option) |
|
static void | delete_option_do (struct option *option, int recursive) |
|
void | mark_option_as_deleted (struct option *option) |
|
void | delete_option (struct option *option) |
|
struct option * | copy_option (struct option *template_, int flags) |
|
struct option list * | init_options_tree (void) |
|
static void | update_visibility (struct option list *tree, int show) |
| Make option templates visible or invisible in the option manager.
|
|
static void | free_options_tree (struct option list *tree, int recursive) |
|
void | prepare_mustsave_flags (struct option list *tree, int set_all) |
| Set or clear the OPT_MUST_SAVE flag in all descendants of tree.
|
|
void | untouch_options (struct option list *tree) |
| Clear the OPT_TOUCHED flag in all descendants of tree.
|
|
static int | check_nonempty_tree (struct option list *options) |
|
void | smart_config_string (struct string *str, int print_comment, int i18n, struct option list *options, char *path, int depth, void(*fn)(struct string *, struct option *, char *, int, int, int, int)) |
|
#define | INIT_OPTION(name, flags, type, min, max, value, desc, capt) { NULL_LIST_HEAD_EL, INIT_OBJECT("option"), {name}, flags, type, min, max, { (LIST_OF(struct option) *) (value) }, desc, capt } |
| An initializer for struct option.
|
|
void | toggle_option (struct session *ses, struct option *option) |
| Toggle the value of the given option numeric, respecting option->min and option->max.
|
|
void | call_change_hooks (struct session *ses, struct option *current, struct option *option) |
| Call the change-hooks for the given option and recur on its parent.
|
|
void | option_changed (struct session *ses, struct option *option) |
| Do proper bookkeeping after an option has changed - call this every time you change an option value.
|
|
#define | add_opt_bool_tree(tree, path, capt, name, flags, def, desc) add_opt(tree, path, capt, name, flags, OPT_BOOL, 0, 1, (intptr_t) def, DESC(desc)) |
|
#define | add_opt_int_tree(tree, path, capt, name, flags, min, max, def, desc) add_opt(tree, path, capt, name, flags, OPT_INT, min, max, (intptr_t) def, DESC(desc)) |
|
#define | add_opt_long_tree(tree, path, capt, name, flags, min, max, def, desc) add_opt(tree, path, capt, name, flags, OPT_LONG, min, max, (intptr_t) def, DESC(desc)) |
|
#define | add_opt_str_tree(tree, path, capt, name, flags, def, desc) |
|
#define | add_opt_codepage_tree(tree, path, capt, name, flags, def, desc) add_opt(tree, path, capt, name, flags, OPT_CODEPAGE, 0, 0, (intptr_t) get_cp_index(def), DESC(desc)) |
|
#define | add_opt_lang_tree(tree, path, capt, name, flags, desc) add_opt(tree, path, capt, name, flags, OPT_LANGUAGE, 0, 0, (intptr_t) 0, DESC(desc)) |
|
#define | add_opt_color_tree(tree, path, capt, name, flags, def, desc) add_opt(tree, path, capt, name, flags, OPT_COLOR, 0, 0, (intptr_t) def, DESC(desc)) |
|
#define | add_opt_command_tree(tree, path, capt, name, flags, cmd, desc) add_opt(tree, path, capt, name, flags, OPT_COMMAND, 0, 0, (intptr_t) cmd, DESC(desc)); |
|
#define | add_opt_alias_tree(tree, path, capt, name, flags, def, desc) add_opt(tree, path, capt, name, flags, OPT_ALIAS, 0, strlen(def), (intptr_t) def, DESC(desc)) |
|
#define | add_opt_tree_tree(tree, path, capt, name, flags, desc) add_opt(tree, path, capt, name, flags, OPT_TREE, 0, 0, (intptr_t) init_options_tree(), DESC(desc)); |
|