2019-07-28 10:31:56 +08:00
|
|
|
|
#pragma once
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
|
|
extern char* var_cfg_mysql_dbaddr;
|
|
|
|
|
extern char* var_cfg_mysql_dbname;
|
|
|
|
|
extern char* var_cfg_mysql_dbuser;
|
|
|
|
|
extern char* var_cfg_mysql_dbpass;
|
|
|
|
|
|
|
|
|
|
extern int var_cfg_mysql_dbpool_limit;
|
|
|
|
|
extern int var_cfg_mysql_dbpool_timeout;
|
|
|
|
|
extern int var_cfg_mysql_dbpool_dbping;
|
|
|
|
|
|
|
|
|
|
/**
|
2019-07-28 10:31:56 +08:00
|
|
|
|
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
* @param path {const char*} <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD>
|
2014-11-19 00:25:21 +08:00
|
|
|
|
*/
|
|
|
|
|
bool db_conf_load(const char* path);
|
|
|
|
|
|
|
|
|
|
/**
|
2019-07-28 10:31:56 +08:00
|
|
|
|
* ж<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD>
|
2014-11-19 00:25:21 +08:00
|
|
|
|
*/
|
|
|
|
|
void db_conf_unload(void);
|