summaryrefslogtreecommitdiffstats
path: root/WebServer/WebServer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--WebServer/WebServer.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/WebServer/WebServer.h b/WebServer/WebServer.h
index 90b38d407..d9d4b2fd1 100644
--- a/WebServer/WebServer.h
+++ b/WebServer/WebServer.h
@@ -89,16 +89,18 @@ public:
webserver(unsigned int port_to_listen, request_func);
~webserver();
- void Begin();
+ bool Begin();
void Stop();
private:
bool m_bStop;
-#ifdef _WIN32
+
+ #ifdef _WIN32
static unsigned __stdcall Request(void*);
-#else
+ #else
static void* Request(void*);
-#endif
+ #endif
+
static request_func request_func_;
cEvents * m_Events;