NetSurf
Data Fields
cookie_data Struct Reference

#include <cookie_db.h>

Collaboration diagram for cookie_data:
[legend]

Data Fields

const struct cookie_dataprev
 Previous in list. More...
 
const struct cookie_datanext
 Next in list. More...
 
const char * name
 Cookie name. More...
 
const char * value
 Cookie value. More...
 
const bool value_was_quoted
 Value was quoted in Set-Cookie: More...
 
const char * comment
 Cookie comment. More...
 
const bool domain_from_set
 Domain came from Set-Cookie: header. More...
 
const char * domain
 Domain. More...
 
const bool path_from_set
 Path came from Set-Cookie: header. More...
 
const char * path
 Path. More...
 
const time_t expires
 Expiry timestamp, or 1 for session. More...
 
const time_t last_used
 Last used time. More...
 
const bool secure
 Only send for HTTPS requests. More...
 
const bool http_only
 Only expose to HTTP(S) requests. More...
 
enum cookie_version version
 Specification compliance. More...
 
const bool no_destroy
 Never destroy this cookie, unless it's expired. More...
 

Detailed Description

Definition at line 44 of file cookie_db.h.

Field Documentation

◆ comment

const char* cookie_data::comment

Cookie comment.

Definition at line 51 of file cookie_db.h.

◆ domain

const char* cookie_data::domain

Domain.

Definition at line 53 of file cookie_db.h.

Referenced by CookieWindow::_DeleteCookies(), and cookie_manager_set_treeview_field_data().

◆ domain_from_set

const bool cookie_data::domain_from_set

Domain came from Set-Cookie: header.

Definition at line 52 of file cookie_db.h.

◆ expires

const time_t cookie_data::expires

Expiry timestamp, or 1 for session.

Definition at line 56 of file cookie_db.h.

Referenced by cookie_manager_set_treeview_field_data(), and CookieRow::CookieRow().

◆ http_only

const bool cookie_data::http_only

Only expose to HTTP(S) requests.

Definition at line 59 of file cookie_db.h.

Referenced by cookie_manager_set_treeview_field_data(), and CookieRow::CookieRow().

◆ last_used

const time_t cookie_data::last_used

Last used time.

Definition at line 57 of file cookie_db.h.

Referenced by cookie_manager_set_treeview_field_data().

◆ name

const char* cookie_data::name

◆ next

const struct cookie_data* cookie_data::next

Next in list.

Definition at line 46 of file cookie_db.h.

Referenced by urldb_iterate_entries_path().

◆ no_destroy

const bool cookie_data::no_destroy

Never destroy this cookie, unless it's expired.

Definition at line 63 of file cookie_db.h.

◆ path

const char* cookie_data::path

◆ path_from_set

const bool cookie_data::path_from_set

Path came from Set-Cookie: header.

Definition at line 54 of file cookie_db.h.

◆ prev

const struct cookie_data* cookie_data::prev

Previous in list.

Definition at line 45 of file cookie_db.h.

◆ secure

const bool cookie_data::secure

Only send for HTTPS requests.

Definition at line 58 of file cookie_db.h.

Referenced by cookie_manager_set_treeview_field_data(), and CookieRow::CookieRow().

◆ value

const char* cookie_data::value

Cookie value.

Definition at line 49 of file cookie_db.h.

Referenced by cookie_manager_set_treeview_field_data(), and CookieRow::CookieRow().

◆ value_was_quoted

const bool cookie_data::value_was_quoted

Value was quoted in Set-Cookie:

Definition at line 50 of file cookie_db.h.

◆ version

enum cookie_version cookie_data::version

Specification compliance.

Definition at line 60 of file cookie_db.h.

Referenced by cookie_manager_set_treeview_field_data().


The documentation for this struct was generated from the following file: