| #ifndef TSS2_TCTI_FUCHSIA_H |
| #define TSS2_TCTI_FUCHSIA_H |
| |
| #include "tss2_tcti.h" |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| /** |
| * Default TCTI initializer compatible with the function pointer required |
| * by TSS2. Any configuration value will be ignored. |
| */ |
| TSS2_RC Tss2_Tcti_Fuchsia_Init(TSS2_TCTI_CONTEXT *tctiContext, size_t *size, const char *conf); |
| |
| /** |
| * A convenience function that handles allocation internally. This is used by |
| * the Rust bindings to simplify the memory management. |
| */ |
| TSS2_RC Tss2_Tcti_Fuchsia_Init_Ex(TSS2_TCTI_CONTEXT **tctiContext, const char *conf); |
| |
| |
| /** |
| * Finalizes and frees the underlying Fuchsia context. This symbol is exposed |
| * so that Rust Bindgen can correctly include it in the Rust bindings. |
| */ |
| void Tss2_Tcti_Fuchsia_Finalize(TSS2_TCTI_CONTEXT *tctiContext); |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* TSS2_TCTI_FUCHSIA_H */ |