diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-12-04 12:53:03 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-12-04 12:53:03 +0000 |
commit | f61fa37f40158cca871fdce5d4a546e8ba3f482a (patch) | |
tree | 7e2833594e756504e67e0123c4a479a9d7bb05bd /ares_private.h | |
parent | 20e7876430a4bd75f469602d34dcd6c315d0cc0f (diff) | |
download | c-ares-f61fa37f40158cca871fdce5d4a546e8ba3f482a.tar.gz c-ares-f61fa37f40158cca871fdce5d4a546e8ba3f482a.tar.bz2 c-ares-f61fa37f40158cca871fdce5d4a546e8ba3f482a.zip |
Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
and I edited it to also get duped by ares_dup().
Diffstat (limited to 'ares_private.h')
-rw-r--r-- | ares_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ares_private.h b/ares_private.h index bae0b07..137e155 100644 --- a/ares_private.h +++ b/ares_private.h @@ -296,6 +296,9 @@ struct ares_channeldata { ares_sock_state_cb sock_state_cb; void *sock_state_cb_data; + + ares_sock_create_callback sock_create_cb; + void *sock_create_cb_data; }; /* return true if now is exactly check time or later */ |