sdk

Radroots SDK and bindings
git clone https://radroots.dev/git/sdk.git
Log | Files | Refs | README

radroots_sdkFFI.h (25537B)


      1 // This file was autogenerated by some hot garbage in the `uniffi` crate.
      2 // Trust me, you don't want to mess with it!
      3 
      4 #pragma once
      5 
      6 #include <stdbool.h>
      7 #include <stddef.h>
      8 #include <stdint.h>
      9 
     10 // The following structs are used to implement the lowest level
     11 // of the FFI, and thus useful to multiple uniffied crates.
     12 // We ensure they are declared exactly once, with a header guard, UNIFFI_SHARED_H.
     13 #ifdef UNIFFI_SHARED_H
     14     // We also try to prevent mixing versions of shared uniffi header structs.
     15     // If you add anything to the #else block, you must increment the version suffix in UNIFFI_SHARED_HEADER_V4
     16     #ifndef UNIFFI_SHARED_HEADER_V4
     17         #error Combining helper code from multiple versions of uniffi is not supported
     18     #endif // ndef UNIFFI_SHARED_HEADER_V4
     19 #else
     20 #define UNIFFI_SHARED_H
     21 #define UNIFFI_SHARED_HEADER_V4
     22 // ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
     23 // ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file.           ⚠️
     24 
     25 typedef struct RustBuffer
     26 {
     27     uint64_t capacity;
     28     uint64_t len;
     29     uint8_t *_Nullable data;
     30 } RustBuffer;
     31 
     32 typedef struct ForeignBytes
     33 {
     34     int32_t len;
     35     const uint8_t *_Nullable data;
     36 } ForeignBytes;
     37 
     38 // Error definitions
     39 typedef struct RustCallStatus {
     40     int8_t code;
     41     RustBuffer errorBuf;
     42 } RustCallStatus;
     43 
     44 // ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
     45 // ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file.           ⚠️
     46 #endif // def UNIFFI_SHARED_H
     47 #ifndef UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
     48 #define UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
     49 typedef void (*UniffiRustFutureContinuationCallback)(uint64_t, int8_t
     50     );
     51 
     52 #endif
     53 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK
     54 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK
     55 typedef void (*UniffiForeignFutureDroppedCallback)(uint64_t
     56     );
     57 
     58 #endif
     59 #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
     60 #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
     61 typedef void (*UniffiCallbackInterfaceFree)(uint64_t
     62     );
     63 
     64 #endif
     65 #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_CLONE
     66 #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_CLONE
     67 typedef uint64_t (*UniffiCallbackInterfaceClone)(uint64_t
     68     );
     69 
     70 #endif
     71 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK_STRUCT
     72 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK_STRUCT
     73 typedef struct UniffiForeignFutureDroppedCallbackStruct {
     74     uint64_t handle;
     75     UniffiForeignFutureDroppedCallback _Nonnull free;
     76 } UniffiForeignFutureDroppedCallbackStruct;
     77 
     78 #endif
     79 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U8
     80 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U8
     81 typedef struct UniffiForeignFutureResultU8 {
     82     uint8_t returnValue;
     83     RustCallStatus callStatus;
     84 } UniffiForeignFutureResultU8;
     85 
     86 #endif
     87 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
     88 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
     89 typedef void (*UniffiForeignFutureCompleteU8)(uint64_t, UniffiForeignFutureResultU8
     90     );
     91 
     92 #endif
     93 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I8
     94 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I8
     95 typedef struct UniffiForeignFutureResultI8 {
     96     int8_t returnValue;
     97     RustCallStatus callStatus;
     98 } UniffiForeignFutureResultI8;
     99 
    100 #endif
    101 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
    102 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
    103 typedef void (*UniffiForeignFutureCompleteI8)(uint64_t, UniffiForeignFutureResultI8
    104     );
    105 
    106 #endif
    107 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U16
    108 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U16
    109 typedef struct UniffiForeignFutureResultU16 {
    110     uint16_t returnValue;
    111     RustCallStatus callStatus;
    112 } UniffiForeignFutureResultU16;
    113 
    114 #endif
    115 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
    116 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
    117 typedef void (*UniffiForeignFutureCompleteU16)(uint64_t, UniffiForeignFutureResultU16
    118     );
    119 
    120 #endif
    121 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I16
    122 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I16
    123 typedef struct UniffiForeignFutureResultI16 {
    124     int16_t returnValue;
    125     RustCallStatus callStatus;
    126 } UniffiForeignFutureResultI16;
    127 
    128 #endif
    129 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
    130 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
    131 typedef void (*UniffiForeignFutureCompleteI16)(uint64_t, UniffiForeignFutureResultI16
    132     );
    133 
    134 #endif
    135 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U32
    136 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U32
    137 typedef struct UniffiForeignFutureResultU32 {
    138     uint32_t returnValue;
    139     RustCallStatus callStatus;
    140 } UniffiForeignFutureResultU32;
    141 
    142 #endif
    143 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
    144 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
    145 typedef void (*UniffiForeignFutureCompleteU32)(uint64_t, UniffiForeignFutureResultU32
    146     );
    147 
    148 #endif
    149 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I32
    150 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I32
    151 typedef struct UniffiForeignFutureResultI32 {
    152     int32_t returnValue;
    153     RustCallStatus callStatus;
    154 } UniffiForeignFutureResultI32;
    155 
    156 #endif
    157 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
    158 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
    159 typedef void (*UniffiForeignFutureCompleteI32)(uint64_t, UniffiForeignFutureResultI32
    160     );
    161 
    162 #endif
    163 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U64
    164 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U64
    165 typedef struct UniffiForeignFutureResultU64 {
    166     uint64_t returnValue;
    167     RustCallStatus callStatus;
    168 } UniffiForeignFutureResultU64;
    169 
    170 #endif
    171 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
    172 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
    173 typedef void (*UniffiForeignFutureCompleteU64)(uint64_t, UniffiForeignFutureResultU64
    174     );
    175 
    176 #endif
    177 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I64
    178 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I64
    179 typedef struct UniffiForeignFutureResultI64 {
    180     int64_t returnValue;
    181     RustCallStatus callStatus;
    182 } UniffiForeignFutureResultI64;
    183 
    184 #endif
    185 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
    186 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
    187 typedef void (*UniffiForeignFutureCompleteI64)(uint64_t, UniffiForeignFutureResultI64
    188     );
    189 
    190 #endif
    191 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F32
    192 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F32
    193 typedef struct UniffiForeignFutureResultF32 {
    194     float returnValue;
    195     RustCallStatus callStatus;
    196 } UniffiForeignFutureResultF32;
    197 
    198 #endif
    199 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
    200 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
    201 typedef void (*UniffiForeignFutureCompleteF32)(uint64_t, UniffiForeignFutureResultF32
    202     );
    203 
    204 #endif
    205 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F64
    206 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F64
    207 typedef struct UniffiForeignFutureResultF64 {
    208     double returnValue;
    209     RustCallStatus callStatus;
    210 } UniffiForeignFutureResultF64;
    211 
    212 #endif
    213 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
    214 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
    215 typedef void (*UniffiForeignFutureCompleteF64)(uint64_t, UniffiForeignFutureResultF64
    216     );
    217 
    218 #endif
    219 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_RUST_BUFFER
    220 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_RUST_BUFFER
    221 typedef struct UniffiForeignFutureResultRustBuffer {
    222     RustBuffer returnValue;
    223     RustCallStatus callStatus;
    224 } UniffiForeignFutureResultRustBuffer;
    225 
    226 #endif
    227 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
    228 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
    229 typedef void (*UniffiForeignFutureCompleteRustBuffer)(uint64_t, UniffiForeignFutureResultRustBuffer
    230     );
    231 
    232 #endif
    233 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_VOID
    234 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_VOID
    235 typedef struct UniffiForeignFutureResultVoid {
    236     RustCallStatus callStatus;
    237 } UniffiForeignFutureResultVoid;
    238 
    239 #endif
    240 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
    241 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
    242 typedef void (*UniffiForeignFutureCompleteVoid)(uint64_t, UniffiForeignFutureResultVoid
    243     );
    244 
    245 #endif
    246 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_CLONE_MOBILECLIENT
    247 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_CLONE_MOBILECLIENT
    248 uint64_t uniffi_radroots_sdk_ffi_fn_clone_mobileclient(uint64_t handle, RustCallStatus *_Nonnull out_status
    249 );
    250 #endif
    251 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FREE_MOBILECLIENT
    252 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FREE_MOBILECLIENT
    253 void uniffi_radroots_sdk_ffi_fn_free_mobileclient(uint64_t handle, RustCallStatus *_Nonnull out_status
    254 );
    255 #endif
    256 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_CONSTRUCTOR_MOBILECLIENT_MEMORY
    257 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_CONSTRUCTOR_MOBILECLIENT_MEMORY
    258 uint64_t uniffi_radroots_sdk_ffi_fn_constructor_mobileclient_memory(RustCallStatus *_Nonnull out_status
    259 
    260 );
    261 #endif
    262 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_CAPABILITIES
    263 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_CAPABILITIES
    264 RustBuffer uniffi_radroots_sdk_ffi_fn_method_mobileclient_capabilities(uint64_t ptr, RustCallStatus *_Nonnull out_status
    265 );
    266 #endif
    267 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_CLOSE
    268 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_CLOSE
    269 uint64_t uniffi_radroots_sdk_ffi_fn_method_mobileclient_close(uint64_t ptr
    270 );
    271 #endif
    272 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_IS_CLOSED
    273 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_IS_CLOSED
    274 int8_t uniffi_radroots_sdk_ffi_fn_method_mobileclient_is_closed(uint64_t ptr, RustCallStatus *_Nonnull out_status
    275 );
    276 #endif
    277 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PARSE_RHI_EVIDENCE_REPORT
    278 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PARSE_RHI_EVIDENCE_REPORT
    279 RustBuffer uniffi_radroots_sdk_ffi_fn_func_parse_rhi_evidence_report(RustBuffer canonical_content, RustCallStatus *_Nonnull out_status
    280 );
    281 #endif
    282 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PARSE_TRADE_EVIDENCE_MANIFEST
    283 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PARSE_TRADE_EVIDENCE_MANIFEST
    284 RustBuffer uniffi_radroots_sdk_ffi_fn_func_parse_trade_evidence_manifest(RustBuffer canonical_bytes, RustCallStatus *_Nonnull out_status
    285 );
    286 #endif
    287 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PREPARE_RHI_EVIDENCE_ATTESTATION
    288 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PREPARE_RHI_EVIDENCE_ATTESTATION
    289 RustBuffer uniffi_radroots_sdk_ffi_fn_func_prepare_rhi_evidence_attestation(RustBuffer canonical_content, uint64_t created_at_unix_s, RustCallStatus *_Nonnull out_status
    290 );
    291 #endif
    292 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_VALIDATE_RHI_EVIDENCE_ATTESTATION
    293 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_VALIDATE_RHI_EVIDENCE_ATTESTATION
    294 RustBuffer uniffi_radroots_sdk_ffi_fn_func_validate_rhi_evidence_attestation(RustBuffer event, RustCallStatus *_Nonnull out_status
    295 );
    296 #endif
    297 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_ALLOC
    298 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_ALLOC
    299 RustBuffer ffi_radroots_sdk_ffi_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
    300 );
    301 #endif
    302 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_FROM_BYTES
    303 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_FROM_BYTES
    304 RustBuffer ffi_radroots_sdk_ffi_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
    305 );
    306 #endif
    307 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_FREE
    308 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_FREE
    309 void ffi_radroots_sdk_ffi_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
    310 );
    311 #endif
    312 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_RESERVE
    313 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_RESERVE
    314 RustBuffer ffi_radroots_sdk_ffi_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
    315 );
    316 #endif
    317 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U8
    318 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U8
    319 void ffi_radroots_sdk_ffi_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    320 );
    321 #endif
    322 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U8
    323 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U8
    324 void ffi_radroots_sdk_ffi_rust_future_cancel_u8(uint64_t handle
    325 );
    326 #endif
    327 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U8
    328 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U8
    329 void ffi_radroots_sdk_ffi_rust_future_free_u8(uint64_t handle
    330 );
    331 #endif
    332 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U8
    333 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U8
    334 uint8_t ffi_radroots_sdk_ffi_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
    335 );
    336 #endif
    337 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I8
    338 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I8
    339 void ffi_radroots_sdk_ffi_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    340 );
    341 #endif
    342 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I8
    343 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I8
    344 void ffi_radroots_sdk_ffi_rust_future_cancel_i8(uint64_t handle
    345 );
    346 #endif
    347 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I8
    348 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I8
    349 void ffi_radroots_sdk_ffi_rust_future_free_i8(uint64_t handle
    350 );
    351 #endif
    352 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I8
    353 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I8
    354 int8_t ffi_radroots_sdk_ffi_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
    355 );
    356 #endif
    357 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U16
    358 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U16
    359 void ffi_radroots_sdk_ffi_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    360 );
    361 #endif
    362 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U16
    363 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U16
    364 void ffi_radroots_sdk_ffi_rust_future_cancel_u16(uint64_t handle
    365 );
    366 #endif
    367 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U16
    368 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U16
    369 void ffi_radroots_sdk_ffi_rust_future_free_u16(uint64_t handle
    370 );
    371 #endif
    372 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U16
    373 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U16
    374 uint16_t ffi_radroots_sdk_ffi_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
    375 );
    376 #endif
    377 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I16
    378 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I16
    379 void ffi_radroots_sdk_ffi_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    380 );
    381 #endif
    382 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I16
    383 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I16
    384 void ffi_radroots_sdk_ffi_rust_future_cancel_i16(uint64_t handle
    385 );
    386 #endif
    387 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I16
    388 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I16
    389 void ffi_radroots_sdk_ffi_rust_future_free_i16(uint64_t handle
    390 );
    391 #endif
    392 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I16
    393 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I16
    394 int16_t ffi_radroots_sdk_ffi_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
    395 );
    396 #endif
    397 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U32
    398 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U32
    399 void ffi_radroots_sdk_ffi_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    400 );
    401 #endif
    402 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U32
    403 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U32
    404 void ffi_radroots_sdk_ffi_rust_future_cancel_u32(uint64_t handle
    405 );
    406 #endif
    407 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U32
    408 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U32
    409 void ffi_radroots_sdk_ffi_rust_future_free_u32(uint64_t handle
    410 );
    411 #endif
    412 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U32
    413 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U32
    414 uint32_t ffi_radroots_sdk_ffi_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
    415 );
    416 #endif
    417 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I32
    418 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I32
    419 void ffi_radroots_sdk_ffi_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    420 );
    421 #endif
    422 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I32
    423 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I32
    424 void ffi_radroots_sdk_ffi_rust_future_cancel_i32(uint64_t handle
    425 );
    426 #endif
    427 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I32
    428 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I32
    429 void ffi_radroots_sdk_ffi_rust_future_free_i32(uint64_t handle
    430 );
    431 #endif
    432 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I32
    433 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I32
    434 int32_t ffi_radroots_sdk_ffi_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
    435 );
    436 #endif
    437 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U64
    438 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U64
    439 void ffi_radroots_sdk_ffi_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    440 );
    441 #endif
    442 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U64
    443 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U64
    444 void ffi_radroots_sdk_ffi_rust_future_cancel_u64(uint64_t handle
    445 );
    446 #endif
    447 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U64
    448 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U64
    449 void ffi_radroots_sdk_ffi_rust_future_free_u64(uint64_t handle
    450 );
    451 #endif
    452 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U64
    453 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U64
    454 uint64_t ffi_radroots_sdk_ffi_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
    455 );
    456 #endif
    457 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I64
    458 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I64
    459 void ffi_radroots_sdk_ffi_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    460 );
    461 #endif
    462 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I64
    463 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I64
    464 void ffi_radroots_sdk_ffi_rust_future_cancel_i64(uint64_t handle
    465 );
    466 #endif
    467 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I64
    468 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I64
    469 void ffi_radroots_sdk_ffi_rust_future_free_i64(uint64_t handle
    470 );
    471 #endif
    472 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I64
    473 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I64
    474 int64_t ffi_radroots_sdk_ffi_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
    475 );
    476 #endif
    477 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_F32
    478 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_F32
    479 void ffi_radroots_sdk_ffi_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    480 );
    481 #endif
    482 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_F32
    483 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_F32
    484 void ffi_radroots_sdk_ffi_rust_future_cancel_f32(uint64_t handle
    485 );
    486 #endif
    487 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_F32
    488 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_F32
    489 void ffi_radroots_sdk_ffi_rust_future_free_f32(uint64_t handle
    490 );
    491 #endif
    492 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_F32
    493 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_F32
    494 float ffi_radroots_sdk_ffi_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
    495 );
    496 #endif
    497 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_F64
    498 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_F64
    499 void ffi_radroots_sdk_ffi_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    500 );
    501 #endif
    502 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_F64
    503 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_F64
    504 void ffi_radroots_sdk_ffi_rust_future_cancel_f64(uint64_t handle
    505 );
    506 #endif
    507 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_F64
    508 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_F64
    509 void ffi_radroots_sdk_ffi_rust_future_free_f64(uint64_t handle
    510 );
    511 #endif
    512 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_F64
    513 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_F64
    514 double ffi_radroots_sdk_ffi_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
    515 );
    516 #endif
    517 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_RUST_BUFFER
    518 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_RUST_BUFFER
    519 void ffi_radroots_sdk_ffi_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    520 );
    521 #endif
    522 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_RUST_BUFFER
    523 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_RUST_BUFFER
    524 void ffi_radroots_sdk_ffi_rust_future_cancel_rust_buffer(uint64_t handle
    525 );
    526 #endif
    527 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_RUST_BUFFER
    528 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_RUST_BUFFER
    529 void ffi_radroots_sdk_ffi_rust_future_free_rust_buffer(uint64_t handle
    530 );
    531 #endif
    532 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_RUST_BUFFER
    533 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_RUST_BUFFER
    534 RustBuffer ffi_radroots_sdk_ffi_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
    535 );
    536 #endif
    537 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_VOID
    538 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_VOID
    539 void ffi_radroots_sdk_ffi_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    540 );
    541 #endif
    542 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_VOID
    543 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_VOID
    544 void ffi_radroots_sdk_ffi_rust_future_cancel_void(uint64_t handle
    545 );
    546 #endif
    547 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_VOID
    548 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_VOID
    549 void ffi_radroots_sdk_ffi_rust_future_free_void(uint64_t handle
    550 );
    551 #endif
    552 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_VOID
    553 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_VOID
    554 void ffi_radroots_sdk_ffi_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
    555 );
    556 #endif
    557 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PARSE_RHI_EVIDENCE_REPORT
    558 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PARSE_RHI_EVIDENCE_REPORT
    559 uint16_t uniffi_radroots_sdk_ffi_checksum_func_parse_rhi_evidence_report(void
    560 
    561 );
    562 #endif
    563 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PARSE_TRADE_EVIDENCE_MANIFEST
    564 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PARSE_TRADE_EVIDENCE_MANIFEST
    565 uint16_t uniffi_radroots_sdk_ffi_checksum_func_parse_trade_evidence_manifest(void
    566 
    567 );
    568 #endif
    569 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PREPARE_RHI_EVIDENCE_ATTESTATION
    570 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PREPARE_RHI_EVIDENCE_ATTESTATION
    571 uint16_t uniffi_radroots_sdk_ffi_checksum_func_prepare_rhi_evidence_attestation(void
    572 
    573 );
    574 #endif
    575 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_VALIDATE_RHI_EVIDENCE_ATTESTATION
    576 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_VALIDATE_RHI_EVIDENCE_ATTESTATION
    577 uint16_t uniffi_radroots_sdk_ffi_checksum_func_validate_rhi_evidence_attestation(void
    578 
    579 );
    580 #endif
    581 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_CAPABILITIES
    582 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_CAPABILITIES
    583 uint16_t uniffi_radroots_sdk_ffi_checksum_method_mobileclient_capabilities(void
    584 
    585 );
    586 #endif
    587 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_CLOSE
    588 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_CLOSE
    589 uint16_t uniffi_radroots_sdk_ffi_checksum_method_mobileclient_close(void
    590 
    591 );
    592 #endif
    593 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_IS_CLOSED
    594 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_IS_CLOSED
    595 uint16_t uniffi_radroots_sdk_ffi_checksum_method_mobileclient_is_closed(void
    596 
    597 );
    598 #endif
    599 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_CONSTRUCTOR_MOBILECLIENT_MEMORY
    600 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_CONSTRUCTOR_MOBILECLIENT_MEMORY
    601 uint16_t uniffi_radroots_sdk_ffi_checksum_constructor_mobileclient_memory(void
    602 
    603 );
    604 #endif
    605 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_UNIFFI_CONTRACT_VERSION
    606 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_UNIFFI_CONTRACT_VERSION
    607 uint32_t ffi_radroots_sdk_ffi_uniffi_contract_version(void
    608 
    609 );
    610 #endif