Fapi_SetBranchCB(3)
π Fapi_SetBranchCB: branch-picking callback realness π
okay so bestie, this is the Fapi_SetBranchCB(3) page from the tpm2-tss Library Functions Manual. It's giving very specific callback energy, and we're keeping every single detail, no cap. π
πΈ NAME πΈ
Fapi_SetBranchCB β Fapi_SetBranchCB
β¨ SYNOPSIS β¨
π Typedefs π
The typedef is right here, and yes, it's staying exactly as-is:
typedef TSS2_RC(* Fapi_CB_Branch) (char const *objectPath, char const
*description, char const **branchNames, size_t numBranches, size_t
*selectedBranch, void *userData)
π¦ Functions π¦
And here's the function, iconic:
TSS2_RC Fapi_SetBranchCB (FAPI_CONTEXT *context, Fapi_CB_Branch
callback, void *userData)
π Detailed Description π
The detailed description is literally: FAPI functions to invoke SetBranchCB.
π₯ Function Documentation π₯
TSS2_RC Fapi_SetBranchCB
TSS2_RC Fapi_SetBranchCB (FAPI_CONTEXT * context, Fapi_CB_Branch callback,
void * userData)
This function registers a callback that will be invoked whenever the FAPI has to decide which branch of a Policy-OR policy to use to authorize a particular FAPI operation.
π Parameters π
contextβ TheFAPI_CONTEXTcallbackβ The callback function for branch selectionuserDataβ A pointer that is provided to all callback invocations
π Return values π
TSS2_RC_SUCCESSβ if the function call was a success.TSS2_FAPI_RC_BAD_REFERENCEβ if the context isNULL.TSS2_FAPI_RC_BAD_CONTEXTβ if context corruption is detected.TSS2_FAPI_RC_MEMORYβ if the FAPI cannot allocate enough memory for internal operations or return parameters.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.TSS2_FAPI_RC_IO_ERRORβ if the data cannot be saved.
π Author π
Generated automatically by Doxygen for tpm2-tss from the source code.
okay bye bestie π«Ά the footer vibes are source: tpm2-tss, Version 4.1.5, and page: Fapi_SetBranchCB(3) β no date listed, so I'm not inventing one πβ¨π
π¦ 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