X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fidzebra%2Fversion.h;h=d848d95965575450399d898665f848180efeba64;hb=570bf3746bef524124e2a90a2999981a1c734b20;hp=cd726e0b614a6f8d17e4a9a8e813a0134a28bf54;hpb=ec214819d7b9e2f5c362584d8e38f83e13aae600;p=idzebra-moved-to-github.git diff --git a/include/idzebra/version.h b/include/idzebra/version.h index cd726e0..d848d95 100644 --- a/include/idzebra/version.h +++ b/include/idzebra/version.h @@ -1,6 +1,6 @@ -/* $Id: version.h,v 1.1 2004-08-25 09:23:36 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 - Index Data Aps +/* $Id: version.h,v 1.26 2007-09-19 10:03:45 adam Exp $ + Copyright (C) 1995-2007 + Index Data ApS This file is part of the Zebra server. @@ -15,33 +15,39 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ -#ifndef ZEBRAVER - -#define ZEBRAVER "1.4.0" - -#define ZEBRADATE "$Date: 2004-08-25 09:23:36 $" - -#ifdef __GNUC__ -typedef long long int zint; -#define ZINT_FORMAT "%lld" -#define ZINT_FORMAT0 "lld" -#else -#ifdef WIN32 -typedef __int64 zint; -#define ZINT_FORMAT "%I64d" -#define ZINT_FORMAT0 "I64d" -#else -typedef long zint; -#define ZINT_FORMAT "%ld" -#define ZINT_FORMAT0 "ld" -#endif -#endif +#ifndef IDZEBRA_VERSION_H +#define IDZEBRA_VERSION_H + +#include + +YAZ_BEGIN_CDECL + -typedef zint SYSNO; +#define ZEBRAVER "2.0.18" + +#define ZEBRADATE "$Date: 2007-09-19 10:03:45 $" + +/** \brief Returns Zebra version and system info. + \param version_str buffer for version (at least 16 bytes) + \param sys_str buffer for system info (at least 80 bytes) + \returns version as integer +*/ +YAZ_EXPORT +void zebra_get_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 + */ +