JunkBox_Lib 1.10.1
|
MySQL用ライブラリ More...
#include "mysql_tool.h"
Go to the source code of this file.
Functions | |
MYSQL * | sql_open (char *hostname, char *dbname, char *username, char *passwd, unsigned int tmot) |
void | sql_close (MYSQL *mysql) |
Definition in file mysql_tool.c.
void sql_close | ( | MYSQL * | mysql | ) |
Definition at line 50 of file mysql_tool.c.
MYSQL * sql_open | ( | char * | hostname, |
char * | dbname, | ||
char * | username, | ||
char * | passwd, | ||
unsigned int | tmot ) |
Definition at line 14 of file mysql_tool.c.
References Buffer::buf, decomp_hostport(), file_exist(), free_Buffer(), make_Buffer_bystr, SQL_CONF_FILE, and SQL_DEFAULT_TIMEOUT.