Loading src/cluster.h +10 −0 Changes for src/cluster.h: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -156,12 +156,22 @@ namespace authdb { const uuid::uuid &uid, int dataType, const AuthData *records = nullptr); // List all sessions from the dedicated session store (local + imported). struct SessionInfo { uuid::uuid sid, uid, did; std::vector<uuid::uuid> members; std::string username; std::vector<std::pair<uuid::uuid, bool>> gpo_results; }; void listAllSessions(std::vector<SessionInfo> &out); private: ClusterConfig cfg_; std::atomic<bool> running_{false}; std::thread server_thread_; std::shared_ptr<paritypp::block_store> store_; std::shared_ptr<paritypp::memory_block_store> session_store_; // sessions only std::shared_ptr<paritypp::auth_store> auth_; std::unique_ptr<paritypp::server> server_; Loading Loading
src/cluster.h +10 −0 Changes for src/cluster.h: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -156,12 +156,22 @@ namespace authdb { const uuid::uuid &uid, int dataType, const AuthData *records = nullptr); // List all sessions from the dedicated session store (local + imported). struct SessionInfo { uuid::uuid sid, uid, did; std::vector<uuid::uuid> members; std::string username; std::vector<std::pair<uuid::uuid, bool>> gpo_results; }; void listAllSessions(std::vector<SessionInfo> &out); private: ClusterConfig cfg_; std::atomic<bool> running_{false}; std::thread server_thread_; std::shared_ptr<paritypp::block_store> store_; std::shared_ptr<paritypp::memory_block_store> session_store_; // sessions only std::shared_ptr<paritypp::auth_store> auth_; std::unique_ptr<paritypp::server> server_; Loading