21 lines
342 B
C++
21 lines
342 B
C++
#ifndef EZ_HTTP_SERVER_H
|
|
#define EZ_HTTP_SERVER_H
|
|
|
|
#include "http/httplib.h"
|
|
|
|
using namespace httplib;
|
|
extern Server *svr;
|
|
|
|
extern int http_server_port;
|
|
|
|
namespace HttpServer
|
|
{
|
|
void *ServerThread(void *argp);
|
|
void Start();
|
|
void Stop();
|
|
void StartDownloadThread();
|
|
void StopDownloadThread();
|
|
bool IsStarted();
|
|
}
|
|
|
|
#endif |