2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32

This commit is contained in:
Danny Mayer
2001-11-19 03:08:44 +00:00
parent 707b733dc3
commit e61793f086
33 changed files with 135 additions and 110 deletions

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:20:51 gson Exp $ */
/* $Id: version.h,v 1.2 2001/11/19 03:08:05 mayer Exp $ */
extern const char bind9_version[];
#include <isc/platform.h>
extern const unsigned int bind9_libinterface;
extern const unsigned int bind9_librevision;
extern const unsigned int bind9_libage;
LIBBIND9_EXTERNAL_DATA extern const char bind9_version[];
LIBBIND9_EXTERNAL_DATA extern const unsigned int bind9_libinterface;
LIBBIND9_EXTERNAL_DATA extern const unsigned int bind9_librevision;
LIBBIND9_EXTERNAL_DATA extern const unsigned int bind9_libage;

View File

@@ -15,14 +15,14 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.1 2001/11/17 03:57:12 mayer Exp $ */
/* $Id: version.c,v 1.2 2001/11/19 03:08:07 mayer Exp $ */
#include <versions.h>
#include <bind9/version.h>
const char bind9_version[] = VERSION;
LIBBIND9_EXTERNAL_DATA const char bind9_version[] = VERSION;
const unsigned int bind9_libinterface = LIBINTERFACE;
const unsigned int bind9_librevision = LIBREVISION;
const unsigned int bind9_libage = LIBAGE;
LIBBIND9_EXTERNAL_DATA const unsigned int bind9_libinterface = LIBINTERFACE;
LIBBIND9_EXTERNAL_DATA const unsigned int bind9_librevision = LIBREVISION;
LIBBIND9_EXTERNAL_DATA const unsigned int bind9_libage = LIBAGE;

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lib.h,v 1.6 2001/01/09 21:52:58 bwelling Exp $ */
/* $Id: lib.h,v 1.7 2001/11/19 03:08:13 mayer Exp $ */
#ifndef DNS_LIB_H
#define DNS_LIB_H 1
@@ -25,7 +25,7 @@
ISC_LANG_BEGINDECLS
extern isc_msgcat_t *dns_msgcat;
LIBDNS_EXTERNAL_DATA extern isc_msgcat_t *dns_msgcat;
void
dns_lib_initmsgcat(void);

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.h,v 1.24 2001/09/05 10:28:55 marka Exp $ */
/* $Id: masterdump.h,v 1.25 2001/11/19 03:08:14 mayer Exp $ */
#ifndef DNS_MASTERDUMP_H
#define DNS_MASTERDUMP_H 1
@@ -70,7 +70,7 @@ LIBDNS_EXTERNAL_DATA extern const dns_master_style_t
* A master style format designed for cache files. It prints explicit TTL
* values on each record line and never uses $ORIGIN or relative names.
*/
extern const dns_master_style_t dns_master_style_cache;
LIBDNS_EXTERNAL_DATA extern const dns_master_style_t dns_master_style_cache;
/*
* A master style that prints name, ttl, class, type, and value on
@@ -78,7 +78,7 @@ extern const dns_master_style_t dns_master_style_cache;
* Intended for generating master files which can be easily parsed
* by perl scripts and similar applications.
*/
extern const dns_master_style_t dns_master_style_simple;
LIBDNS_EXTERNAL_DATA extern const dns_master_style_t dns_master_style_simple;
/*
* The style used for debugging, "dig" output, etc.

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: name.h,v 1.95 2001/08/28 03:58:19 marka Exp $ */
/* $Id: name.h,v 1.96 2001/11/19 03:08:15 mayer Exp $ */
#ifndef DNS_NAME_H
#define DNS_NAME_H 1
@@ -211,7 +211,7 @@ struct dns_name {
#define DNS_NAMEATTR_CHAINING 0x0800 /* Used by resolver. */
LIBDNS_EXTERNAL_DATA extern dns_name_t *dns_rootname;
extern dns_name_t *dns_wildcardname;
LIBDNS_EXTERNAL_DATA extern dns_name_t *dns_wildcardname;
/*
* Standard size of a wire format name

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: tsig.h,v 1.40 2001/07/16 05:10:28 mayer Exp $ */
/* $Id: tsig.h,v 1.41 2001/11/19 03:08:16 mayer Exp $ */
#ifndef DNS_TSIG_H
#define DNS_TSIG_H 1
@@ -35,9 +35,9 @@
*/
LIBDNS_EXTERNAL_DATA extern dns_name_t *dns_tsig_hmacmd5_name;
#define DNS_TSIG_HMACMD5_NAME dns_tsig_hmacmd5_name
extern dns_name_t *dns_tsig_gssapi_name;
LIBDNS_EXTERNAL_DATA extern dns_name_t *dns_tsig_gssapi_name;
#define DNS_TSIG_GSSAPI_NAME dns_tsig_gssapi_name
extern dns_name_t *dns_tsig_gssapims_name;
LIBDNS_EXTERNAL_DATA extern dns_name_t *dns_tsig_gssapims_name;
#define DNS_TSIG_GSSAPIMS_NAME dns_tsig_gssapims_name
/*

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:20:53 gson Exp $ */
/* $Id: version.h,v 1.2 2001/11/19 03:08:18 mayer Exp $ */
extern const char dns_version[];
#include <isc/platform.h>
extern const unsigned int dns_libinterface;
extern const unsigned int dns_librevision;
extern const unsigned int dns_libage;
LIBDNS_EXTERNAL_DATA extern const char dns_version[];
LIBDNS_EXTERNAL_DATA extern const unsigned int dns_libinterface;
LIBDNS_EXTERNAL_DATA extern const unsigned int dns_librevision;
LIBDNS_EXTERNAL_DATA extern const unsigned int dns_libage;

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lib.c,v 1.9 2001/01/09 21:50:57 bwelling Exp $ */
/* $Id: lib.c,v 1.10 2001/11/19 03:08:08 mayer Exp $ */
#include <config.h>
@@ -31,7 +31,7 @@
*** Globals
***/
isc_msgcat_t * dns_msgcat = NULL;
LIBDNS_EXTERNAL_DATA isc_msgcat_t * dns_msgcat = NULL;
/***

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.c,v 1.62 2001/11/12 19:05:21 gson Exp $ */
/* $Id: masterdump.c,v 1.63 2001/11/19 03:08:10 mayer Exp $ */
#include <config.h>
@@ -160,7 +160,7 @@ dns_master_style_explicitttl = {
24, 32, 32, 40, 80, 8
};
const dns_master_style_t
LIBDNS_EXTERNAL_DATA const dns_master_style_t
dns_master_style_cache = {
DNS_STYLEFLAG_OMIT_OWNER |
DNS_STYLEFLAG_OMIT_CLASS |
@@ -171,7 +171,7 @@ dns_master_style_cache = {
};
const dns_master_style_t
dns_master_style_simple = {
LIBDNS_EXTERNAL_DATA dns_master_style_simple = {
0,
24, 32, 32, 40, 80, 8
};

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: name.c,v 1.128 2001/11/12 19:05:24 gson Exp $ */
/* $Id: name.c,v 1.129 2001/11/19 03:08:11 mayer Exp $ */
#include <config.h>
@@ -176,7 +176,7 @@ static dns_name_t root =
};
/* XXXDCL make const? */
dns_name_t *dns_rootname = &root;
LIBDNS_EXTERNAL_DATA dns_name_t *dns_rootname = &root;
static unsigned char wild_ndata[] = { '\001', '*' };
static unsigned char wild_offsets[] = { 0 };
@@ -192,7 +192,7 @@ static dns_name_t wild =
};
/* XXXDCL make const? */
dns_name_t *dns_wildcardname = &wild;
LIBDNS_EXTERNAL_DATA dns_name_t *dns_wildcardname = &wild;
static void
set_offsets(const dns_name_t *name, unsigned char *offsets,

View File

@@ -17,7 +17,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_lib.c,v 1.8 2001/01/09 21:55:29 bwelling Exp $
* $Id: dst_lib.c,v 1.9 2001/11/19 03:08:19 mayer Exp $
*/
#include <config.h>
@@ -34,7 +34,7 @@
*** Globals
***/
isc_msgcat_t * dst_msgcat = NULL;
LIBDNS_EXTERNAL_DATA isc_msgcat_t * dst_msgcat = NULL;
/***

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lib.h,v 1.6 2001/01/09 21:55:45 bwelling Exp $ */
/* $Id: lib.h,v 1.7 2001/11/19 03:08:20 mayer Exp $ */
#ifndef DST_LIB_H
#define DST_LIB_H 1
@@ -25,7 +25,7 @@
ISC_LANG_BEGINDECLS
extern isc_msgcat_t *dst_msgcat;
LIBDNS_EXTERNAL_DATA extern isc_msgcat_t *dst_msgcat;
void
dst_lib_initmsgcat(void);

View File

@@ -16,7 +16,7 @@
*/
/*
* $Id: tsig.c,v 1.113 2001/09/27 17:49:11 bwelling Exp $
* $Id: tsig.c,v 1.114 2001/11/19 03:08:12 mayer Exp $
*/
#include <config.h>
@@ -79,7 +79,7 @@ static dns_name_t gsstsig = {
{NULL, NULL}
};
dns_name_t *dns_tsig_gssapi_name = &gsstsig;
LIBDNS_EXTERNAL_DATA dns_name_t *dns_tsig_gssapi_name = &gsstsig;
/* It's nice of Microsoft to conform to their own standard. */
static unsigned char gsstsigms_ndata[] = "\003gss\011microsoft\003com";
@@ -94,7 +94,7 @@ static dns_name_t gsstsigms = {
{NULL, NULL}
};
dns_name_t *dns_tsig_gssapims_name = &gsstsigms;
LIBDNS_EXTERNAL_DATA dns_name_t *dns_tsig_gssapims_name = &gsstsigms;
static isc_result_t
tsig_verify_tcp(isc_buffer_t *source, dns_message_t *msg);

View File

@@ -15,14 +15,14 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.2 2001/10/16 23:20:54 gson Exp $ */
/* $Id: version.c,v 1.3 2001/11/19 03:08:22 mayer Exp $ */
#include <versions.h>
#include <dns/version.h>
const char dns_version[] = VERSION;
LIBDNS_EXTERNAL_DATA const char dns_version[] = VERSION;
const unsigned int dns_libinterface = LIBINTERFACE;
const unsigned int dns_librevision = LIBREVISION;
const unsigned int dns_libage = LIBAGE;
LIBDNS_EXTERNAL_DATA const unsigned int dns_libinterface = LIBINTERFACE;
LIBDNS_EXTERNAL_DATA const unsigned int dns_librevision = LIBREVISION;
LIBDNS_EXTERNAL_DATA const unsigned int dns_libage = LIBAGE;

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ipv6.h,v 1.17 2001/01/09 21:57:02 bwelling Exp $ */
/* $Id: ipv6.h,v 1.18 2001/11/19 03:08:24 mayer Exp $ */
#ifndef ISC_IPV6_H
#define ISC_IPV6_H 1
@@ -75,8 +75,8 @@ struct in6_addr {
#define IN6ADDR_ANY_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }}}
#define IN6ADDR_LOOPBACK_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }}}
extern const struct in6_addr in6addr_any;
extern const struct in6_addr in6addr_loopback;
LIBISC_EXTERNAL_DATA extern const struct in6_addr in6addr_any;
LIBISC_EXTERNAL_DATA extern const struct in6_addr in6addr_loopback;
struct sockaddr_in6 {
#ifdef ISC_PLATFORM_HAVESALEN

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lib.h,v 1.6 2001/01/09 21:57:06 bwelling Exp $ */
/* $Id: lib.h,v 1.7 2001/11/19 03:08:25 mayer Exp $ */
#ifndef ISC_LIB_H
#define ISC_LIB_H 1
@@ -25,7 +25,7 @@
ISC_LANG_BEGINDECLS
extern isc_msgcat_t *isc_msgcat;
LIBISC_EXTERNAL_DATA extern isc_msgcat_t *isc_msgcat;
void
isc_lib_initmsgcat(void);

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: platform.h.in,v 1.27 2001/11/01 22:39:27 gson Exp $ */
/* $Id: platform.h.in,v 1.28 2001/11/19 03:08:26 mayer Exp $ */
#ifndef ISC_PLATFORM_H
#define ISC_PLATFORM_H 1
@@ -180,6 +180,7 @@
#define LIBDNS_EXTERNAL_DATA
#define LIBISCCC_EXTERNAL_DATA
#define LIBISCCFG_EXTERNAL_DATA
#define LIBBIND9_EXTERNAL_DATA
#else /* ISC_PLATFORM_USEDECLSPEC */
#ifdef LIBISC_EXPORTS
#define LIBISC_EXTERNAL_DATA __declspec(dllexport)
@@ -201,6 +202,11 @@
#else
#define LIBISCCFG_EXTERNAL_DATA __declspec(dllimport)
#endif
#ifdef LIBBIND9_EXPORTS
#define LIBBIND9_EXTERNAL_DATA __declspec(dllexport)
#else
#define LIBBIND9_EXTERNAL_DATA __declspec(dllimport)
#endif
#endif /* ISC_PLATFORM_USEDECLSPEC */
/*

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:20:57 gson Exp $ */
/* $Id: version.h,v 1.2 2001/11/19 03:08:27 mayer Exp $ */
extern const char isc_version[];
#include <isc/platform.h>
extern const unsigned int isc_libinterface;
extern const unsigned int isc_librevision;
extern const unsigned int isc_libage;
LIBISC_EXTERNAL_DATA extern const char isc_version[];
LIBISC_EXTERNAL_DATA extern const unsigned int isc_libinterface;
LIBISC_EXTERNAL_DATA extern const unsigned int isc_librevision;
LIBISC_EXTERNAL_DATA extern const unsigned int isc_libage;

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lib.c,v 1.8 2001/01/09 21:56:12 bwelling Exp $ */
/* $Id: lib.c,v 1.9 2001/11/19 03:08:23 mayer Exp $ */
#include <config.h>
@@ -30,7 +30,7 @@
*** Globals
***/
isc_msgcat_t * isc_msgcat = NULL;
LIBISC_EXTERNAL_DATA isc_msgcat_t * isc_msgcat = NULL;
/***

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: platform.h,v 1.5 2001/07/26 03:15:15 mayer Exp $ */
/* $Id: platform.h,v 1.6 2001/11/19 03:08:31 mayer Exp $ */
#ifndef ISC_PLATFORM_H
#define ISC_PLATFORM_H 1
@@ -79,4 +79,10 @@
#define LIBDNS_EXTERNAL_DATA __declspec( dllimport )
#endif
#ifdef LIBBIND9_EXPORTS
#define LIBBIND9_EXTERNAL_DATA __declspec( dllexport )
#else
#define LIBBIND9_EXTERNAL_DATA __declspec( dllimport )
#endif
#endif /* ISC_PLATFORM_H */

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: time.h,v 1.23 2001/09/05 17:22:55 gson Exp $ */
/* $Id: time.h,v 1.24 2001/11/19 03:08:32 mayer Exp $ */
#ifndef ISC_TIME_H
#define ISC_TIME_H 1
@@ -39,7 +39,7 @@ struct isc_interval {
isc_int64_t interval;
};
extern isc_interval_t *isc_interval_zero;
LIBISC_EXTERNAL_DATA extern isc_interval_t *isc_interval_zero;
ISC_LANG_BEGINDECLS
@@ -82,7 +82,7 @@ struct isc_time {
FILETIME absolute;
};
extern isc_time_t *isc_time_epoch;
LIBISC_EXTERNAL_DATA extern isc_time_t *isc_time_epoch;
void
isc_time_settoepoch(isc_time_t *t);

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: time.c,v 1.33 2001/10/13 01:57:37 gson Exp $ */
/* $Id: time.c,v 1.34 2001/11/19 03:08:28 mayer Exp $ */
#include <config.h>
@@ -48,14 +48,14 @@
***/
static isc_time_t epoch = { { 0, 0 } };
isc_time_t *isc_time_epoch = &epoch;
LIBISC_EXTERNAL_DATA isc_time_t *isc_time_epoch = &epoch;
/***
*** Intervals
***/
static isc_interval_t zero_interval = { 0 };
isc_interval_t *isc_interval_zero = &zero_interval;
LIBISC_EXTERNAL_DATA isc_interval_t *isc_interval_zero = &zero_interval;
void
isc_interval_set(isc_interval_t *i, unsigned int seconds,

View File

@@ -15,14 +15,14 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.3 2001/10/16 23:20:57 gson Exp $ */
/* $Id: version.c,v 1.4 2001/11/19 03:08:29 mayer Exp $ */
#include <versions.h>
#include <isc/version.h>
const char isc_version[] = VERSION;
LIBISC_EXTERNAL_DATA const char isc_version[] = VERSION;
const unsigned int isc_libinterface = LIBINTERFACE;
const unsigned int isc_librevision = LIBREVISION;
const unsigned int isc_libage = LIBAGE;
LIBISC_EXTERNAL_DATA const unsigned int isc_libinterface = LIBINTERFACE;
LIBISC_EXTERNAL_DATA const unsigned int isc_librevision = LIBREVISION;
LIBISC_EXTERNAL_DATA const unsigned int isc_libage = LIBAGE;

View File

@@ -16,7 +16,7 @@
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lib.h,v 1.2 2001/03/27 20:08:09 bwelling Exp $ */
/* $Id: lib.h,v 1.3 2001/11/19 03:08:34 mayer Exp $ */
#ifndef ISCCC_LIB_H
#define ISCCC_LIB_H 1
@@ -26,7 +26,7 @@
ISC_LANG_BEGINDECLS
extern isc_msgcat_t *isccc_msgcat;
LIBISCCC_EXTERNAL_DATA extern isc_msgcat_t *isccc_msgcat;
void
isccc_lib_initmsgcat(void);

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:21:01 gson Exp $ */
/* $Id: version.h,v 1.2 2001/11/19 03:08:35 mayer Exp $ */
extern const char isccc_version[];
#include <isc/platform.h>
extern const unsigned int isccc_libinterface;
extern const unsigned int isccc_librevision;
extern const unsigned int isccc_libage;
LIBISCCC_EXTERNAL_DATA extern const char isccc_version[];
LIBISCCC_EXTERNAL_DATA extern const unsigned int isccc_libinterface;
LIBISCCC_EXTERNAL_DATA extern const unsigned int isccc_librevision;
LIBISCCC_EXTERNAL_DATA extern const unsigned int isccc_libage;

View File

@@ -16,7 +16,7 @@
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lib.c,v 1.2 2001/03/27 20:07:58 bwelling Exp $ */
/* $Id: lib.c,v 1.3 2001/11/19 03:08:33 mayer Exp $ */
#include <config.h>
@@ -32,7 +32,7 @@
*** Globals
***/
isc_msgcat_t * isccc_msgcat = NULL;
LIBISCCC_EXTERNAL_DATA isc_msgcat_t * isccc_msgcat = NULL;
/***

View File

@@ -15,14 +15,14 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.3 2001/10/16 23:21:02 gson Exp $ */
/* $Id: version.c,v 1.4 2001/11/19 03:08:36 mayer Exp $ */
#include <versions.h>
#include <isccc/version.h>
const char isccc_version[] = VERSION;
LIBISCCC_EXTERNAL_DATA const char isccc_version[] = VERSION;
const unsigned int isccc_libinterface = LIBINTERFACE;
const unsigned int isccc_librevision = LIBREVISION;
const unsigned int isccc_libage = LIBAGE;
LIBISCCC_EXTERNAL_DATA const unsigned int isccc_libinterface = LIBINTERFACE;
LIBISCCC_EXTERNAL_DATA const unsigned int isccc_librevision = LIBREVISION;
LIBISCCC_EXTERNAL_DATA const unsigned int isccc_libage = LIBAGE;

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:21:05 gson Exp $ */
/* $Id: version.h,v 1.2 2001/11/19 03:08:37 mayer Exp $ */
extern const char cfg_version[];
#include <isc/platform.h>
extern const unsigned int cfg_libinterface;
extern const unsigned int cfg_librevision;
extern const unsigned int cfg_libage;
LIBISCCFG_EXTERNAL_DATA extern const char cfg_version[];
LIBISCCFG_EXTERNAL_DATA extern const unsigned int cfg_libinterface;
LIBISCCFG_EXTERNAL_DATA extern const unsigned int cfg_librevision;
LIBISCCFG_EXTERNAL_DATA extern const unsigned int cfg_libage;

View File

@@ -15,15 +15,15 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.2 2001/10/16 23:21:05 gson Exp $ */
/* $Id: version.c,v 1.3 2001/11/19 03:08:39 mayer Exp $ */
#include <versions.h>
#include <isccfg/version.h>
const char cfg_version[] = VERSION;
LIBISCCFG_EXTERNAL_DATA const char cfg_version[] = VERSION;
const unsigned int cfg_libinterface = LIBINTERFACE;
const unsigned int cfg_librevision = LIBREVISION;
const unsigned int cfg_libage = LIBAGE;
LIBISCCFG_EXTERNAL_DATA const unsigned int cfg_libinterface = LIBINTERFACE;
LIBISCCFG_EXTERNAL_DATA const unsigned int cfg_librevision = LIBREVISION;
LIBISCCFG_EXTERNAL_DATA const unsigned int cfg_libage = LIBAGE;

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: context.c,v 1.41 2001/07/19 16:59:32 gson Exp $ */
/* $Id: context.c,v 1.42 2001/11/19 03:08:40 mayer Exp $ */
#include <config.h>
@@ -60,8 +60,8 @@ do { \
} while (0)
#endif
lwres_uint16_t lwres_udp_port = LWRES_UDP_PORT;
const char *lwres_resolv_conf = LWRES_RESOLV_CONF;
LIBLWRES_EXTERNAL_DATA lwres_uint16_t lwres_udp_port = LWRES_UDP_PORT;
LIBLWRES_EXTERNAL_DATA const char *lwres_resolv_conf = LWRES_RESOLV_CONF;
static void *
lwres_malloc(void *, size_t);

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwres.h,v 1.49 2001/07/02 20:46:29 bwelling Exp $ */
/* $Id: lwres.h,v 1.50 2001/11/19 03:08:41 mayer Exp $ */
#ifndef LWRES_LWRES_H
#define LWRES_LWRES_H 1
@@ -26,6 +26,7 @@
#include <lwres/lang.h>
#include <lwres/list.h>
#include <lwres/lwpacket.h>
#include <lwres/platform.h>
/*
* Design notes:
@@ -252,9 +253,9 @@ LWRES_LANG_BEGINDECLS
/*
* This is in host byte order.
*/
extern lwres_uint16_t lwres_udp_port;
LIBLWRES_EXTERNAL_DATA extern lwres_uint16_t lwres_udp_port;
extern const char *lwres_resolv_conf;
LIBLWRES_EXTERNAL_DATA extern const char *lwres_resolv_conf;
lwres_result_t
lwres_gabnrequest_render(lwres_context_t *ctx, lwres_gabnrequest_t *req,

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/23 18:45:52 gson Exp $ */
/* $Id: version.h,v 1.2 2001/11/19 03:08:43 mayer Exp $ */
extern const char lwres_version[];
#include <lwres/platform.h>
extern const unsigned int lwres_libinterface;
extern const unsigned int lwres_librevision;
extern const unsigned int lwres_libage;
LIBLWRES_EXTERNAL_DATA extern const char lwres_version[];
LIBLWRES_EXTERNAL_DATA extern const unsigned int lwres_libinterface;
LIBLWRES_EXTERNAL_DATA extern const unsigned int lwres_librevision;
LIBLWRES_EXTERNAL_DATA extern const unsigned int lwres_libage;

View File

@@ -15,14 +15,14 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.2 2001/10/23 18:45:53 gson Exp $ */
/* $Id: version.c,v 1.3 2001/11/19 03:08:44 mayer Exp $ */
#include <versions.h>
#include <lwres/version.h>
const char lwres_version[] = VERSION;
LIBLWRES_EXTERNAL_DATA const char lwres_version[] = VERSION;
const unsigned int lwres_libinterface = LIBINTERFACE;
const unsigned int lwres_librevision = LIBREVISION;
const unsigned int lwres_libage = LIBAGE;
LIBLWRES_EXTERNAL_DATA const unsigned int lwres_libinterface = LIBINTERFACE;
LIBLWRES_EXTERNAL_DATA const unsigned int lwres_librevision = LIBREVISION;
LIBLWRES_EXTERNAL_DATA const unsigned int lwres_libage = LIBAGE;