1 | =head1 NAME
|
---|
2 |
|
---|
3 | TPMLIB_GetVersion - Get the version of the TPM library
|
---|
4 |
|
---|
5 | =head1 LIBRARY
|
---|
6 |
|
---|
7 | TPM library (libtpms, -ltpms)
|
---|
8 |
|
---|
9 | =head1 SYNOPSIS
|
---|
10 |
|
---|
11 | B<#include <libtpms/tpm_library.h>>
|
---|
12 |
|
---|
13 | B<uint32_t TPMLIB_GetVersion(void);>
|
---|
14 |
|
---|
15 | =head1 DESCRIPTION
|
---|
16 |
|
---|
17 | The B<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 |
|
---|
26 | =head1 SEE ALSO
|
---|
27 |
|
---|
28 | B<TPMLIB_MainInit>(3), B<TPMLIB_Terminate>(3)
|
---|
29 |
|
---|
30 | =cut
|
---|