diff --git a/src/cw/conn.h b/src/cw/conn.h index 6438b0aa..5895d06e 100644 --- a/src/cw/conn.h +++ b/src/cw/conn.h @@ -247,25 +247,6 @@ extern struct cwrmsg *conn_get_response(struct conn *conn); #define conn_get_last_seqnum(conn) (conn->seqnum&0xff) -/* connlist stuff */ -#include "avltree.h" -struct connlist { -/* struct conn ** connlist; */ - - struct avltree *t; - int len; - pthread_mutex_t connlist_mutex; -}; - - -struct connlist *connlist_create(int len); -void connlist_lock(struct connlist *cl); -void connlist_unlock(struct connlist *cl); -void conlist_destroy(struct connlist *cl); -struct conn *connlist_get(struct connlist *cl, const struct sockaddr *addr); -struct conn *connlist_add(struct connlist *cl, struct conn *conn); -void connlist_remove(struct connlist *cl, struct conn *conn); -void connlist_destroy(struct connlist *cl); void conn_q_add_packet(struct conn *conn, uint8_t * packet, int len); struct image_identifier;