uhub/src/network
Jan Vidar Krey b81bb2cbd9 Cleaned up all list iterations, added macro named LIST_FOREACH.
Previously you would have to do something like this:

for (type foo = (type) list_get_first(list); foo; foo = (type) list_get_next(list)
{
    /* code */
}

Now, you can instead write this as:

LIST_FOREACH(type, foo, list,
{
    /* code */
})

Basically, boilerplate stuff including the casting is gone.
2013-03-22 00:58:14 +01:00
..
backend.c Don't poll the connection monitor if there are no connections added. 2013-02-05 22:38:13 +01:00
backend.h Reworked the error handling of non-blocking reads and writes. 2012-10-17 09:16:02 +02:00
common.h Fixed accept/connect state event propagation. 2012-10-17 09:25:15 +02:00
connection.c Created a connection establishment API. 2013-02-05 22:40:20 +01:00
connection.h Created a connection establishment API. 2013-02-05 22:40:20 +01:00
dnsresolver.c Cleaned up all list iterations, added macro named LIST_FOREACH. 2013-03-22 00:58:14 +01:00
dnsresolver.h Created a connection establishment API. 2013-02-05 22:40:20 +01:00
epoll.c Fix some small memory leaks. 2010-04-21 18:34:55 +02:00
ipcalc.c Moved the ipcalc code to the network directory. 2012-10-03 12:59:05 +02:00
ipcalc.h Moved the ipcalc code to the network directory. 2012-10-03 12:59:05 +02:00
kqueue.c Fix bug #133 - Kqueue backend crash (BSD/OSX) 2010-05-28 15:22:33 +02:00
network.c Initial implementation of an async DNS client API with getaddrinfo + pthreads. 2012-10-24 23:19:14 +02:00
network.h Update copyright year. 2012-10-17 20:00:52 +02:00
openssl.c Disable SSL compression. 2012-11-01 10:39:31 +01:00
select.c don't show error on SIGTERM in select() backend 2012-05-05 01:10:24 +02:00
timeout.c Many Visual C++ compile warnings and errors fixed. 2011-01-03 00:03:07 +01:00
timeout.h Moved the timeout code to where it belongs, along with the network backend code. 2010-01-26 22:55:08 +01:00
timer.c Fixed bad logic inside the timer scheduling. 2010-01-21 23:13:52 +01:00
tls.h Removed the last bits of OpenSSL code called directly 2012-10-17 20:53:05 +02:00