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)
commit80fedf36f4d42ff21be93998f821ed4f40cae5b1
treeeeb8df2e42e1b5faad96df1ccbeb5ca514a1c7f0
parent6e0f6ebb1715f14e9663da013cacac729aadfd3c
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