aboutsummaryrefslogtreecommitdiff
path: root/src/query.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/query.hh')
-rw-r--r--src/query.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/query.hh b/src/query.hh
index f9cd8de..7d3c2a8 100644
--- a/src/query.hh
+++ b/src/query.hh
@@ -2,7 +2,7 @@
#define TIBIA_QUERY_HH_ 1
#include "common.hh"
-#include "thread.hh"
+#include "threads.hh"
struct TQueryManagerConnection{
TQueryManagerConnection(int QueryBufferSize);
@@ -28,6 +28,10 @@ struct TQueryManagerConnection{
};
struct TQueryManagerConnectionPool{
+ TQueryManagerConnectionPool(int Connections);
+
+ // DATA
+ // =================
int NumberOfConnections;
TQueryManagerConnection *QueryManagerConnection;
bool *QueryManagerConnectionFree;