Files
FTL/src/webserver/webserver.h
T
2023-11-30 21:59:39 +01:00

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