mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-15 23:35:02 -04:00
Note the one restriction on what you can do with the evbuffers of a bufferevent.
svn:r1011
This commit is contained in:
parent
840318196b
commit
8278c9be54
@ -245,6 +245,8 @@ int bufferevent_read_buffer(struct bufferevent *bufev, struct evbuffer *buf);
|
|||||||
/**
|
/**
|
||||||
Returns the input buffer.
|
Returns the input buffer.
|
||||||
|
|
||||||
|
The user MUST NOT set the callback on this buffer.
|
||||||
|
|
||||||
@param bufev the buffervent from which to get the evbuffer
|
@param bufev the buffervent from which to get the evbuffer
|
||||||
@return the evbuffer object for the input buffer
|
@return the evbuffer object for the input buffer
|
||||||
*/
|
*/
|
||||||
@ -254,6 +256,8 @@ struct evbuffer *bufferevent_get_input(struct bufferevent *bufev);
|
|||||||
/**
|
/**
|
||||||
Returns the outut buffer.
|
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
|
When filters are being used, the filters need to be manually
|
||||||
triggered if the output buffer was manipulated.
|
triggered if the output buffer was manipulated.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user