tried to reorder the program structure and build process
[NeonServV5.git] / src / mysqlConn.h
1 #ifndef _MySQLConn_h
2 #define _MySQLConn_h
3
4 #include "main.h"
5 #include <mysql.h>
6 #include <mysql/errmsg.h>
7
8 #define MYSQLMAXLEN 1024
9
10 extern MYSQL *mysql_conn;
11
12 void check_mysql();
13 MYSQL_RES *mysql_use();
14 void mysql_free();
15 void init_mysql();
16 void free_mysql();
17 void show_mysql_error();
18 void printf_mysql_query(const char *text, ...) PRINTF_LIKE(1, 2);
19 char* escape_string(const char *str);
20
21 #endif