projects
/
libevent
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa8451
)
Oh hey. There is no support for suspend/unsuspend.
author
Nick Mathewson
<nickm@torproject.org>
Fri, 17 Apr 2009 06:57:13 +0000
(06:57 +0000)
committer
Nick Mathewson
<nickm@torproject.org>
Fri, 17 Apr 2009 06:57:13 +0000
(06:57 +0000)
svn:r1187
include/event2/buffer.h
patch
|
blob
|
history
diff --git
a/include/event2/buffer.h
b/include/event2/buffer.h
index c624d6abd3e882b02821a8d802163de480a9500f..4fcebc181cdeaf589e9aab5b4dfb763cc413a957 100644
(file)
--- 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.