fhq-server
v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
|
Public Member Functions | |
FakeStorage () | |
virtual bool | applyConfigFromFile (const std::string &sFilePath) |
virtual WsjcppStorageConnection * | connect () |
virtual void | clean () |
virtual std::string | prepareStringValue (const std::string &sValue) |
virtual std::vector< std::string > | prepareSqlQueries (const WsjcppStorageInsert &storageInsert) |
virtual std::vector< std::string > | prepareSqlQueries (const WsjcppStorageCreateTable &storageCreateTable) |
virtual std::vector< std::string > | prepareSqlQueries (const WsjcppStorageModifyTable &storageModifyTable) |
virtual std::vector< std::string > | prepareSqlQueries (const WsjcppStorageDropTable &storageDropTable) |
![]() | |
WsjcppStorage () | |
bool | executeStorageChanges (WsjcppStorageConnection *pConn, WsjcppStorageChanges &storageChanges) |
bool | addStorageChanges (WsjcppStorageChanges &storageChanges) |
bool | insertRow (WsjcppStorageConnection *pConn, const WsjcppStorageInsert &storageInsert) |
const std::map< std::string, WsjcppStorageTable > & | getTables () |
bool | existsTable (const std::string &sTableName) |
const WsjcppStorageTable & | getTableDef (const std::string &sTableName) |
Private Attributes | |
FakeVersion * | m_pVersion |
Additional Inherited Members | |
![]() | |
static std::string | type () |
![]() | |
std::string | TAG |
|
inline |
|
inlinevirtual |
Implements WsjcppStorage.
|
inlinevirtual |
Implements WsjcppStorage.
|
inlinevirtual |
Implements WsjcppStorage.
|
inlinevirtual |
Implements WsjcppStorage.
|
inlinevirtual |
Implements WsjcppStorage.
|
inlinevirtual |
Implements WsjcppStorage.
|
inlinevirtual |
Implements WsjcppStorage.
|
inlinevirtual |
Implements WsjcppStorage.
|
private |