int port;
char *pass;
struct UserNode *user;
+ unsigned long traffic_in;
+ unsigned long traffic_out;
+ time_t connection_time;
- int botid;
+ int botid : 16;
+ int clientid : 16;
struct ClientSocket *next;
};
void socket_loop(int timeout_seconds);
void putsock(struct ClientSocket *client, const char *text, ...) PRINTF_LIKE(2, 3);
struct ClientSocket* getBots(int flags, struct ClientSocket* last_bot);
+void free_sockets();
#endif
\ No newline at end of file