mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
document that read and write callbacks may be NULL.
svn:r228
This commit is contained in:
parent
c1eec7aae5
commit
b0b5e2c2ac
2
event.3
2
event.3
@ -493,6 +493,8 @@ The argument is specified by the fourth parameter
|
|||||||
A
|
A
|
||||||
.Fa bufferevent struct
|
.Fa bufferevent struct
|
||||||
pointer is returned on success, NULL on error.
|
pointer is returned on success, NULL on error.
|
||||||
|
Both the read and the write callback may be NULL.
|
||||||
|
The error callback has to be always provided.
|
||||||
.Pp
|
.Pp
|
||||||
Once initialized, the bufferevent structure can be used repeatedly with
|
Once initialized, the bufferevent structure can be used repeatedly with
|
||||||
bufferevent_enable() and bufferevent_disable(). The flags parameter can
|
bufferevent_enable() and bufferevent_disable(). The flags parameter can
|
||||||
|
Loading…
x
Reference in New Issue
Block a user