Fapi_List(3)
π Fapi_List(3) β the girlies' guide to listing your FAPI objects
okay so this is Fapi_List from the tpm2-tss Library Functions Manual and honestly it's giving "let me see everything in the metadatastore" energy β¨ buckle up bestie, we're learning today π
πΈ NAME πΈ
Fapi_List β literally just Fapi_List, that's the name, no notes π
β¨ SYNOPSIS β¨
π¦ Functions
TSS2_RC Fapi_List (FAPI_CONTEXT *context, char const *searchPath, char
**pathList)
TSS2_RC Fapi_List_Async (FAPI_CONTEXT *context, char const *searchPath)
TSS2_RC Fapi_List_Finish (FAPI_CONTEXT *context, char **pathList)
π Detailed Description π
these are the FAPI functions that let you invoke List β either the one-call way (slay, single function, done) or the asynchronous way (the "we're doing this in stages" vibe) π«Ά
π Function Documentation π
β TSS2_RC Fapi_List (FAPI_CONTEXT * context, char const * searchPath, char ** pathList)
One-Call function for Fapi_List β this is the main character fr fr π₯
it enumerates all objects in the metadatastore in a given path and returns them in a list of complete paths from the root, with the values separated by colons. yes bestie, colons, : π©·
π Parameters
contextβ theFAPI_CONTEXTsearchPathβ the path that identifies the root of the searchpathListβ a colon-separated list of all objects in the root path
π Return values
TSS2_RC_SUCCESSβ if the function call was a success β¨TSS2_FAPI_RC_BAD_REFERENCEβ ifcontext,searchPath,pathlistis NULL πTSS2_FAPI_RC_BAD_CONTEXTβ if context corruption is detected πTSS2_FAPI_RC_BAD_PATHβ ifsearchPathdoes not map to a FAPI entityTSS2_FAPI_RC_BAD_SEQUENCEβ if the context has an asynchronous operation already pending πTSS2_FAPI_RC_IO_ERRORβ if the data cannot be savedTSS2_FAPI_RC_MEMORYβ if the FAPI cannot allocate enough memory for internal operations or return parameters π«TSS2_FAPI_RC_PATH_NOT_FOUNDβ if a FAPI object path was not found during authorizationTSS2_FAPI_RC_NOT_PROVISIONEDβ FAPI was not provisionedTSS2_FAPI_RC_BAD_VALUEβ if an invalid value was passed into the function
πΈ TSS2_RC Fapi_List_Async (FAPI_CONTEXT * context, char const * searchPath)
Asynchronous function for Fapi_List β the "we'll get there when we get there" version π¦
it enumerates all objects in the metadatastore in a given path and returns them in a list of complete paths from the root with the values separated by colons. same deal as the one-call version, just async β¨
call Fapi_List_Finish to finish the execution of this command β no leaving it half-done bestie π«Ά
π Return values
TSS2_RC_SUCCESSβ if the function call was a success.
π Parameters
contextβ theFAPI_CONTEXTsearchPathβ the path that identifies the root of the search
π Return values
TSS2_FAPI_RC_BAD_REFERENCEβ ifcontextorsearchPathis NULL πTSS2_FAPI_RC_BAD_CONTEXTβ if context corruption is detected πTSS2_FAPI_RC_BAD_PATHβ ifsearchPathdoes not map to a FAPI entityTSS2_FAPI_RC_BAD_SEQUENCEβ if the context has an asynchronous operation already pending πTSS2_FAPI_RC_IO_ERRORβ if the data cannot be savedTSS2_FAPI_RC_MEMORYβ if the FAPI cannot allocate enough memory for internal operations or return parameters π«
π¦ TSS2_RC Fapi_List_Finish (FAPI_CONTEXT * context, char ** pathList)
Asynchronous finish function for Fapi_List β the grand finale, the closing number, the periodt π
this function should be called after a previous Fapi_List_Async. that's it, that's the rule π
π Parameters
contextβ theFAPI_CONTEXTpathListβ a colon-separated list of all objects in the root path
π Return values
TSS2_RC_SUCCESSβ if the function call was a success β¨TSS2_FAPI_RC_BAD_REFERENCEβ ifcontextorpathListis NULL πTSS2_FAPI_RC_BAD_CONTEXTβ if context corruption is detected πTSS2_FAPI_RC_BAD_SEQUENCEβ if the context has an asynchronous operation already pending πTSS2_FAPI_RC_IO_ERRORβ if the data cannot be savedTSS2_FAPI_RC_MEMORYβ if the FAPI cannot allocate enough memory for internal operations or return parameters π«TSS2_FAPI_RC_TRY_AGAINβ if the asynchronous operation is not yet complete. Call this function again later β³ (she's not ready yet, be patient bestie)TSS2_FAPI_RC_PATH_NOT_FOUNDβ if a FAPI object path was not found during authorizationTSS2_FAPI_RC_NOT_PROVISIONEDβ FAPI was not provisionedTSS2_FAPI_RC_BAD_PATHβ if the path is used in inappropriate context or contains illegal characters π©TSS2_FAPI_RC_BAD_VALUEβ if an invalid value was passed into the function
π§ Author π§
generated automatically by Doxygen for tpm2-tss from the source code β she wasn't hand-written, she was born this way, iykyk π«
and that's the whole page bestie!! mwah π this iconic little number came to you from tpm2-tss, Version 4.1.5, page Fapi_List(3) β no cap, that's the source and version, go off ππΈ
π¦ where this page comes from
- fedora 44: tpm2-tss-devel 4.1.5-1.fc44 Β· BSD-2-Clause
- fedora 44: tpm2-tss-devel 4.1.5-1.fc44 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms