Added ZEBRA_FILEVERSION
[idzebra-moved-to-github.git] / include / idzebra / version.h
1 /* $Id: version.h,v 1.32 2008-01-18 14:24:56 adam Exp $
2    Copyright (C) 1995-2007
3    Index Data ApS
4
5 This file is part of the Zebra server.
6
7 Zebra is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
10 version.
11
12 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20
21 */
22
23 #ifndef IDZEBRA_VERSION_H
24 #define IDZEBRA_VERSION_H
25
26 #include <yaz/yconfig.h>
27
28 YAZ_BEGIN_CDECL
29
30 #define ZEBRAVER "2.0.24"
31
32 #define ZEBRA_FILEVERSION 2,0,24,1
33
34 #define ZEBRADATE "$Date: 2008-01-18 14:24:56 $"
35
36 /** \brief Returns Zebra version and system info.
37     \param version_str buffer for version (at least 16 bytes)
38     \param sys_str buffer for system info (at least 80 bytes)
39     \returns version as integer
40 */
41 YAZ_EXPORT
42 void zebra_get_version(char *version_str, char *sys_str);
43
44 YAZ_END_CDECL
45
46 #endif
47 /*
48  * Local variables:
49  * c-basic-offset: 4
50  * indent-tabs-mode: nil
51  * End:
52  * vim: shiftwidth=4 tabstop=8 expandtab
53  */
54