|
acl
3.5.3.0
|
浏览该文件的文档. 2 #include "../acl_cpp_define.hpp" 3 #include "../stdlib/string.hpp" 4 #include "../db/db_handle.hpp" 6 #if !defined(ACL_CLIENT_ONLY) && !defined(ACL_DB_DISABLE) 20 static void load(
void);
26 const char* dbtype(
void)
const;
31 int get_errno(
void)
const;
36 const char* get_error(
void)
const;
41 bool dbopen(
const char* charset = NULL);
46 bool is_opened(
void)
const;
56 bool tbl_exists(
const char* tbl_name);
61 bool sql_select(
const char* sql,
db_rows* result = NULL);
66 bool sql_update(
const char* sql);
71 int affect_count(
void)
const;
76 bool begin_transaction(
void);
101 void sane_pgsql_init(
const char* dbaddr,
const char* dbname,
102 const char* dbuser,
const char* dbpass,
int conn_timeout,
103 int rw_timeout,
const char* charset);
104 void* sane_pgsql_query(
const char* sql);
109 #endif // !defined(ACL_CLIENT_ONLY) && !defined(ACL_DB_DISABLE)