-/* $Id: version.h,v 1.6 2006-06-26 15:11:31 marc Exp $
- Copyright (C) 1995-2005
+/* $Id: version.h,v 1.33 2008-01-28 14:19:59 adam Exp $
+ Copyright (C) 1995-2008
Index Data ApS
This file is part of the Zebra server.
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/yconfig.h>
+
+YAZ_BEGIN_CDECL
+
+#define ZEBRAVER "2.0.26"
-#define ZEBRAVER "2.0.0"
+#define ZEBRA_FILEVERSION 2,0,26,1
+
+#define ZEBRADATE "$Date: 2008-01-28 14:19:59 $"
+
+/** \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-06-26 15:11:31 $"
+YAZ_END_CDECL
#endif
/*