19#ifndef NETSURF_UTILS_HTTP_STRICT_TRANSPORT_SECURITY_H_
20#define NETSURF_UTILS_HTTP_STRICT_TRANSPORT_SECURITY_H_
22#include <libwapcaplet/libwapcaplet.h>
nserror
Enumeration of error codes.
nserror http_parse_strict_transport_security(const char *header_value, http_strict_transport_security **result)
Parse an HTTP Strict-Transport-Security header value.
void http_strict_transport_security_destroy(http_strict_transport_security *victim)
Destroy a strict transport security object.
bool http_strict_transport_security_include_subdomains(http_strict_transport_security *sts)
Get the value of a strict transport security's includeSubDomains flag.
uint32_t http_strict_transport_security_max_age(http_strict_transport_security *sts)
Get the value of a strict transport security's max-age.
Representation of a Strict-Transport-Security.