-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
- *
- * $Id: version.c,v 1.5 2007-01-03 08:42:15 adam Exp $
*/
/**
* \brief Implements YAZ version utilities.
*/
-/**
- * \mainpage The YAZ Toolkit.
- */
-
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <string.h>
#include <yaz/yaz-version.h>
-unsigned long yaz_version(char *version_str, char *sys_str)
+unsigned long yaz_version(char *version_str, char *sha1_str)
{
if (version_str)
strcpy(version_str, YAZ_VERSION);
- if (sys_str)
- strcpy(sys_str, "");
+ if (sha1_str)
+ strcpy(sha1_str, YAZ_VERSION_SHA1);
return YAZ_VERSIONL;
}
/*