summaryrefslogtreecommitdiff
path: root/bufferevent-internal.h
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2015-11-05 17:45:09 +0300
committerAzat Khuzhin <a3at.mail@gmail.com>2015-11-06 10:21:04 +0300
commit3c1f58f58b5ecfb59476b3e99629cfce20d16f91 (patch)
tree4c29cadb5f68d91c90340c223aa52c3e9399ae48 /bufferevent-internal.h
parentf4b6284b8393dbabf389ddce734a30f4cdeffa17 (diff)
downloadlibevent-3c1f58f58b5ecfb59476b3e99629cfce20d16f91.tar.gz
be: introduce bufferevent_generic_adj_existing_timeouts_()
And use it in openssl/sock layers to avoid copy-pasting it's variants.
Diffstat (limited to 'bufferevent-internal.h')
-rw-r--r--bufferevent-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bufferevent-internal.h b/bufferevent-internal.h
index c84f09c0..d9d9e666 100644
--- a/bufferevent-internal.h
+++ b/bufferevent-internal.h
@@ -412,6 +412,7 @@ void bufferevent_init_generic_timeout_cbs_(struct bufferevent *bev);
* we delete it.) Call this from anything that changes the timeout values,
* that enabled EV_READ or EV_WRITE, or that disables EV_READ or EV_WRITE. */
int bufferevent_generic_adj_timeouts_(struct bufferevent *bev);
+int bufferevent_generic_adj_existing_timeouts_(struct bufferevent *bev);
enum bufferevent_options bufferevent_get_options_(struct bufferevent *bev);