Re: [Libevent-users] strange bufferevent_new interface

2006-07-27 Thread Niels Provos
Have a look at the code that is in CVS. At the moment, only EV_WRITE is enabled by default. I have to think about the implications of NULL callbacks. Thanks for the patch. Niels. On 7/27/06, Rainer Giedat [EMAIL PROTECTED] wrote: Hi, while reading some code which used buffered events, i

Re: [Libevent-users] strange bufferevent_new interface

2006-07-27 Thread William Ahern
On Thu, Jul 27, 2006 at 09:27:09PM +0200, Rainer Giedat wrote: Hi, while reading some code which used buffered events, i saw that you really have to define callbacks for read, write and error, even if you do not care about one of them. Is there a reason for that? This ends up in ugly