diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-09-12 10:46:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-09-12 10:48:35 -0400 |
commit | 8d3a8500f420bab66b94265285ab9c096f1c7a87 (patch) | |
tree | 0f75dc1dec3e466c24e5e4ad015dd2d122f9bc25 /http-internal.h | |
parent | caf133f90198961c1f9b8bdc74dd6f5385ec00b3 (diff) | |
download | libevent-8d3a8500f420bab66b94265285ab9c096f1c7a87.tar.gz |
Add evhttp callback for bufferevent creation; this lets evhttp support SSL.
Based on a patch uploaded anonymously to sourceforge; cleaned up
by Graham Leggett to work with current libevents.
Diffstat (limited to 'http-internal.h')
-rw-r--r-- | http-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/http-internal.h b/http-internal.h index 05e286ca..e5c1972e 100644 --- a/http-internal.h +++ b/http-internal.h @@ -165,6 +165,8 @@ struct evhttp { don't match. */ void (*gencb)(struct evhttp_request *req, void *); void *gencbarg; + struct bufferevent* (*bevcb)(struct event_base *, void *); + void *bevcbarg; struct event_base *base; }; |