ELinks 0.16.1.1
|
#include <ctype.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "elinks.h"
#include "bfu/dialog.h"
#include "cache/cache.h"
#include "config/conf.h"
#include "config/dialogs.h"
#include "config/domain.h"
#include "config/home.h"
#include "config/options.h"
#include "config/opttypes.h"
#include "dialogs/status.h"
#include "document/document.h"
#include "globhist/globhist.h"
#include "intl/charsets.h"
#include "intl/libintl.h"
#include "main/main.h"
#include "main/select.h"
#include "network/connection.h"
#include "session/session.h"
#include "terminal/color.h"
#include "terminal/screen.h"
#include "terminal/terminal.h"
#include "util/color.h"
#include "util/error.h"
#include "util/memory.h"
#include "util/string.h"
#include "viewer/text/draw.h"
#include "config/options.inc"
Macros | |
#define | bad_punct(c) |
Functions | |
static void | add_opt_rec (struct option *, const char *, struct option *) |
static void | free_options_tree (struct option list *, int recursive) |
static void | check_caption (char *caption) |
static void | check_description (char *desc) |
struct option * | get_option_shadow (struct option *option, struct option *tree, struct option *shadow_tree) |
Return the shadow option in shadow_tree of option in tree. | |
static void | register_autocreated_options (void) |
Some default pre-autocreated options. | |
static int | change_hook_cache (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_connection (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_html (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_insert_mode (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_active_link (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_terminal (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_ui (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_ui_double_esc (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_stemplate (struct session *ses, struct option *current, struct option *changed) |
static int | change_hook_language (struct session *ses, struct option *current, struct option *changed) |
void | init_options (void) |
void | done_options (void) |
void | update_options_visibility (void) |
Update the visibility of the box item of each option in config_options to honour the value of config.show_template. | |
void | toggle_option (struct session *ses, struct option *option) |
void | call_change_hooks (struct session *ses, struct option *current, struct option *option) |
void | option_changed (struct session *ses, struct option *option) |
int | get_https_by_default (void) |
const char * | get_default_protocol (void) |
Variables | |
int | ui_double_esc |
static struct option list | options_root_tree = { D_LIST_HEAD(options_root_tree) } |
static struct option | options_root |
struct option * | config_options |
struct option * | cmdline_options |
static int | no_autocreate = 0 |
union option_info | cmdline_options_info [] |
static const struct change_hook_info | change_hooks [] |
#define bad_punct | ( | c | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void done_options | ( | void | ) |
const char * get_default_protocol | ( | void | ) |
int get_https_by_default | ( | void | ) |
struct option * get_option_shadow | ( | struct option * | option, |
struct option * | tree, | ||
struct option * | shadow_tree ) |
Return the shadow option in shadow_tree of option in tree.
If option isn't yet shadowed in shadow_tree, shadow it (i.e. create a copy in shadow_tree) along with any ancestors that aren't shadowed.
void init_options | ( | void | ) |
|
inlinestatic |
Some default pre-autocreated options.
Doh.
void update_options_visibility | ( | void | ) |
Update the visibility of the box item of each option in config_options to honour the value of config.show_template.
|
static |
struct option* cmdline_options |
|
extern |
struct option* config_options |
|
static |
|
static |
|
static |
|
extern |