Mercurial > hg > toybox
view toynet.h @ 1021:773e4862e790
syslogd: cleanup
- Remove structure fd_pair so that sigfd can go into GLOBALS
- Remove struct typedefs
- Inline setup_signal()
- Small fix in Usage message
author | Felix Janda <felix.janda@posteo.de> |
---|---|
date | Tue, 20 Aug 2013 23:15:48 +0200 |
parents | aca8323e2690 |
children |
line wrap: on
line source
// Included after toys.h, for network stuff. Some build environments // don't include network support, so we shouldn't include it unless we're // going to build it. #include <arpa/inet.h> #include <netdb.h> #include <net/if.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <poll.h> #include <sys/socket.h> #include <sys/un.h>