Note the one restriction on what you can do with the evbuffers of a bufferevent.

svn:r1011
This commit is contained in:
Nick Mathewson 2009-01-14 22:17:46 +00:00
parent 840318196b
commit 8278c9be54

View File

@ -245,6 +245,8 @@ int bufferevent_read_buffer(struct bufferevent *bufev, struct evbuffer *buf);
/**
Returns the input buffer.
The user MUST NOT set the callback on this buffer.
@param bufev the buffervent from which to get the evbuffer
@return the evbuffer object for the input buffer
*/
@ -254,6 +256,8 @@ struct evbuffer *bufferevent_get_input(struct bufferevent *bufev);
/**
Returns the outut buffer.
The user MUST NOT set the callback on this buffer.
When filters are being used, the filters need to be manually
triggered if the output buffer was manipulated.