diff options
Diffstat (limited to 'server/src/session.h')
-rw-r--r-- | server/src/session.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/session.h b/server/src/session.h index f532452..8eace95 100644 --- a/server/src/session.h +++ b/server/src/session.h @@ -31,6 +31,7 @@ #include <string> #include <map> #include <exception> +#include <vector> #include "mutex.h" @@ -114,9 +115,15 @@ public: */ void store(); + // + // Admin methods + // + std::vector<std::string> activeSessions(); + private: std::map<std::string, Session *> sessions; Environment *env; + Mutex mutex; }; class SessionAutolock { |