1 #ifndef ACL_DBSQL_INCLUDE_H 2 #define ACL_DBSQL_INCLUDE_H 4 #ifndef ACL_CLIENT_ONLY 10 #include "../stdlib/acl_define.h" 14 #define ACL_DB_ATOU(_str_) (_str_ ? strtoul(_str_, (char **) NULL, 10) : 0) 43 const char *sql,
int *error);
70 int (*walk_fn)(
const void** result_row,
void *arg),
void *arg);
89 int (*walk_fn)(
const void** result_row,
void *arg),
void *arg);
ACL_API void acl_dbsql_free_result(ACL_DB_HANDLE *handle, ACL_SQL_RES *res)
ACL_API int acl_dbsql_update(ACL_DB_HANDLE *handle, const char *sql, int *error)
ACL_API ACL_SQL_RES * acl_dbsql_select(ACL_DB_HANDLE *handle, const char *sql, int *error)
ACL_API int acl_dbsql_results(ACL_DB_HANDLE *handle, const char *sql, int *error, int(*walk_fn)(const void **result_row, void *arg), void *arg)
ACL_API int acl_dbsql_result(ACL_DB_HANDLE *handle, const char *sql, int *error, int(*walk_fn)(const void **result_row, void *arg), void *arg)