Top |
The pskc_check_version()
function can be used to discover the
library version and to test that the shared library during run-time
is recent enough.
const char *
pskc_check_version (const char *req_version
);
Check PSKC library version.
See PSKC_VERSION
for a suitable req_version
string.
This function is one of few in the library that can be used without
a successful call to pskc_global_init()
.
# define PSKC_VERSION "2.6.12"
Pre-processor symbol with a string that describe the header file
version number. Used together with pskc_check_version()
to verify
header file and run-time library consistency.
# define PSKC_VERSION_NUMBER 0x02060c00
Pre-processor symbol with a hexadecimal value describing the header file version number. For example, when the header version is 1.2.3 this symbol will have the value 0x01020300. The last two digits are only used between public releases, and will otherwise be 00.