From 49354138425021ecc2a576efc1d51a5bcad63ad5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 17 Apr 2009 06:57:13 +0000 Subject: [PATCH] Oh hey. There is no support for suspend/unsuspend. svn:r1187 --- include/event2/buffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/event2/buffer.h b/include/event2/buffer.h index c624d6ab..4fcebc18 100644 --- a/include/event2/buffer.h +++ b/include/event2/buffer.h @@ -506,6 +506,7 @@ int evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg int evbuffer_cb_set_flags(struct evbuffer *buffer, struct evbuffer_cb_entry *cb, ev_uint32_t flags); +#if 0 /** Postpone calling a given callback until unsuspend is called later. This is different from disabling the callback, since the callback will get @@ -525,7 +526,7 @@ void evbuffer_cb_suspend(struct evbuffer *buffer, struct evbuffer_cb_entry *cb); @param cb the callback we want to stop suspending. */ void evbuffer_cb_unsuspend(struct evbuffer *buffer, struct evbuffer_cb_entry *cb); - +#endif /** Makes the data at the begging of an evbuffer contiguous. -- 2.40.0