-/* $Id: version.h,v 1.18 2007-01-24 18:00:39 adam Exp $
- Copyright (C) 1995-2007
- 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
*/
-#ifndef ZEBRAVER
+#ifndef IDZEBRA_VERSION_H
+#define IDZEBRA_VERSION_H
+
+#include <yaz/yconfig.h>
+
+YAZ_BEGIN_CDECL
+
+#define ZEBRAVER "2.0.27"
-#define ZEBRAVER "2.0.11"
+#define ZEBRA_FILEVERSION 2,0,27,1
+
+#define ZEBRADATE "$Date: 2008-03-05 09:29:09 $"
+
+/** \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: 2007-01-24 18:00:39 $"
+YAZ_END_CDECL
#endif
/*