Added a version.h file for each library; made version

variables const
This commit is contained in:
Andreas Gustafsson
2001-10-16 23:21:07 +00:00
parent 4c706de3c7
commit dcfc52bbba
20 changed files with 200 additions and 55 deletions

View File

@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.3 2001/10/01 20:53:48 gson Exp $
# $Id: Makefile.in,v 1.4 2001/10/16 23:20:50 gson Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -26,7 +26,7 @@ top_srcdir = @top_srcdir@
# machine generated. The latter are handled specially in the
# install target below.
#
HEADERS = check.h
HEADERS = check.h version.h
SUBDIRS =
TARGETS =

View File

@@ -0,0 +1,24 @@
/*
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:20:51 gson Exp $ */
extern const char bind9_version[];
extern const unsigned int bind9_libinterface;
extern const unsigned int bind9_librevision;
extern const unsigned int bind9_libage;

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.1 2001/09/20 15:17:06 marka Exp $ */
/* $Id: version.c,v 1.2 2001/10/16 23:20:48 gson Exp $ */
char bind9_version[] = VERSION;
#include <bind9/version.h>
unsigned int bind9_libinterface = LIBINTERFACE;
unsigned int bind9_librevision = LIBREVISION;
unsigned int bind9_libage = LIBAGE;
const char bind9_version[] = VERSION;
const unsigned int bind9_libinterface = LIBINTERFACE;
const unsigned int bind9_librevision = LIBREVISION;
const unsigned int bind9_libage = LIBAGE;

View File

@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.43 2001/05/04 17:08:43 gson Exp $
# $Id: Makefile.in,v 1.44 2001/10/16 23:20:52 gson Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -32,7 +32,7 @@ HEADERS = a6.h acl.h adb.h byaddr.h cache.h callbacks.h \
rdataslab.h rdatatype.h request.h resolver.h result.h \
rootns.h sdb.h secalg.h secproto.h ssu.h \
tcpmsg.h time.h tkey.h \
tsig.h ttl.h types.h validator.h view.h xfrin.h \
tsig.h ttl.h types.h validator.h version.h view.h xfrin.h \
zone.h zonekey.h zt.h
GENHEADERS = enumclass.h enumtype.h rdatastruct.h

View File

@@ -0,0 +1,24 @@
/*
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:20:53 gson Exp $ */
extern const char dns_version[];
extern const unsigned int dns_libinterface;
extern const unsigned int dns_librevision;
extern const unsigned int dns_libage;

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.9 2001/01/09 21:51:43 bwelling Exp $ */
/* $Id: version.c,v 1.10 2001/10/16 23:20:51 gson Exp $ */
char dns_version[] = VERSION;
#include <dns/version.h>
unsigned int dns_libinterface = LIBINTERFACE;
unsigned int dns_librevision = LIBREVISION;
unsigned int dns_libage = LIBAGE;
const char dns_version[] = VERSION;
const unsigned int dns_libinterface = LIBINTERFACE;
const unsigned int dns_librevision = LIBREVISION;
const unsigned int dns_libage = LIBAGE;

View File

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

View File

@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.50 2001/07/06 22:11:40 gson Exp $
# $Id: Makefile.in,v 1.51 2001/10/16 23:20:56 gson Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -37,7 +37,7 @@ HEADERS = app.h assertions.h base64.h bitstring.h boolean.h buffer.h \
refcount.h region.h resource.h \
result.h resultclass.h rwlock.h serial.h sha1.h sockaddr.h \
socket.h stdio.h string.h symtab.h task.h taskpool.h timer.h \
types.h util.h
types.h util.h version.h
SUBDIRS =
TARGETS =

View File

@@ -0,0 +1,24 @@
/*
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:20:57 gson Exp $ */
extern const char isc_version[];
extern const unsigned int isc_libinterface;
extern const unsigned int isc_librevision;
extern const unsigned int isc_libage;

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.9 2001/01/09 21:56:38 bwelling Exp $ */
/* $Id: version.c,v 1.10 2001/10/16 23:20:55 gson Exp $ */
char isc_version[] = VERSION;
#include <isc/version.h>
unsigned int isc_libinterface = LIBINTERFACE;
unsigned int isc_librevision = LIBREVISION;
unsigned int isc_libage = LIBAGE;
const char isc_version[] = VERSION;
const unsigned int isc_libinterface = LIBINTERFACE;
const unsigned int isc_librevision = LIBREVISION;
const unsigned int isc_libage = LIBAGE;

View File

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

View File

@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.3 2001/04/16 22:44:43 bwelling Exp $
# $Id: Makefile.in,v 1.4 2001/10/16 23:21:00 gson Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -27,7 +27,7 @@ top_srcdir = @top_srcdir@
# install target below.
#
HEADERS = alist.h base64.h cc.h ccmsg.h events.h lib.h result.h \
sexpr.h symtab.h symtype.h types.h util.h
sexpr.h symtab.h symtype.h types.h util.h version.h
SUBDIRS =
TARGETS =

View File

@@ -0,0 +1,24 @@
/*
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:21:01 gson Exp $ */
extern const char isccc_version[];
extern const unsigned int isccc_libinterface;
extern const unsigned int isccc_librevision;
extern const unsigned int isccc_libage;

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.1 2001/07/09 22:25:27 gson Exp $ */
/* $Id: version.c,v 1.2 2001/10/16 23:20:59 gson Exp $ */
char isccc_version[] = VERSION;
#include <isccc/version.h>
unsigned int isccc_libinterface = LIBINTERFACE;
unsigned int isccc_librevision = LIBREVISION;
unsigned int isccc_libage = LIBAGE;
const char isccc_version[] = VERSION;
const unsigned int isccc_libinterface = LIBINTERFACE;
const unsigned int isccc_librevision = LIBREVISION;
const unsigned int isccc_libage = LIBAGE;

View File

@@ -15,12 +15,14 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.2 2001/07/17 20:29:35 gson Exp $ */
/* $Id: version.c,v 1.3 2001/10/16 23:21:02 gson Exp $ */
#include <versions.h>
char isccc_version[] = VERSION;
#include <isccc/version.h>
unsigned int isccc_libinterface = LIBINTERFACE;
unsigned int isccc_librevision = LIBREVISION;
unsigned int isccc_libage = LIBAGE;
const char isccc_version[] = VERSION;
const unsigned int isccc_libinterface = LIBINTERFACE;
const unsigned int isccc_librevision = LIBREVISION;
const unsigned int isccc_libage = LIBAGE;

View File

@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.5 2001/09/29 20:00:39 halley Exp $
# $Id: Makefile.in,v 1.6 2001/10/16 23:21:04 gson Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -26,7 +26,7 @@ top_srcdir = @top_srcdir@
# machine generated. The latter are handled specially in the
# install target below.
#
HEADERS = cfg.h log.h
HEADERS = cfg.h log.h version.h
SUBDIRS =
TARGETS =

View File

@@ -0,0 +1,24 @@
/*
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.h,v 1.1 2001/10/16 23:21:05 gson Exp $ */
extern const char cfg_version[];
extern const unsigned int cfg_libinterface;
extern const unsigned int cfg_librevision;
extern const unsigned int cfg_libage;

View File

@@ -15,10 +15,13 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.1 2001/07/09 22:25:28 gson Exp $ */
/* $Id: version.c,v 1.2 2001/10/16 23:21:03 gson Exp $ */
char cfg_version[] = VERSION;
#include <isccfg/version.h>
const char cfg_version[] = VERSION;
const unsigned int cfg_libinterface = LIBINTERFACE;
const unsigned int cfg_librevision = LIBREVISION;
const unsigned int cfg_libage = LIBAGE;
unsigned int cfg_libinterface = LIBINTERFACE;
unsigned int cfg_librevision = LIBREVISION;
unsigned int cfg_libage = LIBAGE;

View File

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

View File

@@ -1524,6 +1524,7 @@
./lib/bind/resolv/res_send.c X 2001
./lib/bind/resolv/res_sendsigned.c X 2001
./lib/bind/resolv/res_update.c X 2001
./lib/bind9/include/bind9/version.h C 2001
./lib/dns/.cvsignore X 1999,2000,2001
./lib/dns/Makefile.in MAKE 1998,1999,2000,2001
./lib/dns/a6.c C 1999,2000,2001
@@ -1607,6 +1608,7 @@
./lib/dns/include/dns/ttl.h C 1999,2000,2001
./lib/dns/include/dns/types.h C 1998,1999,2000,2001
./lib/dns/include/dns/validator.h C 2000,2001
./lib/dns/include/dns/version.h C 2001
./lib/dns/include/dns/view.h C 1999,2000,2001
./lib/dns/include/dns/xfrin.h C 1999,2000,2001
./lib/dns/include/dns/zone.h C 1999,2000,2001
@@ -1855,6 +1857,7 @@
./lib/isc/include/isc/timer.h C 1998,1999,2000,2001
./lib/isc/include/isc/types.h C 1999,2000,2001
./lib/isc/include/isc/util.h C 1998,1999,2000,2001
./lib/isc/include/isc/version.h C 2001
./lib/isc/inet_aton.c C.PORTION 1996,1997,1998,1999,2000,2001
./lib/isc/inet_ntop.c C 1996,1997,1998,1999,2000,2001
./lib/isc/inet_pton.c C 1996,1997,1998,1999,2000,2001
@@ -2032,6 +2035,7 @@
./lib/isccc/include/isccc/symtype.h C.NOM 2001
./lib/isccc/include/isccc/types.h C.NOM 2001
./lib/isccc/include/isccc/util.h C.NOM 2001
./lib/isccc/include/isccc/version.h C 2001
./lib/isccc/lib.c C.NOM 2001
./lib/isccc/result.c C.NOM 2001
./lib/isccc/sexpr.c C.NOM 2001
@@ -2054,6 +2058,7 @@
./lib/isccfg/include/isccfg/cfg.h C 2000,2001
./lib/isccfg/include/isccfg/check.h C 2001
./lib/isccfg/include/isccfg/log.h C 2001
./lib/isccfg/include/isccfg/version.h C 2001
./lib/isccfg/log.c C 2001
./lib/isccfg/parser.c C 2000,2001
./lib/isccfg/version.c C 1998,1999,2000,2001