Fapi_SetDescription(3)
π Fapi_SetDescription(3) β the manual page, but make it iconic
okay bestie, so this page is from the Library Functions Manual β and it's literally all about Fapi_SetDescription. no cap, it's giving metadata glow-up energy. β¨
π«Ά NAME
Fapi_SetDescription β because every object in your metadata store deserves a cute little human-readable description. periodt. π
β¨ SYNOPSIS
TSS2_RC Fapi_SetDescription (FAPI_CONTEXT *context, char const *path,
char const *description)
TSS2_RC Fapi_SetDescription_Async (FAPI_CONTEXT *context, char const *path,
char const *description)
TSS2_RC Fapi_SetDescription_Finish (FAPI_CONTEXT *context)
πΈ DESCRIPTION (Detailed Description)
These are the FAPI functions that invoke SetDescription β either as a one-call situation or in an asynchronous manner. iykyk. π¦
π Function Documentation
β TSS2_RC Fapi_SetDescription (FAPI_CONTEXT * context, char const * path, char const * description)
One-Call function for Fapi_SetDescription β the main character energy of this whole page. π
It associates a human readable description with an object in the metadata store. literally what it says on the tin. π
Parameters π
contextβ TheFAPI_CONTEXTpathβ The path of the object in the metadata storedescriptionβ The description that is associated with the object. May beNULL
Return values π
TSS2_RC_SUCCESSif the function call was a success.TSS2_FAPI_RC_BAD_REFERENCEifcontextorpathisNULL.TSS2_FAPI_RC_BAD_CONTEXTif context corruption is detected.TSS2_FAPI_RC_BAD_PATHifpathdoes not map to a FAPI entity.TSS2_FAPI_RC_BAD_SEQUENCEif the context has an asynchronous operation already pending.TSS2_FAPI_RC_IO_ERRORif the data cannot be saved.TSS2_FAPI_RC_MEMORYif the FAPI cannot allocate enough memory for internal operations or return parameters.TSS2_FAPI_RC_BAD_VALUEif an invalid value was passed into the function.TSS2_FAPI_RC_PATH_NOT_FOUNDif a FAPI object path was not found during authorization.TSS2_FAPI_RC_KEY_NOT_FOUNDif a key was not found.TSS2_FAPI_RC_TRY_AGAINif an I/O operation is not finished yet and this function needs to be called again.TSS2_FAPI_RC_GENERAL_FAILUREif an internal error occurred.TSS2_FAPI_RC_NOT_PROVISIONEDFAPI was not provisioned.
π¦ TSS2_RC Fapi_SetDescription_Async (FAPI_CONTEXT * context, char const * path, char const * description)
Asynchronous function for Fapi_SetDescription β because sometimes you gotta do things on your own timeline, bestie. β³
It associates a human readable description with an object in the metadata store. same vibe, different timing. π
Call Fapi_SetDescription_Finish to finish the execution of this command. don't leave it hanging, fr fr. π«Ά
Parameters π
contextβ TheFAPI_CONTEXTpathβ The path of the object in the metadata storedescriptionβ The description that is associated with the object. May beNULL
Return values π
TSS2_RC_SUCCESSif the function call was a success.TSS2_FAPI_RC_BAD_REFERENCEifcontextorpathisNULL.TSS2_FAPI_RC_BAD_CONTEXTif context corruption is detected.TSS2_FAPI_RC_BAD_PATHifpathdoes not map to a FAPI entity.TSS2_FAPI_RC_BAD_SEQUENCEif the context has an asynchronous operation already pending.TSS2_FAPI_RC_IO_ERRORif the data cannot be saved.TSS2_FAPI_RC_MEMORYif the FAPI cannot allocate enough memory for internal operations or return parameters.TSS2_FAPI_RC_BAD_VALUEif an invalid value was passed into the function.TSS2_FAPI_RC_PATH_NOT_FOUNDif a FAPI object path was not found during authorization.TSS2_FAPI_RC_KEY_NOT_FOUNDif a key was not found.TSS2_FAPI_RC_NOT_PROVISIONEDFAPI was not provisioned.
π§ TSS2_RC Fapi_SetDescription_Finish (FAPI_CONTEXT * context)
Asynchronous finish function for Fapi_SetDescription β the grand finale, the closing credits, the "okay we're done here" moment. π¬
This function should be called after a previous Fapi_SetDescription_Async. like, you can't skip to the end without starting the movie, bestie. π
Parameters π
contextβ TheFAPI_CONTEXT
Return values π₯
TSS2_RC_SUCCESSif the function call was a success.TSS2_FAPI_RC_BAD_REFERENCEifcontextisNULL.TSS2_FAPI_RC_BAD_CONTEXTif context corruption is detected.TSS2_FAPI_RC_BAD_SEQUENCEif the context has an asynchronous operation already pending.TSS2_FAPI_RC_IO_ERRORif the data cannot be saved.TSS2_FAPI_RC_MEMORYif the FAPI cannot allocate enough memory for internal operations or return parameters.TSS2_FAPI_RC_PATH_NOT_FOUNDIf no file is found after pathname expansion.TSS2_FAPI_RC_TRY_AGAINif the asynchronous operation is not yet complete. Call this function again later.TSS2_FAPI_RC_GENERAL_FAILUREif an internal error occurred.TSS2_FAPI_RC_BAD_VALUEif an invalid value was passed into the function.TSS2_FAPI_RC_BAD_PATHif the path is used in inappropriate context or contains illegal characters.
π Author
Generated automatically by Doxygen for tpm2-tss from the source code. the machine did it, not me. π€β¨
okay that's the whole page, bestie. this fabulous manual page was brought to you by tpm2-tss, Version 4.1.5, and it's dated Fapi_SetDescription(3) β slay. ππΈπ¦
π¦ 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