Removed mainpage - moved to yaz-util.h
[yaz-moved-to-github.git] / src / version.c
1 /*
2  * Copyright (C) 1995-2007, Index Data ApS
3  * See the file LICENSE for details.
4  *
5  * $Id: version.c,v 1.6 2007-01-13 08:57:47 adam Exp $
6  */
7
8 /**
9  * \file version.c
10  * \brief Implements YAZ version utilities.
11  */
12
13 #if HAVE_CONFIG_H
14 #include <config.h>
15 #endif
16
17 #include <string.h>
18 #include <yaz/yaz-version.h>
19
20 unsigned long yaz_version(char *version_str, char *sys_str)
21 {
22     if (version_str)
23         strcpy(version_str, YAZ_VERSION);
24     if (sys_str)
25         strcpy(sys_str, "");
26     return YAZ_VERSIONL;
27 }
28 /*
29  * Local variables:
30  * c-basic-offset: 4
31  * indent-tabs-mode: nil
32  * End:
33  * vim: shiftwidth=4 tabstop=8 expandtab
34  */
35