Hi,

i was once again reading the manpage and the doxygen documentation on the
webpages but i was really confused on whether e.g. "bufferevent_write_buffer"
takes over ownership of the passed evbuffer. I mean evbuffer_new is the
source of the evbuffers but who is the consumer or sink? 

Its hard to understand from the documentation what the lifecycle of an
evbuffer is within the callbacks, evbuffer and bufferevent API.

I mean - i find my way by gdb and valgrind - either crash or memleak
shows the misusage of the API but i guess fixing the documentation
would be helpful to a lot of interested partys.

But anyway - thanks for libevent - great tool i dont want to miss.

Flo
-- 
Florian Lohoff                  [EMAIL PROTECTED]             +49-171-2280134
        Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to