mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-13 06:16:10 -04:00
Oh hey. There is no support for suspend/unsuspend.
svn:r1187
This commit is contained in:
parent
7fa8451d7e
commit
4935413842
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user