.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "TPM_IO_TpmEstablished_Get 3" .TH TPM_IO_TpmEstablished_Get 3 2024-11-15 libtpms "" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME TPM_IO_TpmEstablished_Get \- get the value of the TPMEstablished flag .PP TPM_IO_TpmEstablished_Reset \- reset the TPMEstablished flag .SH LIBRARY .IX Header "LIBRARY" TPM library (libtpms, \-ltpms) .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fB#include .PP \&\fB#include .PP \&\fB#include .PP \&\fBTPM_RESULT TPM_IO_TpmEstablished_Get(TPM_BOOL\fR *\fItpmEstablished\fR\fB);\fR .PP \&\fBTPM_RESULT TPM_IO_TpmEstablished_Reset(void);\fR .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBTPM_IO_TpmEstablished_Get()\fR function returns the value of the TPMEstablished flag of the TPM's permanent data. .PP The \fBTPM_IO_TpmEstablished_Reset()\fR function resets the TPMEstablished flag. .SH ERRORS .IX Header "ERRORS" .IP \fBTPM_SUCCESS\fR 4 .IX Item "TPM_SUCCESS" The function completed successfully. .IP \fBTPM_FAIL\fR 4 .IX Item "TPM_FAIL" General failure. .IP \fBTPM_BAD_LOCALITY\fR 4 .IX Item "TPM_BAD_LOCALITY" The locality used for resetting the flags is wrong. .PP For a complete list of TPM error codes please consult the include file \&\fBlibtpms/tpm_error.h\fR .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBTPMLIB_MainInit\fR(3), \fBTPMLIB_Terminate\fR(3), \fBTPMLIB_RegisterCallbacks\fR(3), \&\fBTPMLIB_Process\fR(3), \fBTPM_IO_Hash_Start\fR(3), \fBTPM_IO_Hash_End\fR(3), \&\fBTPM_IO_Hash_Data\fR(3)