document that read and write callbacks may be NULL.

svn:r228
This commit is contained in:
Niels Provos 2006-08-26 04:34:43 +00:00
parent c1eec7aae5
commit b0b5e2c2ac

View File

@ -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