/*
- * Current software version.
- *
- * $Log: yaz-version.h,v $
- * Revision 1.2 2000-02-28 11:20:06 adam
- * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
- *
- * Revision 1.1 1999/11/30 13:47:11 adam
- * Improved installation. Moved header files to include/yaz.
- *
- * Revision 1.18 1998/06/26 11:17:23 quinn
- * v2+
- *
- * Revision 1.17 1998/01/30 15:32:57 adam
- * 1.4pl2.
- *
- * Revision 1.16 1998/01/29 13:28:23 adam
- * YAZ version 1.4pl1.
- *
- * Revision 1.15 1997/09/17 12:10:33 adam
- * YAZ version 1.4.
- *
- * Revision 1.14 1997/04/30 08:52:09 quinn
- * Null
- *
- * Revision 1.13 1996/10/11 15:06:55 quinn
- * Version 1.3
- *
- * Revision 1.12 1996/06/10 08:57:50 quinn
- * 1.2
- *
- * Revision 1.11 1996/04/10 11:40:33 quinn
- * 1.1pl2
- *
- * Revision 1.10 1996/02/20 12:57:45 quinn
- * V1.1
- *
- * Revision 1.9 1996/01/24 16:01:24 quinn
- * pl4
- *
- * Revision 1.8 1996/01/02 11:46:50 quinn
- * Changed 'operator' to 'roperator' to avoid C++ conflict.
- * Moved to pl3
- *
- * Revision 1.7 1995/12/06 15:50:42 quinn
- * 1.0pl2
- *
- * Revision 1.6 1995/12/05 11:15:57 quinn
- * 1.0pl1
- *
- * Revision 1.5 1995/11/28 09:31:22 quinn
- * Version 1.0
- *
- * Revision 1.4 1995/08/24 15:13:18 quinn
- * Beta 3
- *
- * Revision 1.3 1995/06/27 13:12:07 quinn
- * v1.0b2
- * See CHANGELOG for update info now.
- *
- * Revision 1.2 1995/06/19 13:39:16 quinn
- * 1.0 beta
- * All of basic 1995 should be in place at this point. Some little features
- * added to make the server more useful. BER dumper for bad protocol debugging.
- * Etc. First major release. All following releases should come with
- * a changelog.
- *
- * Revision 1.1 1995/06/14 12:34:55 quinn
- * Moved version.h to include/
- *
- * Revision 1.4 1995/06/07 14:43:57 quinn
- * Various work towards first public release. Specifically, the CLOSE
- * service has been added.
- *
- * Revision 1.3 1995/05/29 09:52:38 quinn
- * Second pre-release.
- *
- * Revision 1.2 1995/05/16 10:22:47 quinn
- * 0.1 beta
- * Fairly stable version with structure in place for asynchronous server
- * activity (the backend doesn't have complete support for this yet).
- *
- * Revision 1.1 1995/05/16 08:49:38 quinn
- * Introduced version control
- *
+ * Copyright (c) 1995-2006, Index Data
+ * All rights reserved.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * * Neither the name of Index Data nor the names of its contributors
+ * may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/* $Id: yaz-version.h,v 1.107 2006-12-18 08:48:30 adam Exp $ */
+/**
+ * \file yaz-version.h
+ * \brief Defines YAZ version.
*/
#ifndef YAZ_VERSION
-#define YAZ_VERSION "1.6"
+
+#include <yaz/yconfig.h>
+
+#define YAZ_VERSION "2.1.43"
+#define YAZ_VERSIONL 0x02012B
+
+#define YAZ_DATE 1
+
+#ifdef WIN32
+#ifdef NDEBUG
+#define YAZ_OS "WIN32 Release"
+#else
+#define YAZ_OS "WIN32 Debug"
#endif
+#endif
+
+YAZ_BEGIN_CDECL
+
+YAZ_EXPORT unsigned long yaz_version(char *version_str, char *sys_str);
+
+YAZ_END_CDECL
+
+#endif
+
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */