ELinks 0.18.0
Data Structures | Enumerations | Functions | Variables
cookies.h File Reference
#include "main/module.h"
#include "main/object.h"
#include "protocol/uri.h"
#include "util/string.h"
#include "util/time.h"
Include dependency graph for cookies.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  cookie_server
 
struct  cookie
 

Enumerations

enum  cookies_accept { COOKIES_ACCEPT_NONE , COOKIES_ACCEPT_ASK , COOKIES_ACCEPT_ALL }
 

Functions

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)
 
void accept_cookie (struct cookie *)
 
void done_cookie (struct cookie *)
 
void delete_cookie (struct cookie *)
 
void set_cookie (struct uri *, char *)
 
void load_cookies (void)
 
void save_cookies (struct terminal *)
 
void set_cookies_dirty (void)
 
struct string * send_cookies (struct uri *uri)
 
struct string * send_cookies_js (struct uri *uri)
 

Variables

struct module cookies_module
 

Enumeration Type Documentation

◆ cookies_accept

Enumerator
COOKIES_ACCEPT_NONE 
COOKIES_ACCEPT_ASK 
COOKIES_ACCEPT_ALL 

Function Documentation

◆ accept_cookie()

void accept_cookie ( struct cookie *  cookie)

◆ delete_cookie()

void delete_cookie ( struct cookie *  c)

◆ done_cookie()

void done_cookie ( struct cookie *  c)

◆ get_cookie_server()

struct cookie_server * get_cookie_server ( char *  host,
int  hostlen 
)

◆ init_cookie()

struct cookie * init_cookie ( char *  name,
char *  value,
char *  path,
char *  domain,
struct cookie_server *  server 
)

◆ load_cookies()

void load_cookies ( void  )

◆ save_cookies()

void save_cookies ( struct terminal *  term)

◆ send_cookies()

struct string * send_cookies ( struct uri *  uri)

◆ send_cookies_js()

struct string * send_cookies_js ( struct uri *  uri)

◆ set_cookie()

void set_cookie ( struct uri *  uri,
char *  str 
)

◆ set_cookies_dirty()

void set_cookies_dirty ( void  )

Variable Documentation

◆ cookies_module

struct module cookies_module
extern