mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
242b35eba8
Signed-off-by: DL6ER <dl6er@dl6er.de>
21 lines
576 B
C
21 lines
576 B
C
/* Pi-hole: A black hole for Internet advertisements
|
|
* (c) 2020 Pi-hole, LLC (https://pi-hole.net)
|
|
* Network-wide ad blocking via your own hardware.
|
|
*
|
|
* FTL Engine
|
|
* HTTP server prototypes
|
|
*
|
|
* This file is copyright under the latest version of the EUPL.
|
|
* Please see LICENSE file for your rights under this license. */
|
|
#ifndef WEBSERVER_H
|
|
#define WEBSERVER_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
void http_init(void);
|
|
void http_terminate(void);
|
|
|
|
in_port_t get_https_port(void) __attribute__((pure));
|
|
unsigned short get_api_string(char **buf, const bool domain);
|
|
|
|
#endif // WEBSERVER_H
|