add a version.h for liblwres, too

This commit is contained in:
Andreas Gustafsson
2001-10-23 18:45:53 +00:00
parent 7f800a6b10
commit 1a32d316dd
5 changed files with 41 additions and 12 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.19 2001/07/31 01:32:45 gson Exp $
# $Id: Makefile.in,v 1.20 2001/10/23 18:45:52 gson Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -25,7 +25,7 @@ top_srcdir = @top_srcdir@
# install target below.
#
HEADERS = context.h lwbuffer.h lwpacket.h lwres.h result.h \
int.h lang.h list.h ipv6.h
int.h lang.h list.h ipv6.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/23 18:45:52 gson Exp $ */
extern const char lwres_version[];
extern const unsigned int lwres_libinterface;
extern const unsigned int lwres_librevision;
extern const unsigned int lwres_libage;

View File

@@ -15,10 +15,12 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: version.c,v 1.6 2001/01/09 21:59:35 bwelling Exp $ */
/* $Id: version.c,v 1.7 2001/10/23 18:45:50 gson Exp $ */
char lwres_version[] = VERSION;
#include <lwres/version.h>
unsigned int lwres_libinterface = LIBINTERFACE;
unsigned int lwres_librevision = LIBREVISION;
unsigned int lwres_libage = LIBAGE;
const char lwres_version[] = VERSION;
const unsigned int lwres_libinterface = LIBINTERFACE;
const unsigned int lwres_librevision = LIBREVISION;
const unsigned int lwres_libage = LIBAGE;

View File

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