#define SOCKET_FLAG_PREFERRED 0x08 /* prefered bot to send datas to the IRC World (NOTICE's WHO's etc pp) */
#define SOCKET_FLAG_USE_QUEUE 0x10
#define SOCKET_FLAG_RECONNECT 0x20
+#define SOCKET_FLAG_SSL 0x40
#define BUF_SIZ 512
struct UserNode;
struct trigger_cache;
+struct SSLConnection;
struct ClientSocket {
int sock;
unsigned long traffic_in;
unsigned long traffic_out;
time_t connection_time;
+ struct SSLConnection *sslconn;
struct BotQueue *queue;