yaz-version.h File Reference

Defines YAZ version. More...

#include <yaz/yconfig.h>

Go to the source code of this file.

Defines

#define YAZ_VERSION   "4.0.12"
 YAZ version as string.
#define YAZ_VERSIONL   0x4000c
 YAZ version as integer (for comparison purposes).
#define YAZ_FILEVERSION   4,0,12,1
 YAZ file version for YAZ DLL (resource).
#define YAZ_VERSION_SHA1   "aab59e4ad859bc77a361760c9e1dc3ebe6690233"
 SHA1 ID for YAZ (Git).

Functions

unsigned long yaz_version (char *version_str, char *sha1_str)
 returns YAZ version

Detailed Description

Defines YAZ version.

Definition in file yaz-version.h.


Define Documentation

#define YAZ_FILEVERSION   4,0,12,1

YAZ file version for YAZ DLL (resource).

Definition at line 42 of file yaz-version.h.

#define YAZ_VERSION   "4.0.12"

YAZ version as string.

Definition at line 36 of file yaz-version.h.

Referenced by yaz_version(), z_get_HTTP_Request(), z_get_HTTP_Response(), zget_InitRequest(), and zget_InitResponse().

#define YAZ_VERSION_SHA1   "aab59e4ad859bc77a361760c9e1dc3ebe6690233"

SHA1 ID for YAZ (Git).

Definition at line 45 of file yaz-version.h.

Referenced by yaz_version(), zget_InitRequest(), and zget_InitResponse().

#define YAZ_VERSIONL   0x4000c

YAZ version as integer (for comparison purposes).

Definition at line 39 of file yaz-version.h.

Referenced by yaz_version().


Function Documentation

unsigned long yaz_version ( char *  version_str,
char *  sha1_str 
)

returns YAZ version

Parameters:
version_str holds version upon completion (YAZ_VERSION)
sha1_str holds SHA1 (Git) upon completion (YAZ_VERSION_SHA1)
Returns:
long version value (YAZ_VERSIONL)

The version_str may be NULL in which case version is not returned. When not-null, version_str, should point to a buffer of at least 20 charcters in size (including "\0"). The sha1_str may be NULL in which case the SHA1 is not returnd. When not-null, sha1_str whould point to a buffer of at least 41 characters in size (including "\0").

Definition at line 18 of file version.c.

References YAZ_VERSION, YAZ_VERSION_SHA1, and YAZ_VERSIONL.

Generated on Tue Aug 17 13:13:20 2010 for YAZ by  doxygen 1.6.3