In routerlist_assert_ok(), check r2 before taking &(r2->cache_info)
[tor.git] / src / or / eventdns_tor.h
blob69662281bcf95c68e3a115da9f565c80d049bb9c
1 /* Copyright (c) 2007-2013, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
4 #ifndef TOR_EVENTDNS_TOR_H
5 #define TOR_EVENTDNS_TOR_H
7 #include "orconfig.h"
8 #define DNS_USE_OPENSSL_FOR_ID
9 #ifndef HAVE_UINT
10 typedef unsigned int uint;
11 #endif
12 #ifndef HAVE_U_CHAR
13 typedef unsigned char u_char;
14 #endif
15 #ifdef _WIN32
16 #define inline __inline
17 #endif
18 #include "torint.h"
20 /* These are for debugging possible memory leaks. */
21 #include "util.h"
22 #include "compat.h"
24 #endif