diff options
Diffstat (limited to 'server/src/main.cpp')
-rw-r--r-- | server/src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/main.cpp b/server/src/main.cpp index 5ca4422..47dba02 100644 --- a/server/src/main.cpp +++ b/server/src/main.cpp @@ -1,5 +1,5 @@ /* - Copyright © 2015 Gluzskiy Alexandr (sss) + Copyright © 2015-2016 Gluzskiy Alexandr (sss) This file is part of Unknown Download Manager (UDM). @@ -47,6 +47,8 @@ runtime_config_s runtime_config; std::map<int, download_internal_s> downloads; +std::list<server_session*> sessions; //sessions to access from apis for modules, should be mutex guarded fro thread safety + server *serv = nullptr; |