libevent integration
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 21 Dec 2010 23:37:55 +0000 (00:37 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 21 Dec 2010 23:46:19 +0000 (00:46 +0100)
commitceec483b7aac5ec74a718a1080de75e10860d298
treeeeb8df2e42e1b5faad96df1ccbeb5ca514a1c7f0
parentf4fcd4228633ddd1334f24f0a572d0667215082f
libevent integration

 - Add functions that are able to do just one read()/write() so they can be used as libevent callbacks.
 - Add linereader function that reads from "incomplete buffers" and falls back to a re-attemt if not enough data is available.
libcitadel/lib/libcitadel.h
libcitadel/lib/stringbuf.c