Changes in server/DataAccess.h [b128109:edfd1d0] in network-game
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/DataAccess.h
rb128109 redfd1d0 3 3 4 4 #include <string> 5 #include <list>6 5 7 6 #include <mysql/mysql.h> … … 17 16 18 17 int insertPlayer(string username, string password); 19 int updatePlayer(string username, string password);20 18 21 Player* getPlayer(string username); 22 list<Player*>* getPlayers(); 23 bool verifyPassword(string encrypted, string password); 19 Player *getPlayer(string username); 20 int printPlayers(); 24 21 25 22 int insert(string table, string rows, string values); 26 int update(string table, string values, string where);27 23 MYSQL_RES *select(string table, string filter); 28 24
Note:
See TracChangeset
for help on using the changeset viewer.