amxmodx/dlls/mysqlx/mysql/MysqlDriver.h

21 lines
600 B
C
Raw Normal View History

2006-04-23 05:10:06 +04:00
#ifndef _INCLUDE_SOURCEMOD_MYSQL_DRIVER_H
#define _INCLUDE_SOURCEMOD_MYSQL_DRIVER_H
#include "MysqlHeaders.h"
namespace SourceMod
{
class MysqlDriver : public ISQLDriver
{
public:
IDatabase *Connect(DatabaseInfo *info, int *errcode, char *error, size_t maxlength);
IDatabase *Connect2(DatabaseInfo *info, int *errcode, char *error, size_t maxlength);
2006-04-23 05:10:06 +04:00
const char *NameString();
bool IsCompatDriver(const char *namestring);
public:
IDatabase *_Connect(DatabaseInfo *info, int *errcode, char *error, size_t maxlength, bool do_timeout);
2006-04-23 05:10:06 +04:00
};
};
#endif //_INCLUDE_SOURCEMOD_MYSQL_DRIVER_H