24#ifndef _NETSURF_COOKIE_DB_H_
25#define _NETSURF_COOKIE_DB_H_
void urldb_save_cookies(const char *filename)
Save persistent cookies to file.
void urldb_iterate_cookies(bool(*callback)(const struct cookie_data *cookie))
Iterate over all cookies in database.
cookie_version
Version of cookie.
void urldb_delete_cookie(const char *domain, const char *path, const char *name)
Delete a cookie.
void urldb_load_cookies(const char *filename)
Load a cookie file into the database.
const char * comment
Cookie comment.
const struct cookie_data * prev
Previous in list.
const struct cookie_data * next
Next in list.
const char * name
Cookie name.
const bool path_from_set
Path came from Set-Cookie: header.
const bool http_only
Only expose to HTTP(S) requests.
const bool value_was_quoted
Value was quoted in Set-Cookie:
const time_t last_used
Last used time.
const char * domain
Domain.
enum cookie_version version
Specification compliance.
const bool domain_from_set
Domain came from Set-Cookie: header.
const bool secure
Only send for HTTPS requests.
const char * value
Cookie value.
const bool no_destroy
Never destroy this cookie, unless it's expired.
const time_t expires
Expiry timestamp, or 1 for session.
Interface to time operations.
static nserror path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.