Source restructure. yaz-marcdump part of installation
[yaz-moved-to-github.git] / src / version.c
1 /*
2  * Copyright (c) 1995-2003, Index Data.
3  * See the file LICENSE for details.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Id: version.c,v 1.1 2003-10-27 12:21:36 adam Exp $
7  */
8 #if HAVE_CONFIG_H
9 #include <config.h>
10 #endif
11
12 #include <string.h>
13 #include <yaz/yaz-version.h>
14
15 unsigned long yaz_version(char *version_str, char *sys_str)
16 {
17     if (version_str)
18         strcpy(version_str, YAZ_VERSION);
19     if (sys_str)
20         strcpy(sys_str, "");
21     return YAZ_VERSIONL;
22 }