|
static enum parse_error | show_parse_error (const struct conf_parsing_state *state, enum parse_error err) |
| Tell the user about an error in the configuration file.
|
|
static void | skip_white (struct conf_parsing_pos *pos) |
| Skip comments and whitespace.
|
|
static void | skip_quoted (struct conf_parsing_pos *pos) |
| Skip a quoted string.
|
|
static void | skip_option_value (struct conf_parsing_pos *pos) |
| Skip the value of an option.
|
|
static void | skip_to_unquoted_newline_or_comment (struct conf_parsing_pos *pos) |
| Skip to the next newline or comment that is not part of a quoted string.
|
|
static enum parse_error | parse_set_common (struct option *opt_tree, struct conf_parsing_state *state, struct string *mirror, int is_system_conf, int want_domain) |
|
static enum parse_error | parse_set_domain (struct option *opt_tree, struct conf_parsing_state *state, struct string *mirror, int is_system_conf) |
|
static enum parse_error | parse_set (struct option *opt_tree, struct conf_parsing_state *state, struct string *mirror, int is_system_conf) |
|
static enum parse_error | parse_unset (struct option *opt_tree, struct conf_parsing_state *state, struct string *mirror, int is_system_conf) |
|
static enum parse_error | parse_bind (struct option *opt_tree, struct conf_parsing_state *state, struct string *mirror, int is_system_conf) |
|
static int | load_config_file (const char *, const char *, struct option *, struct string *, int) |
|
static enum parse_error | parse_include (struct option *opt_tree, struct conf_parsing_state *state, struct string *mirror, int is_system_conf) |
|
static enum parse_error | parse_config_command (struct option *options, struct conf_parsing_state *state, struct string *mirror, int is_system_conf) |
|
enum parse_error | parse_config_exmode_command (char *cmd) |
|
void | parse_config_file (struct option *options, const char *name, char *file, struct string *mirror, int is_system_conf) |
|
static char * | read_config_file (char *name) |
|
static void | load_config_from (char *file, struct option *tree) |
|
void | load_config (void) |
|
static const char * | conf_i18n (const char *s, int i18n) |
|
static void | add_indent_to_string (struct string *string, int depth) |
|
struct string * | wrap_option_desc (struct string *out, const char *src, const struct string *indent, int maxwidth) |
|
static void | output_option_desc_as_comment (struct string *out, const struct option *option, int i18n, int depth) |
|
static void | smart_config_output_fn (struct string *string, struct option *option, char *path, int depth, int do_print_comment, int action, int i18n) |
|
static void | smart_config_output_fn_html (struct string *string, struct option *option, char *path, int depth, int do_print_comment, int action, int i18n) |
|
static void | add_cfg_header_to_string (struct string *string, const char *text) |
|
char * | create_about_config_string (void) |
|
char * | create_config_string (const char *prefix, const char *name) |
|
static int | write_config_file (char *prefix, char *name, struct terminal *term) |
|
int | write_config (struct terminal *term) |
|
void | set_option_or_save (const char *str) |
|