AcouSTO
version 2.0
◆
open_connection()
int open_connection
(
)
40
{
41
connection
= mysql_init(NULL);
42
mysql_real_connect(
connection
,
43
mysqlinfo->mysql_hostname,
44
mysqlinfo->mysql_user,
45
mysqlinfo->mysql_password,
46
mysqlinfo->mysql_db,
47
mysqlinfo->mysql_port,
48
0, 0);
49
if
(
connection
== NULL ) {
50
return
-1;
51
}
52
else
{
53
return
0;
54
}
55
}
connection
MYSQL * connection
Definition:
mysqlsave.c:36
Acousto2.0
trunk
src
mysql
mysqlsave.c
Generated on Wed Apr 5 2017 14:32:03 for AcouSTO by
1.8.13