1TPMLIB_GETVERSION(1)         libtpms documentation        TPMLIB_GETVERSION(1)
2
3
4

NAME

6       TPMLIB_GetVersion  - Get the version of the TPM library
7

LIBRARY

9       TPM library (libtpms, -ltpms)
10

SYNOPSIS

12       #include <libtpms/tpm_library.h>
13
14       uint32_t TPMLIB_GetVersion(void);
15

DESCRIPTION

17       The TPMLIB_GetVersion() function returns the libtpms library version.
18       The TPM library version is formatted as follows:
19
20               Bits 0 - 7  : revision of the library
21               Bits 8 -15  : minor version number of the library
22               Bits 16-23  : major version number of the library
23
24       V0.5.1 is therefore represented as 0x00000501.
25

SEE ALSO

27       TPMLIB_MainInit(3), TPMLIB_Terminate(3)
28
29
30
31libtpms-0.5.1                     2011-03-09              TPMLIB_GETVERSION(1)
Impressum