aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-25 17:18:03 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-25 17:18:54 -0500
commit7920ea55b8d994268d2b07f27316b0f34d8f27e5 (patch)
tree28a06534ce008544ca085688c463fa0c222721b3 /src/common/tortls.h
parente5f2f10844dc2445f8cf2f0dc8ec92bc4ce65d63 (diff)
downloadtor-7920ea55b8d994268d2b07f27316b0f34d8f27e5.tar
tor-7920ea55b8d994268d2b07f27316b0f34d8f27e5.tar.gz
Refactor tor_event_base_once to do what we actually want
This version avoids the timeout system entirely, gives a nicer interface, and lets us manage allocation explicitly.
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 587488198..9f86e3712 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -63,7 +63,7 @@ tor_tls_t *tor_tls_new(int sock, int is_server);
void tor_tls_set_logged_address(tor_tls_t *tls, const char *address);
void tor_tls_set_renegotiate_callbacks(tor_tls_t *tls,
void (*cb)(tor_tls_t *, void *arg),
- void (*cb2)(evutil_socket_t, short, void *),
+ void (*cb2)(void *),
void *arg);
int tor_tls_is_server(tor_tls_t *tls);
void tor_tls_free(tor_tls_t *tls);