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