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