/* ClientSocket.h - NeonServ v5.3
- * Copyright (C) 2011 Philipp Kreil (pk910)
+ * 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
#define SOCKET_FLAG_RECONNECT 0x20
#define SOCKET_FLAG_SSL 0x40
#define SOCKET_FLAG_HAVE_SSL 0x80
+#define SOCKET_FLAG_QUITTED 0x100
+#define SOCKET_FLAG_FAST_JUMP 0x200
+
+#define SOCKET_HAVE_BOTCLASSVALUE1 0x10000000
+#define SOCKET_HAVE_BOTCLASSVALUE2 0x20000000
+#define SOCKET_HAVE_BOTCLASSVALUE3 0x40000000
#define BUF_SIZ 512
struct ClientSocket {
int sock;
- unsigned char flags;
+ unsigned int flags;
char buffer[BUF_SIZ*2]; //we need to store up to 2 full commands at once
unsigned int bufferpos;
char *host;
int botid : 16;
int clientid : 16;
+ void *botclassvalue1;
+ void *botclassvalue2;
+ void *botclassvalue3;
+
struct ClientSocket *next;
};