File: TPMLIB_GetVersion.pod

package info (click to toggle)
libtpms 0.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,208 kB
  • sloc: ansic: 120,341; makefile: 829; sh: 336; cpp: 125
file content (30 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
=head1 NAME

TPMLIB_GetVersion  - Get the version of the TPM library

=head1 LIBRARY

TPM library (libtpms, -ltpms)

=head1 SYNOPSIS

B<#include <libtpms/tpm_library.h>>

B<uint32_t TPMLIB_GetVersion(void);>

=head1 DESCRIPTION

The B<TPMLIB_GetVersion()> function returns the libtpms library version.
The TPM library version is formatted as follows:

	Bits 0 - 7  : revision of the library
	Bits 8 -15  : minor version number of the library
	Bits 16-23  : major version number of the library

V0.5.1 is therefore represented as 0x00000501.

=head1 SEE ALSO

B<TPMLIB_MainInit>(3), B<TPMLIB_Terminate>(3)

=cut