77/* Define to 1 if you have the <arpa/inet.h> header file. */
88#define HAVE_ARPA_INET_H 1
99
10+ /* Define to 1 if you have the `asctime_r' function. */
11+ #define HAVE_ASCTIME_R 1
12+
1013/* Whether the C compiler accepts the "format" attribute */
1114#define HAVE_ATTR_FORMAT 1
1215
5356 you don't. */
5457#define HAVE_DECL_EVP_PKEY_BASE_ID 1
5558
59+ /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you
60+ don't. */
61+ #define HAVE_DECL_INET_NTOP 1
62+
63+ /* Define to 1 if you have the declaration of `inet_pton', and to 0 if you
64+ don't. */
65+ #define HAVE_DECL_INET_PTON 1
66+
5667/* Define to 1 if you have the declaration of `NID_ED25519', and to 0 if you
5768 don't. */
5869#define HAVE_DECL_NID_ED25519 1
297308/* Define if you have SWIG libraries and header files. */
298309/* #undef HAVE_SWIG */
299310
311+ /* Define to 1 if you have the `symlink' function. */
312+ #define HAVE_SYMLINK 1
313+
300314/* Define to 1 if you have the <sys/mount.h> header file. */
301315#define HAVE_SYS_MOUNT_H 1
302316
358372#define LT_OBJDIR ".libs/"
359373
360374/* Define to the address where bug reports for this package should be sent. */
361- #define PACKAGE_BUGREPORT "libdns @nlnetlabs.nl"
375+ #define PACKAGE_BUGREPORT "dns-team @nlnetlabs.nl"
362376
363377/* Define to the full name of this package. */
364378#define PACKAGE_NAME "ldns"
365379
366380/* Define to the full name and version of this package. */
367- #define PACKAGE_STRING "ldns 1.8.3 "
381+ #define PACKAGE_STRING "ldns 1.9.0 "
368382
369383/* Define to the one symbol short name of this package. */
370384#define PACKAGE_TARNAME "libdns"
373387#define PACKAGE_URL ""
374388
375389/* Define to the version of this package. */
376- #define PACKAGE_VERSION "1.8.3 "
390+ #define PACKAGE_VERSION "1.9.0 "
377391
378392/* Define this to enable RR type AMTRELAY. */
379- /* #undef RRTYPE_AMTRELAY */
393+ #define RRTYPE_AMTRELAY /* */
380394
381395/* Define this to enable RR type AVC. */
382396/* #undef RRTYPE_AVC */
383397
398+ /* Define this to enable RR types CLA and IPN. */
399+ /* #undef RRTYPE_CLA_IPN */
400+
384401/* Define this to enable RR type DOA. */
385402/* #undef RRTYPE_DOA */
386403
404+ /* Define this to enable RR type DSYNC. */
405+ #define RRTYPE_DSYNC /**/
406+
407+ /* Define this to enable RR types HHIT and BRID. */
408+ /* #undef RRTYPE_HHIT_BRID */
409+
387410/* Define this to enable RR type NINFO. */
388411/* #undef RRTYPE_NINFO */
389412
390413/* Define this to enable RR type OPENPGPKEY. */
391414#define RRTYPE_OPENPGPKEY /**/
392415
416+ /* Define this to enable RR type RESINFO. */
417+ #define RRTYPE_RESINFO /**/
418+
393419/* Define this to enable RR type RKEY. */
394420/* #undef RRTYPE_RKEY */
395421
665691#ifdef HAVE_WINSOCK2_H
666692#define FD_SET_T (u_int)
667693#else
668- #define FD_SET_T
694+ #define FD_SET_T
669695#endif
670696
671697
@@ -718,6 +744,9 @@ time_t timegm (struct tm *tm);
718744#ifndef HAVE_GMTIME_R
719745struct tm * gmtime_r (const time_t * timep , struct tm * result );
720746#endif
747+ #ifndef HAVE_ASCTIME_R
748+ char * asctime_r (const struct tm * tm , char * buf );
749+ #endif
721750#ifndef HAVE_LOCALTIME_R
722751struct tm * localtime_r (const time_t * timep , struct tm * result );
723752#endif
@@ -732,10 +761,10 @@ int isascii(int c);
732761int snprintf (char * str , size_t count , const char * fmt , ...);
733762int vsnprintf (char * str , size_t count , const char * fmt , va_list arg );
734763#endif /* HAVE_SNPRINTF */
735- #ifndef HAVE_INET_PTON
764+ #if !defined( HAVE_INET_PTON ) && ! HAVE_DECL_INET_PTON
736765int inet_pton (int af , const char * src , void * dst );
737766#endif /* HAVE_INET_PTON */
738- #ifndef HAVE_INET_NTOP
767+ #if !defined( HAVE_INET_NTOP ) && ! HAVE_DECL_INET_NTOP
739768const char * inet_ntop (int af , const void * src , char * dst , size_t size );
740769#endif
741770#ifndef HAVE_INET_ATON
@@ -749,11 +778,11 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
749778#endif
750779
751780#ifdef USE_WINSOCK
752- #define SOCK_INVALID INVALID_SOCKET
781+ #define SOCK_INVALID ((INT_PTR) INVALID_SOCKET)
753782#define close_socket (_s ) do { if (_s != SOCK_INVALID) {closesocket(_s); _s = -1;} } while(0)
754783#else
755784#define SOCK_INVALID -1
756- #define close_socket (_s ) do { if (_s != SOCK_INVALID) {close(_s); _s = -1;} } while(0)
785+ #define close_socket (_s ) do { if (_s != SOCK_INVALID) {close(_s >= -1 ? _s : -1 ); _s = -1;} } while(0)
757786#endif
758787
759788#ifdef __cplusplus
0 commit comments