.TH "Fapi_List" 3 "Sun May 7 2023" "Version 4.0.1" "tpm2-tss" \" -*- nroff -*- .ad l .nh .SH NAME Fapi_List \- Fapi_List .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "TSS2_RC \fBFapi_List\fP (\fBFAPI_CONTEXT\fP *context, char const *searchPath, char **pathList)" .br .ti -1c .RI "TSS2_RC \fBFapi_List_Async\fP (\fBFAPI_CONTEXT\fP *context, char const *searchPath)" .br .ti -1c .RI "TSS2_RC \fBFapi_List_Finish\fP (\fBFAPI_CONTEXT\fP *context, char **pathList)" .br .in -1c .SH "Detailed Description" .PP FAPI functions to invoke List either as one-call or in an asynchronous manner\&. .SH "Function Documentation" .PP .SS "Fapi_List (\fBFAPI_CONTEXT\fP * context, char const * searchPath, char ** pathList)" One-Call function for Fapi_List .PP Enumerates all objects in the metadatastore in a fiven path and returns them in a list of complete paths from the root with the values separated by colons\&. .PP \fBParameters\fP .RS 4 \fIcontext\fP The \fBFAPI_CONTEXT\fP .br \fIsearchPath\fP The path that identifies the root of the search .br \fIpathList\fP A colon-separated list of all objects in the root path .RE .PP \fBReturn values\fP .RS 4 \fITSS2_RC_SUCCESS\fP if the function call was a success\&. .br \fITSS2_FAPI_RC_BAD_REFERENCE\fP if context, searchPath, pathlist is NULL\&. .br \fITSS2_FAPI_RC_BAD_CONTEXT\fP if context corruption is detected\&. .br \fITSS2_FAPI_RC_BAD_PATH\fP if searchPath does not map to a FAPI entity\&. .br \fITSS2_FAPI_RC_BAD_SEQUENCE\fP if the context has an asynchronous operation already pending\&. .br \fITSS2_FAPI_RC_IO_ERROR\fP if the data cannot be saved\&. .br \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory for internal operations or return parameters\&. .br \fITSS2_FAPI_RC_PATH_NOT_FOUND\fP if a FAPI object path was not found during authorization\&. .br \fITSS2_FAPI_RC_NOT_PROVISIONED\fP FAPI was not provisioned\&. .br \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&. .RE .PP .SS "Fapi_List_Async (\fBFAPI_CONTEXT\fP * context, char const * searchPath)" Asynchronous function for Fapi_List .PP Enumerates all objects in the metadatastore in a fiven path and returns them in a list of complete paths from the root with the values separated by colons\&. .PP Call Fapi_List_Finish to finish the execution of this command\&. .PP \fBReturn values\fP .RS 4 \fITSS2_RC_SUCCESS\fP if the function call was a success\&. .RE .PP \fBParameters\fP .RS 4 \fIcontext\fP The \fBFAPI_CONTEXT\fP .br \fIsearchPath\fP The path that identifies the root of the search .RE .PP \fBReturn values\fP .RS 4 \fITSS2_FAPI_RC_BAD_REFERENCE\fP if context or searchPath is NULL\&. .br \fITSS2_FAPI_RC_BAD_CONTEXT\fP if context corruption is detected\&. .br \fITSS2_FAPI_RC_BAD_PATH\fP if searchPath does not map to a FAPI entity\&. .br \fITSS2_FAPI_RC_BAD_SEQUENCE\fP if the context has an asynchronous operation already pending\&. .br \fITSS2_FAPI_RC_IO_ERROR\fP if the data cannot be saved\&. .br \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory for internal operations or return parameters\&. .RE .PP .SS "Fapi_List_Finish (\fBFAPI_CONTEXT\fP * context, char ** pathList)" Asynchronous finish function for Fapi_List .PP This function should be called after a previous Fapi_List_Async\&. .PP \fBParameters\fP .RS 4 \fIcontext\fP The \fBFAPI_CONTEXT\fP .br \fIpathList\fP A colon-separated list of all objects in the root path .RE .PP \fBReturn values\fP .RS 4 \fITSS2_RC_SUCCESS\fP if the function call was a success\&. .br \fITSS2_FAPI_RC_BAD_REFERENCE\fP if context or pathList is NULL\&. .br \fITSS2_FAPI_RC_BAD_CONTEXT\fP if context corruption is detected\&. .br \fITSS2_FAPI_RC_BAD_SEQUENCE\fP if the context has an asynchronous operation already pending\&. .br \fITSS2_FAPI_RC_IO_ERROR\fP if the data cannot be saved\&. .br \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory for internal operations or return parameters\&. .br \fITSS2_FAPI_RC_TRY_AGAIN\fP if the asynchronous operation is not yet complete\&. Call this function again later\&. .br \fITSS2_FAPI_RC_PATH_NOT_FOUND\fP if a FAPI object path was not found during authorization\&. .br \fITSS2_FAPI_RC_NOT_PROVISIONED\fP FAPI was not provisioned\&. .br \fITSS2_FAPI_RC_BAD_PATH\fP if the path is used in inappropriate context or contains illegal characters\&. .br \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for tpm2-tss from the source code\&.