Lines Matching refs:evbuffer

67   The core event logic is now in event2/event.h.  The "evbuffer" functions
241 To make an evbuffer or a bufferevent object threadsafe, call its
331 Libevent has long had an "evbuffer" implementation to wrap access to an
338 Previously, each evbuffer was a huge chunk of memory. When we ran out of
339 space in an evbuffer, we used realloc() to grow the chunk of memory. When
356 The evbuffer struct is no longer exposed in a header. The code here is
357 too volatile to expose an official evbuffer structure, and there was never
358 any means provided to create an evbuffer except via evbuffer_new which
375 in an evbuffer without ever extracting the line.
379 You can now add chunks of a file into a evbuffer, and Libevent will have
389 You can add a piece of memory to an evbuffer without copying it.
390 Instead, Libevent adds a new element to the evbuffer's linked list of
396 4.5. Multiple callbacks per evbuffer
398 Previously, you could only have one callback active on an evbuffer at a
400 evbuffer callback to notice when an internal evbuffer was reading or
401 writing data, you couldn't have your own callback on that evbuffer.
410 Previously, evbuffer callbacks were invoked with the old size of the
421 4.7. Misc new evbuffer features
427 a pattern inside an evbuffer.
430 to a given evbuffer. This is useful for code that exposes an evbuffer as
435 evbuffer without doing a drain.
437 You can have an evbuffer defer all of its callbacks, so that rather than
438 being invoked immediately when the evbuffer's length changes, they are
448 the improvements that they get for free from the underlying evbuffer