1#if !defined(RESIP_MYSQLDB_HXX)
2#define RESIP_MYSQLDB_HXX
7#include <mysql/mysql.h>
15 class TransactionUser;
63 virtual bool dbBeginTransaction(
const Table table);
65 void initialize()
const;
66 void disconnectFromDatabase()
const;
67 int connectToDatabase()
const;
virtual TlsPeerIdentityRecord getTlsPeerIdentity(const Key &key) const
virtual Key firstTlsPeerIdentityKey()
virtual bool addUser(const Key &key, const UserRecord &rec)
virtual Key nextUserKey()
virtual Key firstUserKey()
virtual int singleResultQuery(const resip::Data &queryCommand, std::vector< resip::Data > &fields) const
MySqlDb(const resip::ConfigParse &config, const resip::Data &dbServer, const resip::Data &user, const resip::Data &password, const resip::Data &databaseName, unsigned int port, const resip::Data &customUserAuthQuery)
virtual UserRecord getUser(const Key &key) const
virtual bool addTlsPeerIdentity(const Key &key, const TlsPeerIdentityRecord &rec)
virtual resip::Data getUserAuthInfo(const Key &key) const
virtual Key nextTlsPeerIdentityKey()
An iostream that operates on an existing Data.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
This Class is used to implement a primitive form of RPC using loose XML formatting.
dcm! – add UnusedChecking(_enum) below;