mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
Merge pull request #75 from altf4/master
Header update to specify evbuffer_pullup() behavior
This commit is contained in:
commit
e834006b61
@ -944,7 +944,8 @@ void evbuffer_cb_unsuspend(struct evbuffer *buffer, struct evbuffer_cb_entry *cb
|
|||||||
@param buf the evbuffer to make contiguous
|
@param buf the evbuffer to make contiguous
|
||||||
@param size the number of bytes to make contiguous, or -1 to make the
|
@param size the number of bytes to make contiguous, or -1 to make the
|
||||||
entire buffer contiguous.
|
entire buffer contiguous.
|
||||||
@return a pointer to the contiguous memory array
|
@return a pointer to the contiguous memory array, or NULL if param size
|
||||||
|
requested more data than is present in the buffer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned char *evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size);
|
unsigned char *evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user