X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Fversion.h;h=d3bcb9d0026716ccb2388c6ed11044d0b813cb45;hp=cc624b8e32858b138204c144ba91dfcb0929a083;hb=fd8ac917393bd2dfeaeddabaeb3d150dc15df540;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e diff --git a/include/idzebra/version.h b/include/idzebra/version.h index cc624b8..d3bcb9d 100644 --- a/include/idzebra/version.h +++ b/include/idzebra/version.h @@ -1,8 +1,5 @@ -/* $Id: version.h,v 1.4 2006-05-10 08:13:20 adam Exp $ - Copyright (C) 1995-2005 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -15,16 +12,31 @@ 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 +#ifndef IDZEBRA_VERSION_H +#define IDZEBRA_VERSION_H + +#include + +YAZ_BEGIN_CDECL -#define ZEBRAVER "1.4.0" +#define ZEBRAVER "2.0.30" + +#define ZEBRA_FILEVERSION 2,0,30,1 + +/** \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); -#define ZEBRADATE "$Date: 2006-05-10 08:13:20 $" +YAZ_END_CDECL #endif /*