connection: factor out queue management code to queue.c
authorDaniel Mack <daniel@zonque.org>
Mon, 8 Sep 2014 15:14:46 +0000 (17:14 +0200)
committerDaniel Mack <daniel@zonque.org>
Mon, 8 Sep 2014 16:51:48 +0000 (18:51 +0200)
commitba8bc7bb7b845bf2a8707fe0b2b66aecb72dac3e
treefee213c017c2bd48ae863ff12b4f31e4a5ef9279
parent47231e32018b8e898144a915894bc3e0d1ff20a0
connection: factor out queue management code to queue.c

Move code that deals with the message queue and its items into queue.c.
This way, we can work towards a cleaner structure and cut down connection.c
which has grown too big.

The sepearation is not really strict at this point, and might see some
more cleanups in the future.
Makefile
connection.c
connection.h
handle.c
queue.c [new file with mode: 0644]
queue.h [new file with mode: 0644]