reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
AresCompat.hxx
Go to the documentation of this file.
1
#if !defined(RESIP_ARES_COMPAT_HXX)
2
#define RESIP_ARES_COMPAT_HXX
3
4
#include "
ares.h
"
5
#include "
ares_dns.h
"
6
#include "
ares_version.h
"
7
#ifdef WIN32
8
#undef write
// Note: ares.h defines write to be _write for WIN32 - we don't want that here, since we use fdset.write and stream write
9
#endif
10
11
#ifdef ARES_VERSION_MAJOR
12
// c-ares
13
#if ARES_VERSION_MAJOR < 1 || (ARES_VERSION_MAJOR == 1 && ARES_VERSION_MINOR < 6)
14
#error Need c-ares >= 1.6
15
#endif
16
#if ARES_VERSION_MAJOR > 1 || (ARES_VERSION_MAJOR == 1 && ARES_VERSION_MINOR >= 18)
17
#include "
ares_nameser.h
"
18
#endif
19
#endif
20
21
#endif
22
23
/* ====================================================================
24
* The Vovida Software License, Version 1.0
25
*
26
* Copyright (c) 2000-2005 Vovida Networks, Inc. All rights reserved.
27
*
28
* Redistribution and use in source and binary forms, with or without
29
* modification, are permitted provided that the following conditions
30
* are met:
31
*
32
* 1. Redistributions of source code must retain the above copyright
33
* notice, this list of conditions and the following disclaimer.
34
*
35
* 2. Redistributions in binary form must reproduce the above copyright
36
* notice, this list of conditions and the following disclaimer in
37
* the documentation and/or other materials provided with the
38
* distribution.
39
*
40
* 3. The names "VOCAL", "Vovida Open Communication Application Library",
41
* and "Vovida Open Communication Application Library (VOCAL)" must
42
* not be used to endorse or promote products derived from this
43
* software without prior written permission. For written
44
* permission, please contact vocal@vovida.org.
45
*
46
* 4. Products derived from this software may not be called "VOCAL", nor
47
* may "VOCAL" appear in their name, without prior written
48
* permission of Vovida Networks, Inc.
49
*
50
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
51
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
52
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
53
* NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
54
* NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
55
* IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
56
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
57
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
58
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
59
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
60
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
61
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
62
* DAMAGE.
63
*
64
* ====================================================================
65
*
66
* This software consists of voluntary contributions made by Vovida
67
* Networks, Inc. and many individuals on behalf of Vovida Networks,
68
* Inc. For more information on Vovida Networks, Inc., please see
69
* <http://www.vovida.org/>.
70
*
71
*/
ares.h
ares_dns.h
ares_nameser.h
ares_version.h
rutil
dns
AresCompat.hxx
Generated by
1.9.8