projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added experimental multi thread support
[NeonServV5.git]
/
src
/
mysqlConn.h
diff --git
a/src/mysqlConn.h
b/src/mysqlConn.h
index d226ff9460dd1e72d5dabae5b48e6d21c508e899..3af13c26e7032d72c671fb4f3f25ea3487ac9f82 100644
(file)
--- a/
src/mysqlConn.h
+++ b/
src/mysqlConn.h
@@
-1,5
+1,5
@@
-/* mysqlConn.h - NeonServ v5.
1
- * Copyright (C) 2011 Philipp Kreil (pk910)
+/* mysqlConn.h - NeonServ v5.
3
+ * Copyright (C) 2011
-2012
Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-23,8
+23,6
@@
#define MYSQLMAXLEN 1024
#define MYSQLMAXLEN 1024
-extern MYSQL *mysql_conn;
-
void check_mysql();
MYSQL_RES *mysql_use();
void mysql_free();
void check_mysql();
MYSQL_RES *mysql_use();
void mysql_free();
@@
-32,6
+30,8
@@
void init_mysql(char *host, int port, char *user, char *pass, char *base);
void free_mysql();
void show_mysql_error();
void printf_mysql_query(const char *text, ...) PRINTF_LIKE(1, 2);
void free_mysql();
void show_mysql_error();
void printf_mysql_query(const char *text, ...) PRINTF_LIKE(1, 2);
+void printf_long_mysql_query(int len, const char *text, ...) PRINTF_LIKE(2, 3);
char* escape_string(const char *str);
char* escape_string(const char *str);
+MYSQL *get_mysql_conn();
#endif
\ No newline at end of file
#endif
\ No newline at end of file