DDraceNetwork Docs
connection.h File Reference
#include "connection_pool.h"
#include <engine/shared/protocol.h>
#include <memory>
Include dependency graph for connection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IDbConnection
 

Enumerations

enum  { MAX_NAME_LENGTH_SQL = MAX_NAME_LENGTH - 1 }
 

Functions

bool MysqlAvailable ()
 
int MysqlInit ()
 
void MysqlUninit ()
 
std::unique_ptr< IDbConnectionCreateSqliteConnection (const char *pFilename, bool Setup)
 
std::unique_ptr< IDbConnectionCreateMysqlConnection (CMysqlConfig Config)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_NAME_LENGTH_SQL 

Function Documentation

◆ CreateMysqlConnection()

std::unique_ptr< IDbConnection > CreateMysqlConnection ( CMysqlConfig  Config)

◆ CreateSqliteConnection()

std::unique_ptr< IDbConnection > CreateSqliteConnection ( const char *  pFilename,
bool  Setup 
)

◆ MysqlAvailable()

bool MysqlAvailable ( )

◆ MysqlInit()

int MysqlInit ( )

◆ MysqlUninit()

void MysqlUninit ( )