chiark / gitweb /
comm: Formalise interface to udp sockets
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Sep 2014 23:51:58 +0000 (00:51 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Oct 2014 15:40:16 +0000 (16:40 +0100)
commitdc6f1ac81dd2460fcd241f05654d02713b1aaeb7
tree6083b052ee9d8a2b32f9605117f68f2c9658b009
parent1f4ff396bc3476bdfd6a87edcbb20cadd1c5b779
comm: Formalise interface to udp sockets

Have the poll registration done by the udpcommon/udpsocks code, rather
than by udp.c.  This means we can abolish the two wrapper functions,
but we do need an extra pointer in a udpsocks to find the udpcommon.

No overall functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
comm-common.h
udp.c