From b0b5e2c2acfb13a67935c12187dca84e16ead9bb Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Sat, 26 Aug 2006 04:34:43 +0000 Subject: [PATCH] document that read and write callbacks may be NULL. svn:r228 --- event.3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/event.3 b/event.3 index 2e594c4a..132c30f0 100644 --- 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 -- 2.40.0