]> granicus.if.org Git - libevent/commitdiff
document that read and write callbacks may be NULL.
authorNiels Provos <provos@gmail.com>
Sat, 26 Aug 2006 04:34:43 +0000 (04:34 +0000)
committerNiels Provos <provos@gmail.com>
Sat, 26 Aug 2006 04:34:43 +0000 (04:34 +0000)
svn:r228

event.3

diff --git a/event.3 b/event.3
index 2e594c4a444423907fe0381882091028f0376c39..132c30f02f8230a95c7ea87b21f05bbb49d0fa49 100644 (file)
--- a/event.3
+++ b/event.3
@@ -493,6 +493,8 @@ The argument is specified by the fourth parameter
 A
 .Fa bufferevent struct
 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
 Once initialized, the bufferevent structure can be used repeatedly with
 bufferevent_enable() and bufferevent_disable().  The flags parameter can