Function
SoupHSTSPolicynew_full
Declaration [src]
SoupHSTSPolicy*
soup_hsts_policy_new_full (
const char* domain,
unsigned long max_age,
GDateTime* expires,
gboolean include_subdomains
)
Description [src]
Full version of soup_hsts_policy_new()
, to use with an existing
expiration date.
See soup_hsts_policy_new()
for details.
Parameters
domain |
const char* |
Policy domain or hostname. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
max_age |
unsigned long |
Max age of the policy. |
|
expires |
GDateTime |
The date of expiration of the policy or |
|
The data is owned by the caller of the function. | |
include_subdomains |
gboolean |
|
Return value
Returns: | SoupHSTSPolicy |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |