comm: Break out common code in comm
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Sep 2014 11:05:28 +0000 (12:05 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 6 Oct 2014 23:23:07 +0000 (00:23 +0100)
commit54d5ef0053f1f9ef4e34dacba002513e5ccea0fd
tree7770c211a790347489ceab7548f02cbc7b62db9d
parentc1ddd026a2cc6d68a0d47033817a3d9b7670a71e
comm: Break out common code in comm

We are going to want to introduce a new kind of comm.  Currently we
only have one comm, udp, in udp.c - much of whose code we will want to
reuse.

Break that generic comm-handling code out into new files, functions
and macros.

No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile.in
comm-common.c [new file with mode: 0644]
comm-common.h [new file with mode: 0644]
secnet.h
udp.c