acl/lib_acl_cpp/app/ndb/ctl_server/db_conf.h

22 lines
462 B
C
Raw Normal View History

2014-11-19 00:25:21 +08:00
#pragma once
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;
/**
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* @param path {const char*} <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD>
*/
bool db_conf_load(const char* path);
/**
* ж<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD>
*/
void db_conf_unload(void);