Starting gsasl integration to perform challenge response authentication. Note that gsasl 1.3 is required (previous versions are not supported). Authentication is currently broken.

This commit is contained in:
lotodore
2009-10-11 09:20:17 +00:00
parent fe627fe6f5
commit 1f7f045d15
18 changed files with 123 additions and 100 deletions
+4 -4
View File
@@ -25,7 +25,7 @@
#include <string>
#include <list>
typedef std::list<db_id> db_list;
typedef std::list<DB_id> db_list;
class ServerDBInterface
{
@@ -39,11 +39,11 @@ public:
virtual void Stop() = 0;
virtual void AsyncPlayerLogin(unsigned requestId, const std::string &playerName, const std::string &secretString) = 0;
virtual void PlayerLogout(db_id playerId) = 0;
virtual void PlayerLogout(DB_id playerId) = 0;
virtual void AsyncCreateGame(unsigned requestId, const std::string &gameName) = 0;
virtual void SetGamePlayerPlace(db_id gameId, db_id playerId, unsigned place) = 0;
virtual void EndGame(db_id gameId) = 0;
virtual void SetGamePlayerPlace(DB_id gameId, DB_id playerId, unsigned place) = 0;
virtual void EndGame(DB_id gameId) = 0;
};
#endif