ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/evdns.c
(Generate patch)

Comparing libev/evdns.c (file contents):
Revision 1.7 by root, Sat Nov 3 20:24:42 2007 UTC vs.
Revision 1.16 by root, Tue Nov 6 16:09:37 2007 UTC

1/* $Id: evdns.c,v 1.7 2007/11/03 20:24:42 root Exp $ */ 1/* $Id: evdns.c,v 1.16 2007/11/06 16:09:37 root Exp $ */
2 2
3/* The original version of this module was written by Adam Langley; for 3/* The original version of this module was written by Adam Langley; for
4 * a history of modifications, check out the subversion logs. 4 * a history of modifications, check out the subversion logs.
5 * 5 *
6 * When editing this module, try to keep it re-mergeable by Adam. Don't 6 * When editing this module, try to keep it re-mergeable by Adam. Don't
38#ifdef HAVE_CONFIG_H 38#ifdef HAVE_CONFIG_H
39#include "config.h" 39#include "config.h"
40#endif 40#endif
41 41
42#ifdef WIN32 42#ifdef WIN32
43#ifndef EV_STANDALONE
43#include "misc.h" 44#include "misc.h"
45#endif
44#endif 46#endif
45 47
46/* #define NDEBUG */ 48/* #define NDEBUG */
47 49
48#ifndef DNS_USE_CPU_CLOCK_FOR_ID 50#ifndef DNS_USE_CPU_CLOCK_FOR_ID
76 78
77#define _FORTIFY_SOURCE 3 79#define _FORTIFY_SOURCE 3
78 80
79#include <string.h> 81#include <string.h>
80#include <fcntl.h> 82#include <fcntl.h>
81#include <sys/time.h>
82#ifdef HAVE_STDINT_H 83#ifdef HAVE_STDINT_H
83#include <stdint.h> 84#include <stdint.h>
84#endif 85#endif
85#include <stdlib.h> 86#include <stdlib.h>
86#include <string.h> 87#include <string.h>
87#include <errno.h> 88#include <errno.h>
88#include <assert.h> 89#include <assert.h>
89#include <unistd.h>
90#include <limits.h> 90#include <limits.h>
91#include <sys/stat.h> 91#include <sys/stat.h>
92#include <ctype.h> 92#include <ctype.h>
93#include <stdio.h> 93#include <stdio.h>
94#include <stdarg.h> 94#include <stdarg.h>
95 95
96#include "evdns.h" 96#include "evdns.h"
97#include "log.h"
98#ifdef WIN32 97#ifdef WIN32
99#include <windows.h> 98#include <windows.h>
100#include <winsock2.h> 99#include <winsock2.h>
101#include <iphlpapi.h> 100#include <iphlpapi.h>
102#else 101#else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines