EventBufferEvent::READING
An event occured during a read operation on the bufferevent. See the
other flags for which event it was.
EventBufferEvent::WRITING
An event occured during a write operation on the bufferevent. See the
other flags for which event it was.
EventBufferEvent::EOF
Got an end-of-file indication on the buffer event.
EventBufferEvent::ERROR
An error occurred during a bufferevent operation. For more information
on what the error was, call
EventBufferEvent::TIMEOUT
EventBufferEvent::CONNECTED
Finished a requested connection on the bufferevent.
EventBufferEvent::OPT_CLOSE_ON_FREE
When the buffer event is freed, close the underlying transport. This
will close an underlying socket, free an underlying buffer event, etc.
EventBufferEvent::OPT_THREADSAFE
Automatically allocate locks for the bufferevent, so that it’s safe
to use from multiple threads.
EventBufferEvent::OPT_DEFER_CALLBACKS
EventBufferEvent::OPT_UNLOCK_CALLBACKS
By default, when the bufferevent is set up to be threadsafe, the buffer
event’s locks are held whenever the any user-provided callback is
invoked. Setting this option makes Libevent release the buffer
event’s lock when it’s invoking the callbacks.
EventBufferEvent::SSL_OPEN
The SSL handshake is done
EventBufferEvent::SSL_CONNECTING
SSL is currently performing negotiation as a client
EventBufferEvent::SSL_ACCEPTING
SSL is currently performing negotiation as a server