summaryrefslogtreecommitdiff
path: root/server/src/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-08-11 14:29:43 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-08-11 14:29:43 +0300
commit04edaab436dae1747270d7d10c0586a2a4c222bf (patch)
treee8c059076ec341861c734ce2efd0d8afef431a33 /server/src/main.cpp
parent1aaddd285d1c3ba2ba99eef006062a32c4dedafc (diff)
missed changes
Diffstat (limited to 'server/src/main.cpp')
-rw-r--r--server/src/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/main.cpp b/server/src/main.cpp
index 3d3d0c4..30126fa 100644
--- a/server/src/main.cpp
+++ b/server/src/main.cpp
@@ -21,6 +21,7 @@
#include <boost/filesystem.hpp>
#include <boost/asio.hpp>
#include <iostream>
+#include <map>
#include "api_module_metadata_storage.h"
#include "modules_handler.h"
@@ -28,6 +29,7 @@
#include "server.h"
#include "main.h"
#include "config.h"
+#include "client.h"
core_api *module_api = nullptr;
@@ -36,6 +38,7 @@ modules_handler *modules = nullptr;
namespace bpo = boost::program_options;
+std::map<std::string, client> clients; //auth token used for key
runtime_config_s runtime_config;
@@ -177,7 +180,7 @@ int main(int argc, char *argv[])
{
//TODO:
}
- //TODO: run in separate thread
+ //TODO: run in separate thread ?
boost::system::error_code ec;
io_service_server.run(ec);
if(ec)