1 | =head1 NAME
|
---|
2 |
|
---|
3 | TPMLIB_SetDebugFD - Set the file descriptor to send the debug output to
|
---|
4 |
|
---|
5 | TPMLIB_SetDebugLevel - Set the debugging level
|
---|
6 |
|
---|
7 | TPMLIB_SetDebugPrefix - Set the prefix for each debugging line
|
---|
8 |
|
---|
9 | =head1 LIBRARY
|
---|
10 |
|
---|
11 | TPM library (libtpms, -ltpms)
|
---|
12 |
|
---|
13 | =head1 SYNOPSIS
|
---|
14 |
|
---|
15 | B<#include <libtpms/tpm_library.h>>
|
---|
16 |
|
---|
17 | B<uint32_t TPMLIB_SetDebugFD(int fd);>
|
---|
18 |
|
---|
19 | B<uint32_t TPMLIB_SetDebugLevel(unsigned int level);>
|
---|
20 |
|
---|
21 | B<uint32_t TPMLIB_SetDebugPrefix(const char *prefix);>
|
---|
22 |
|
---|
23 | =head1 DESCRIPTION
|
---|
24 |
|
---|
25 | B<TPMLIB_SetDebugFD()> allows to set the file descriptor
|
---|
26 | to send the debug output to.
|
---|
27 |
|
---|
28 | B<TPMLIB_SetDebugLevel()> allows to set the debug level.
|
---|
29 | Only debug levels greater than 1 will produce output. The indentation
|
---|
30 | level of a line will determine whether it is printed. Lines with
|
---|
31 | 0 indentation will be printed at debug level 1, 1 space of indentation
|
---|
32 | at debug level 2 and so on.
|
---|
33 |
|
---|
34 | B<TPMLIB_SetDebugPrefix()> allows to set a prefix that is
|
---|
35 | to be printed in front of every line of debugging output. The
|
---|
36 | prefix can be used for further indentation.
|
---|
37 |
|
---|
38 | =cut
|
---|