15#define PREFS_START_PAGE "about:splash"
16#define PREFS_HOME "https://dillo-browser.github.io/"
17#define PREFS_NEW_TAB_PAGE "about:blank"
18#define PREFS_FONT_SERIF "DejaVu Serif"
19#define PREFS_FONT_SANS_SERIF "DejaVu Sans"
20#define PREFS_FONT_CURSIVE "DejaVu Sans"
21#define PREFS_FONT_FANTASY "DejaVu Sans"
22#define PREFS_FONT_MONOSPACE "DejaVu Sans Mono"
23#define PREFS_SEARCH_URL "dd http://duckduckgo.com/lite/?kp=-1&kd=-1&q=%s"
24#define PREFS_NO_PROXY "localhost 127.0.0.1"
25#define PREFS_SAVE_DIR "/tmp/"
26#define PREFS_HTTP_REFERER "host"
27#define PREFS_HTTP_USER_AGENT "Dillo/" VERSION
28#define PREFS_THEME "none"
char * dStrdup(const char *s)
Dlist * dList_new(int size)
Create a new empty list.
int dList_length(Dlist *lp)
For completing the ADT.
void * dList_nth_data(Dlist *lp, int n0)
Return the nth data item, NULL when not found or 'n0' is out of range.
void dList_append(Dlist *lp, void *data)
Append a data item to the list.
void dList_free(Dlist *lp)
Free a list (not its elements)
DilloPrefs prefs
Global Data.
#define PREFS_HTTP_USER_AGENT
#define PREFS_FONT_CURSIVE
#define PREFS_NEW_TAB_PAGE
void a_Prefs_freeall(void)
memory-deallocation.
#define PREFS_FONT_MONOSPACE
#define PREFS_HTTP_REFERER
void a_Prefs_init(void)
Sets the default settings.
#define PREFS_FONT_FANTASY
#define PREFS_FONT_SANS_SERIF
#define PREFS_GEOMETRY_DEFAULT_XPOS
#define PREFS_GEOMETRY_DEFAULT_YPOS
#define PREFS_GEOMETRY_DEFAULT_WIDTH
#define PREFS_GEOMETRY_DEFAULT_HEIGHT
bool_t http_persistent_conns
bool_t enterpress_forces_submit
bool_t parse_embedded_css
int32_t ui_button_highlight_color
char * ignore_image_formats
int32_t ui_tab_active_bg_color
int32_t ui_selection_color
int32_t white_bg_replacement
bool_t show_extra_warnings
bool_t load_background_images
int penalty_em_dash_right
int32_t ui_tab_active_fg_color
bool_t middle_click_drags_page
bool_t right_click_closes_tab
bool_t adjust_table_min_width
bool_t http_strict_transport_security
bool_t scrollbar_page_mode
int32_t scroll_page_overlap
bool_t contrast_visited_color
bool_t scroll_switches_tabs
int penalty_em_dash_right_2
int stretchability_factor
bool_t scroll_switches_tabs_reverse
bool_t middle_click_opens_new_tab
void a_Url_free(DilloUrl *url)
Free a DilloUrl.
DilloUrl * a_Url_new(const char *url_str, const char *base_url)
Transform (and resolve) an URL string into the respective DilloURL.