|
Libevent Code Doxygen document
|
#include <evbuffer-internal.h>

Public Member Functions | |
| LIST_ENTRY (evbuffer_cb_entry) next | |
Public Attributes | |
| union { | |
| evbuffer_cb_func cb_func | |
| evbuffer_cb cb_obsolete | |
| } | cb |
| void * | cbarg |
| ev_uint32_t | flags |
A single evbuffer callback for an evbuffer. This function will be invoked when bytes are added to or removed from the evbuffer.
| evbuffer_cb_entry::LIST_ENTRY | ( | evbuffer_cb_entry | ) |
Structures to implement a doubly-linked queue of callbacks
| union { ... } evbuffer_cb_entry::cb |
The callback function to invoke when this callback is called. If EVBUFFER_CB_OBSOLETE is set in flags, the cb_obsolete field is valid; otherwise, cb_func is valid.
| void* evbuffer_cb_entry::cbarg |
Argument to pass to cb.
| ev_uint32_t evbuffer_cb_entry::flags |
Currently set flags on this callback.