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>
Mon, 29 Sep 2014 15:01:06 +0000 (16:01 +0100)
commitddb488b773243d36be08f51267597c26686c6469
tree6b2278fc5ca9b36d715398a9698928297f4636aa
parentf545e6611e29cff81e4fa6fc84375362b776f5a2
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