Check for status for init handler in SRW wrapper
[yaz-moved-to-github.git] / util / 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-02-18 14:28:53 adam Exp $
7  */
8 #if HAVE_CONFIG_H
9 #include <config.h>
10 #endif
11
12 #include <yaz/yaz-version.h>
13
14 unsigned long yaz_version(char *version_str, char *sys_str)
15 {
16     if (version_str)
17         strcpy(version_str, YAZ_VERSION);
18     if (sys_str)
19         strcpy(sys_str, "");
20     return YAZ_VERSIONL;
21 }