Oh hey. There is no support for suspend/unsuspend.

svn:r1187
This commit is contained in:
Nick Mathewson 2009-04-17 06:57:13 +00:00
parent 7fa8451d7e
commit 4935413842

View File

@ -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, int evbuffer_cb_set_flags(struct evbuffer *buffer,
struct evbuffer_cb_entry *cb, ev_uint32_t flags); struct evbuffer_cb_entry *cb, ev_uint32_t flags);
#if 0
/** Postpone calling a given callback until unsuspend is called later. /** Postpone calling a given callback until unsuspend is called later.
This is different from disabling the callback, since the callback will get 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. @param cb the callback we want to stop suspending.
*/ */
void evbuffer_cb_unsuspend(struct evbuffer *buffer, struct evbuffer_cb_entry *cb); void evbuffer_cb_unsuspend(struct evbuffer *buffer, struct evbuffer_cb_entry *cb);
#endif
/** /**
Makes the data at the begging of an evbuffer contiguous. Makes the data at the begging of an evbuffer contiguous.