2
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
2
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
3
3
* Copyright (C) 1999-2003 Internet Software Consortium.
5
* Permission to use, copy, modify, and distribute this software for any
5
* Permission to use, copy, modify, and/or distribute this software for any
6
6
* purpose with or without fee is hereby granted, provided that the above
7
7
* copyright notice and this permission notice appear in all copies.
32
34
* Define if this system needs the <netinet/in6.h> header file included
33
35
* for full IPv6 support (pretty much only UnixWare).
35
37
@ISC_PLATFORM_NEEDNETINETIN6H@
38
40
* Define if this system needs the <netinet6/in6.h> header file included
39
41
* to support in6_pkinfo (pretty much only BSD/OS).
41
43
@ISC_PLATFORM_NEEDNETINET6IN6H@
44
46
* If sockaddrs on this system have an sa_len field, ISC_PLATFORM_HAVESALEN
47
49
@ISC_PLATFORM_HAVESALEN@
50
52
* If this system has the IPv6 structure definitions, ISC_PLATFORM_HAVEIPV6
53
55
@ISC_PLATFORM_HAVEIPV6@
56
58
* If this system is missing in6addr_any, ISC_PLATFORM_NEEDIN6ADDRANY will
59
61
@ISC_PLATFORM_NEEDIN6ADDRANY@
62
64
* If this system is missing in6addr_loopback, ISC_PLATFORM_NEEDIN6ADDRLOOPBACK
65
67
@ISC_PLATFORM_NEEDIN6ADDRLOOPBACK@
68
70
* If this system has in6_pktinfo, ISC_PLATFORM_HAVEIN6PKTINFO will be
71
73
@ISC_PLATFORM_HAVEIN6PKTINFO@
74
76
* If this system has in_addr6, rather than in6_addr, ISC_PLATFORM_HAVEINADDR6
77
79
@ISC_PLATFORM_HAVEINADDR6@
80
82
* If this system has sin6_scope_id, ISC_PLATFORM_HAVESCOPEID will be defined.
82
84
@ISC_PLATFORM_HAVESCOPEID@
85
87
* If this system needs inet_ntop(), ISC_PLATFORM_NEEDNTOP will be defined.
87
89
@ISC_PLATFORM_NEEDNTOP@
90
92
* If this system needs inet_pton(), ISC_PLATFORM_NEEDPTON will be defined.
92
94
@ISC_PLATFORM_NEEDPTON@
95
97
* If this system needs inet_aton(), ISC_PLATFORM_NEEDATON will be defined.
97
99
@ISC_PLATFORM_NEEDATON@
100
102
* If this system needs in_port_t, ISC_PLATFORM_NEEDPORTT will be defined.
102
104
@ISC_PLATFORM_NEEDPORTT@
105
* If the system needs strsep(), ISC_PLATFORM_NEEDSTRSEP will be defined.
107
@ISC_PLATFORM_NEEDSTRSEP@
110
* If the system needs strlcpy(), ISC_PLATFORM_NEEDSTRLCPY will be defined.
112
@ISC_PLATFORM_NEEDSTRLCPY@
115
* If the system needs strlcat(), ISC_PLATFORM_NEEDSTRLCAT will be defined.
117
@ISC_PLATFORM_NEEDSTRLCAT@
107
* Define if the system has struct lifconf which is a extended struct ifconf
110
@ISC_PLATFORM_HAVELIFCONF@
113
* Define if the system has struct if_laddrconf which is a extended struct
116
@ISC_PLATFORM_HAVEIF_LADDRCONF@
119
* Define if the system has struct if_laddrreq.
121
@ISC_PLATFORM_HAVEIF_LADDRREQ@
120
124
* Define either ISC_PLATFORM_BSD44MSGHDR or ISC_PLATFORM_BSD43MSGHDR.
122
126
@ISC_PLATFORM_MSGHDRFLAVOR@
125
* Define if PTHREAD_ONCE_INIT should be surrounded by braces to
126
* prevent compiler warnings (such as with gcc on Solaris 2.8).
129
* Define if the system supports if_nametoindex.
128
@ISC_PLATFORM_BRACEPTHREADONCEINIT@
131
@ISC_PLATFORM_HAVEIFNAMETOINDEX@
131
134
* Define on some UnixWare systems to fix erroneous definitions of various
132
135
* IN6_IS_ADDR_* macros.
134
137
@ISC_PLATFORM_FIXIN6ISADDR@
141
144
* If this system needs vsnprintf() and snprintf(), ISC_PLATFORM_NEEDVSNPRINTF
142
145
* will be defined.
144
147
@ISC_PLATFORM_NEEDVSNPRINTF@
147
150
* If this system need a modern sprintf() that returns (int) not (char*).
149
152
@ISC_PLATFORM_NEEDSPRINTF@
152
155
* The printf format string modifier to use with isc_uint64_t values.
154
157
@ISC_PLATFORM_QUADFORMAT@
160
*** String functions.
163
* If the system needs strsep(), ISC_PLATFORM_NEEDSTRSEP will be defined.
165
@ISC_PLATFORM_NEEDSTRSEP@
168
* If the system needs strlcpy(), ISC_PLATFORM_NEEDSTRLCPY will be defined.
170
@ISC_PLATFORM_NEEDSTRLCPY@
173
* If the system needs strlcat(), ISC_PLATFORM_NEEDSTRLCAT will be defined.
175
@ISC_PLATFORM_NEEDSTRLCAT@
178
* Define if this system needs strtoul.
180
@ISC_PLATFORM_NEEDSTRTOUL@
183
* Define if this system needs memmove.
185
@ISC_PLATFORM_NEEDMEMMOVE@
157
192
* Defined if we are using threads.
174
215
@ISC_PLATFORM_HAVELONGLONG@
177
* Define if the system has struct lifconf which is a extended struct ifconf
180
@ISC_PLATFORM_HAVELIFCONF@
183
* Define if the system has struct if_laddrconf which is a extended struct
186
@ISC_PLATFORM_HAVEIF_LADDRCONF@
189
* Define if the system has struct if_laddrreq.
191
@ISC_PLATFORM_HAVEIF_LADDRREQ@
218
* Define if PTHREAD_ONCE_INIT should be surrounded by braces to
219
* prevent compiler warnings (such as with gcc on Solaris 2.8).
221
@ISC_PLATFORM_BRACEPTHREADONCEINIT@
194
224
* Used to control how extern data is linked; needed for Win32 platforms.
196
226
@ISC_PLATFORM_USEDECLSPEC@
199
* Define if the system supports if_nametoindex.
201
@ISC_PLATFORM_HAVEIFNAMETOINDEX@
204
* Define if this system needs strtoul.
206
@ISC_PLATFORM_NEEDSTRTOUL@
209
* Define if this system needs memmove.
211
@ISC_PLATFORM_NEEDMEMMOVE@
229
* Define if the platform has <sys/un.h>.
231
@ISC_PLATFORM_HAVESYSUNH@
234
* If the "xadd" operation is available on this architecture,
235
* ISC_PLATFORM_HAVEXADD will be defined.
237
@ISC_PLATFORM_HAVEXADD@
240
* If the "xaddq" operation (64bit xadd) is available on this architecture,
241
* ISC_PLATFORM_HAVEXADDQ will be defined.
243
@ISC_PLATFORM_HAVEXADDQ@
246
* If the "atomic swap" operation is available on this architecture,
247
* ISC_PLATFORM_HAVEATOMICSTORE" will be defined.
249
@ISC_PLATFORM_HAVEATOMICSTORE@
252
* If the "compare-and-exchange" operation is available on this architecture,
253
* ISC_PLATFORM_HAVECMPXCHG will be defined.
255
@ISC_PLATFORM_HAVECMPXCHG@
258
* Define if gcc ASM extension is available
260
@ISC_PLATFORM_USEGCCASM@
263
* Define if Tru64 style ASM syntax must be used.
265
@ISC_PLATFORM_USEOSFASM@
268
* Define if the standard __asm function must be used.
270
@ISC_PLATFORM_USESTDASM@
273
* Define if the platform has <strings.h>.
275
@ISC_PLATFORM_HAVESTRINGSH@
278
*** Windows dll support.
282
* Define if MacOS style of PPC assembly must be used.
283
* e.g. "r6", not "6", for register six.
285
@ISC_PLATFORM_USEMACASM@
213
287
#ifndef ISC_PLATFORM_USEDECLSPEC
214
288
#define LIBISC_EXTERNAL_DATA