YAZ
5.34.0
|
Implements YAZ version utilities. More...
Go to the source code of this file.
Functions | |
unsigned long | yaz_version (char *version_str, char *sha1_str) |
returns YAZ version More... | |
Implements YAZ version utilities.
Definition in file version.c.
unsigned long yaz_version | ( | char * | version_str, |
char * | sha1_str | ||
) |
returns YAZ version
version_str | holds version upon completion (YAZ_VERSION) |
sha1_str | holds SHA1 (Git) upon completion (YAZ_VERSION_SHA1) |
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.
Referenced by show_version().