25 #ifndef _DATABASE_H_SQLITE 26 #define _DATABASE_H_SQLITE 36 typedef unsigned __int64 uint64_t;
37 typedef __int64 int64_t;
42 #ifdef SQLITEW_NAMESPACE 43 namespace SQLITEW_NAMESPACE {
69 pthread_mutex_t m_mutex;
77 Lock(
Mutex& mutex,
bool use);
91 typedef std::list<OPENDB *> opendb_v;
102 bool Connected(
void);
104 void RegErrHandler(
IError *);
105 void error(
Query&,
const char *format, ...);
106 void error(
Query&,
const std::string& );
127 std::string safestr(
const std::string& );
129 std::string xmlsafestr(
const std::string& );
132 int64_t a2bigint(
const std::string& );
134 uint64_t a2ubigint(
const std::string& );
136 inline const std::string &getName(
void)
const 142 void error(
const char *format, ...);
144 std::string database;
153 #ifdef SQLITEW_NAMESPACE 157 #endif // _DATABASE_H Mutex container class, used by Lock.
Definition: Database.h:58
Definition: Database.h:53
Connection pool struct.
Definition: Database.h:85
SQL Statement execute / result.
Definition: Query.h:49
Log class interface.
Definition: IError.h:41