#include "awmysql.h"
#include "llt.h"
Functions | |
| __attribute__ ((constructor)) | |
| void | aw_mysql_connect (aw_mysql_cinfo_t *cinfo, aw_mysql_state_t *state, aw_logger_t *logger) |
| Get a db connection, from pool if exists or create a db connection. | |
| void | aw_mysql_disconnect (aw_mysql_cinfo_t *cinfo, aw_mysql_state_t *state, aw_logger_t *logger, int32_t close) |
| Release the db connection back to the pool, if 'close' is non-zero close the connection. | |
| void | aw_mysql_disconnect_all (aw_mysql_cinfo_t *cinfo, aw_mysql_state_t *state, aw_logger_t *logger) |
| Release the ALL db connections back to the pool with same login. | |
| int32_t | aw_mysql_initialized (void) |
| Non-zero if lib is initialize. | |
|
|
|
|
||||||||||||||||
|
Get a db connection, from pool if exists or create a db connection. aw_mysql_connect
|
|
||||||||||||||||||||
|
Release the db connection back to the pool, if 'close' is non-zero close the connection. aw_mysql_disconnect
|
|
||||||||||||||||
|
Release the ALL db connections back to the pool with same login. aw_mysql_disconnect_all
|
|
|
Non-zero if lib is initialize. aw_mysql_initialized |