|
ELinks 0.19.1
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <time.h>#include "elinks.h"#include "bfu/dialog.h"#include "cookies/cookies.h"#include "cookies/dialogs.h"#include "cookies/path.h"#include "cookies/parser.h"#include "config/home.h"#include "config/kbdbind.h"#include "config/options.h"#include "intl/libintl.h"#include "main/module.h"#include "main/object.h"#include "main/select.h"#include "protocol/date.h"#include "protocol/header.h"#include "protocol/protocol.h"#include "protocol/uri.h"#include "session/session.h"#include "terminal/terminal.h"#include "util/conv.h"#include "util/file.h"#include "util/memory.h"#include "util/secsave.h"#include "util/string.h"
Data Structures | |
| struct | c_domain |
Macros | |
| #define | COOKIES_FILENAME "cookies" |
| #define | get_opt_cookies(which) |
| #define | get_cookies_accept_policy() |
| #define | get_cookies_max_age() |
| #define | get_cookies_paranoid_security() |
| #define | get_cookies_save() |
| #define | get_cookies_resave() |
| #define | CANNOT_SAVE_COOKIES(flags, message) |
Enumerations | |
| enum | cookies_option { COOKIES_TREE , COOKIES_ACCEPT_POLICY , COOKIES_MAX_AGE , COOKIES_PARANOID_SECURITY , COOKIES_SAVE , COOKIES_RESAVE , COOKIES_OPTIONS } |
Functions | |
| struct cookie_server * | get_cookie_server (char *host, int hostlen) |
| static void | done_cookie_server (struct cookie_server *cs) |
| void | done_cookie (struct cookie *c) |
| void | delete_cookie (struct cookie *c) |
| static int | is_domain_security_ok (char *domain, char *server, int server_len) |
| struct cookie * | init_cookie (char *name, char *value, char *path, char *domain, struct cookie_server *server) |
| void | set_cookie (struct uri *uri, char *str) |
| void | accept_cookie (struct cookie *cookie) |
| static struct string * | send_cookies_common (struct uri *uri, unsigned int httponly) |
| struct string * | send_cookies (struct uri *uri) |
| struct string * | send_cookies_js (struct uri *uri) |
| static void | done_cookies (struct module *module) |
| void | load_cookies (void) |
| static void | resave_cookies_bottom_half (void *always_null) |
| void | set_cookies_dirty (void) |
| void | save_cookies (struct terminal *term) |
| static void | init_cookies (struct module *module) |
| static void | free_cookies_list (struct cookie list *list) |
Variables | |
| static int | cookies_nosave = 0 |
| static struct cookie list | cookies = { D_LIST_HEAD_EL(cookies) } |
| static struct c_domain list | c_domains = { D_LIST_HEAD_EL(c_domains) } |
| static struct cookie_server list | cookie_servers = { D_LIST_HEAD_EL(cookie_servers) } |
| static int | cookies_dirty = 0 |
| static union option_info | cookies_options [] |
| struct module | cookies_module |
| #define CANNOT_SAVE_COOKIES | ( | flags, | |
| message ) |
| #define COOKIES_FILENAME "cookies" |
| #define get_cookies_accept_policy | ( | ) |
| #define get_cookies_max_age | ( | ) |
| #define get_cookies_paranoid_security | ( | ) |
| #define get_cookies_resave | ( | ) |
| #define get_cookies_save | ( | ) |
| #define get_opt_cookies | ( | which | ) |
| enum cookies_option |
| void accept_cookie | ( | struct cookie * | cookie | ) |
| void delete_cookie | ( | struct cookie * | c | ) |
| void done_cookie | ( | struct cookie * | c | ) |
|
static |
|
static |
|
static |
| struct cookie_server * get_cookie_server | ( | char * | host, |
| int | hostlen ) |
| struct cookie * init_cookie | ( | char * | name, |
| char * | value, | ||
| char * | path, | ||
| char * | domain, | ||
| struct cookie_server * | server ) |
|
static |
|
static |
| void load_cookies | ( | void | ) |
|
static |
| void save_cookies | ( | struct terminal * | term | ) |
| void set_cookie | ( | struct uri * | uri, |
| char * | str ) |
| void set_cookies_dirty | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
| struct module cookies_module |
|
static |
|
static |