eventdns_tor.h 481 B

12345678910111213141516171819202122232425
  1. /* Copyright (c) 2007-2015, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. #ifndef TOR_EVENTDNS_TOR_H
  4. #define TOR_EVENTDNS_TOR_H
  5. #include "orconfig.h"
  6. #define DNS_USE_OPENSSL_FOR_ID
  7. #ifndef HAVE_UINT
  8. typedef unsigned int uint;
  9. #endif
  10. #ifndef HAVE_U_CHAR
  11. typedef unsigned char u_char;
  12. #endif
  13. #ifdef _WIN32
  14. #define inline __inline
  15. #endif
  16. #include "torint.h"
  17. /* These are for debugging possible memory leaks. */
  18. #include "util.h"
  19. #include "compat.h"
  20. #endif