aboutsummaryrefslogtreecommitdiff
path: root/src/hsts.h
blob: 693aec10bd9c823d4ca26cde6937e0f9526f7483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __HSTS_H__
#define __HSTS_H__

#include "d_size.h"
#include "url.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

void  a_Hsts_init(FILE *fp);
void  a_Hsts_set(const char *header, const DilloUrl *url);
bool_t a_Hsts_require_https(const char *host);
void  a_Hsts_freeall( void );

#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* !__HSTS_H__ */