Fapi_SetAuthCB(3)
okay so welcome to the Fapi_SetAuthCB(3) page β thatβs the Library Functions Manual, bestie, and weβre about to get into the whole vibe. β¨
πΈ NAME πΈ
Fapi_SetAuthCB β Fapi_SetAuthCB. Itβs literally the function name and the page name doing a little mirror moment, and honestly? iconic. π
β¨ SYNOPSIS β¨
Typedefs
typedef TSS2_RC(* Fapi_CB_Auth) (char const *objectPath, char const *description, char const **auth, void *userData)
Functions
TSS2_RC Fapi_SetAuthCB (FAPI_CONTEXT *context, Fapi_CB_Auth callback, void *userData)
π DETAILED DESCRIPTION π
FAPI functions to invoke SetAuthCB. Thatβs the whole plot, no cap. π«Ά
π FUNCTION DOCUMENTATION π
TSS2_RC Fapi_SetAuthCB (FAPI_CONTEXT * context, Fapi_CB_Auth callback, void * userData)
This function registers an application-defined function as a callback to allow the TSS to get authorization values from the application. So yes, bestie, youβre handing over a little callback so the TSS can come ask your app for auth values. π
Parameters
contextβ TheFAPI_CONTEXT. Main character context energy. πcallbackβ The callback function for auth value retrieval. This is the one doing the auth-value fetching. β¨userDataβ A pointer that is provided to all callback invocations. It rides along to every callback moment. π¦
Return values
TSS2_RC_SUCCESSβ if the function call was a success. slay. πTSS2_FAPI_RC_BAD_REFERENCEβ if the context isNULL. not the null context era, bestie πTSS2_FAPI_RC_BAD_CONTEXTβ if context corruption is detected. red flag, literally π©TSS2_FAPI_RC_MEMORYβ if the FAPI cannot allocate enough memory for internal operations or return parameters. the memory said βno β€οΈβ πTSS2_FAPI_RC_BAD_SEQUENCEβ if the synchronous or Async functions are called while the context has another asynchronous operation outstanding, or the Finish function is called while the context does not have an appropriate asynchronous operation outstanding. sequence check said absolutely not. πTSS2_FAPI_RC_IO_ERRORβ if the data cannot be saved. the save did not save, fr fr π
π«Ά AUTHOR π«Ά
Generated automatically by Doxygen for tpm2-tss from the source code. So this page was auto-generated, but the vibe? hand-delivered. π
The footer energy is source/version tpm2-tss, Version 4.1.5 β and thereβs no date shown on this footer, so thatβs the whole sign-off, bestie. π
π¦ 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