Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
hsts.h
Go to the documentation of this file.
1#ifndef __HSTS_H__
2#define __HSTS_H__
3
4#include "d_size.h"
5#include "url.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif /* __cplusplus */
10
11void a_Hsts_init(FILE *fp);
12void a_Hsts_set(const char *header, const DilloUrl *url);
13bool_t a_Hsts_require_https(const char *host);
14void a_Hsts_freeall( void );
15
16#ifdef __cplusplus
17}
18#endif /* __cplusplus */
19#endif /* !__HSTS_H__ */
unsigned char bool_t
Definition d_size.h:21
bool_t a_Hsts_require_https(const char *host)
Definition hsts.c:271
void a_Hsts_init(FILE *fp)
Definition hsts.c:357
void a_Hsts_freeall(void)
Definition hsts.c:55
void a_Hsts_set(const char *header, const DilloUrl *url)
The reponse for this url had an HSTS header, so let's take action.
Definition hsts.c:201
Definition url.h:88
Parse and normalize all URL's inside Dillo.