21 lines
354 B
C++
21 lines
354 B
C++
#ifndef HTTP_SERVER_H
|
|
#define HTTP_SERVER_H
|
|
|
|
#include "http/httplib.h"
|
|
|
|
using namespace httplib;
|
|
extern Server *svr;
|
|
|
|
static pthread_t http_server_thid;
|
|
extern int http_server_port;
|
|
extern char compressed_file_path[];
|
|
extern bool web_server_enabled;
|
|
|
|
namespace HttpServer
|
|
{
|
|
void *ServerThread(void *argp);
|
|
void Start();
|
|
void Stop();
|
|
}
|
|
|
|
#endif |