aboutsummaryrefslogtreecommitdiff
path: root/src/or/eventdns_tor.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-03 19:49:42 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-03 19:49:42 +0000
commit7cb3232ade9c55d26a64bddbd12a92a2a32180cd (patch)
tree97a779a7a4d360f8b06f1d255cd75fa676339820 /src/or/eventdns_tor.h
parent86da3e0a0af5813d6f5eb695d8353b2988f256ff (diff)
downloadtor-7cb3232ade9c55d26a64bddbd12a92a2a32180cd.tar
tor-7cb3232ade9c55d26a64bddbd12a92a2a32180cd.tar.gz
Add async dns code from Adam Langley, tweaked to build on OSX. Long-term, we may want to switch to libevnet/c-ares, if they ever handle 10k fd situations properly. This one still needs work too, but at least it is small. This code is disabled by default, and not integrated with dns.c.
svn:r6524
Diffstat (limited to 'src/or/eventdns_tor.h')
-rw-r--r--src/or/eventdns_tor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/eventdns_tor.h b/src/or/eventdns_tor.h
new file mode 100644
index 000000000..06abe359f
--- /dev/null
+++ b/src/or/eventdns_tor.h
@@ -0,0 +1,5 @@
+
+#include "orconfig.h"
+#define DNS_USE_OPENSSL_FOR_ID
+typedef unsigned int uint;
+typedef unsigned char u_char;