sdk

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

radroots_sdkFFI.h (26736B)


      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_FREE
     54 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_FREE
     55 typedef void (*UniffiForeignFutureFree)(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_FOREIGN_FUTURE
     66 #define UNIFFI_FFIDEF_FOREIGN_FUTURE
     67 typedef struct UniffiForeignFuture {
     68     uint64_t handle;
     69     UniffiForeignFutureFree _Nonnull free;
     70 } UniffiForeignFuture;
     71 
     72 #endif
     73 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U8
     74 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U8
     75 typedef struct UniffiForeignFutureStructU8 {
     76     uint8_t returnValue;
     77     RustCallStatus callStatus;
     78 } UniffiForeignFutureStructU8;
     79 
     80 #endif
     81 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
     82 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
     83 typedef void (*UniffiForeignFutureCompleteU8)(uint64_t, UniffiForeignFutureStructU8
     84     );
     85 
     86 #endif
     87 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I8
     88 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I8
     89 typedef struct UniffiForeignFutureStructI8 {
     90     int8_t returnValue;
     91     RustCallStatus callStatus;
     92 } UniffiForeignFutureStructI8;
     93 
     94 #endif
     95 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
     96 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
     97 typedef void (*UniffiForeignFutureCompleteI8)(uint64_t, UniffiForeignFutureStructI8
     98     );
     99 
    100 #endif
    101 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U16
    102 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U16
    103 typedef struct UniffiForeignFutureStructU16 {
    104     uint16_t returnValue;
    105     RustCallStatus callStatus;
    106 } UniffiForeignFutureStructU16;
    107 
    108 #endif
    109 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
    110 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
    111 typedef void (*UniffiForeignFutureCompleteU16)(uint64_t, UniffiForeignFutureStructU16
    112     );
    113 
    114 #endif
    115 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I16
    116 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I16
    117 typedef struct UniffiForeignFutureStructI16 {
    118     int16_t returnValue;
    119     RustCallStatus callStatus;
    120 } UniffiForeignFutureStructI16;
    121 
    122 #endif
    123 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
    124 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
    125 typedef void (*UniffiForeignFutureCompleteI16)(uint64_t, UniffiForeignFutureStructI16
    126     );
    127 
    128 #endif
    129 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U32
    130 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U32
    131 typedef struct UniffiForeignFutureStructU32 {
    132     uint32_t returnValue;
    133     RustCallStatus callStatus;
    134 } UniffiForeignFutureStructU32;
    135 
    136 #endif
    137 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
    138 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
    139 typedef void (*UniffiForeignFutureCompleteU32)(uint64_t, UniffiForeignFutureStructU32
    140     );
    141 
    142 #endif
    143 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I32
    144 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I32
    145 typedef struct UniffiForeignFutureStructI32 {
    146     int32_t returnValue;
    147     RustCallStatus callStatus;
    148 } UniffiForeignFutureStructI32;
    149 
    150 #endif
    151 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
    152 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
    153 typedef void (*UniffiForeignFutureCompleteI32)(uint64_t, UniffiForeignFutureStructI32
    154     );
    155 
    156 #endif
    157 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U64
    158 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U64
    159 typedef struct UniffiForeignFutureStructU64 {
    160     uint64_t returnValue;
    161     RustCallStatus callStatus;
    162 } UniffiForeignFutureStructU64;
    163 
    164 #endif
    165 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
    166 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
    167 typedef void (*UniffiForeignFutureCompleteU64)(uint64_t, UniffiForeignFutureStructU64
    168     );
    169 
    170 #endif
    171 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I64
    172 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I64
    173 typedef struct UniffiForeignFutureStructI64 {
    174     int64_t returnValue;
    175     RustCallStatus callStatus;
    176 } UniffiForeignFutureStructI64;
    177 
    178 #endif
    179 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
    180 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
    181 typedef void (*UniffiForeignFutureCompleteI64)(uint64_t, UniffiForeignFutureStructI64
    182     );
    183 
    184 #endif
    185 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F32
    186 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F32
    187 typedef struct UniffiForeignFutureStructF32 {
    188     float returnValue;
    189     RustCallStatus callStatus;
    190 } UniffiForeignFutureStructF32;
    191 
    192 #endif
    193 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
    194 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
    195 typedef void (*UniffiForeignFutureCompleteF32)(uint64_t, UniffiForeignFutureStructF32
    196     );
    197 
    198 #endif
    199 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F64
    200 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F64
    201 typedef struct UniffiForeignFutureStructF64 {
    202     double returnValue;
    203     RustCallStatus callStatus;
    204 } UniffiForeignFutureStructF64;
    205 
    206 #endif
    207 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
    208 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
    209 typedef void (*UniffiForeignFutureCompleteF64)(uint64_t, UniffiForeignFutureStructF64
    210     );
    211 
    212 #endif
    213 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_POINTER
    214 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_POINTER
    215 typedef struct UniffiForeignFutureStructPointer {
    216     void*_Nonnull returnValue;
    217     RustCallStatus callStatus;
    218 } UniffiForeignFutureStructPointer;
    219 
    220 #endif
    221 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_POINTER
    222 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_POINTER
    223 typedef void (*UniffiForeignFutureCompletePointer)(uint64_t, UniffiForeignFutureStructPointer
    224     );
    225 
    226 #endif
    227 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_RUST_BUFFER
    228 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_RUST_BUFFER
    229 typedef struct UniffiForeignFutureStructRustBuffer {
    230     RustBuffer returnValue;
    231     RustCallStatus callStatus;
    232 } UniffiForeignFutureStructRustBuffer;
    233 
    234 #endif
    235 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
    236 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
    237 typedef void (*UniffiForeignFutureCompleteRustBuffer)(uint64_t, UniffiForeignFutureStructRustBuffer
    238     );
    239 
    240 #endif
    241 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_VOID
    242 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_VOID
    243 typedef struct UniffiForeignFutureStructVoid {
    244     RustCallStatus callStatus;
    245 } UniffiForeignFutureStructVoid;
    246 
    247 #endif
    248 #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
    249 #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
    250 typedef void (*UniffiForeignFutureCompleteVoid)(uint64_t, UniffiForeignFutureStructVoid
    251     );
    252 
    253 #endif
    254 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_CLONE_MOBILECLIENT
    255 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_CLONE_MOBILECLIENT
    256 void*_Nonnull uniffi_radroots_sdk_ffi_fn_clone_mobileclient(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
    257 );
    258 #endif
    259 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FREE_MOBILECLIENT
    260 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FREE_MOBILECLIENT
    261 void uniffi_radroots_sdk_ffi_fn_free_mobileclient(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
    262 );
    263 #endif
    264 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_CONSTRUCTOR_MOBILECLIENT_MEMORY
    265 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_CONSTRUCTOR_MOBILECLIENT_MEMORY
    266 void*_Nonnull uniffi_radroots_sdk_ffi_fn_constructor_mobileclient_memory(RustCallStatus *_Nonnull out_status
    267 
    268 );
    269 #endif
    270 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_CAPABILITIES
    271 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_CAPABILITIES
    272 RustBuffer uniffi_radroots_sdk_ffi_fn_method_mobileclient_capabilities(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
    273 );
    274 #endif
    275 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_CLOSE
    276 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_CLOSE
    277 uint64_t uniffi_radroots_sdk_ffi_fn_method_mobileclient_close(void*_Nonnull ptr
    278 );
    279 #endif
    280 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_IS_CLOSED
    281 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_METHOD_MOBILECLIENT_IS_CLOSED
    282 int8_t uniffi_radroots_sdk_ffi_fn_method_mobileclient_is_closed(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
    283 );
    284 #endif
    285 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PARSE_RHI_EVIDENCE_REPORT
    286 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PARSE_RHI_EVIDENCE_REPORT
    287 RustBuffer uniffi_radroots_sdk_ffi_fn_func_parse_rhi_evidence_report(RustBuffer canonical_content, RustCallStatus *_Nonnull out_status
    288 );
    289 #endif
    290 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PARSE_TRADE_EVIDENCE_MANIFEST
    291 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PARSE_TRADE_EVIDENCE_MANIFEST
    292 RustBuffer uniffi_radroots_sdk_ffi_fn_func_parse_trade_evidence_manifest(RustBuffer canonical_bytes, RustCallStatus *_Nonnull out_status
    293 );
    294 #endif
    295 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PREPARE_RHI_EVIDENCE_ATTESTATION
    296 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_PREPARE_RHI_EVIDENCE_ATTESTATION
    297 RustBuffer uniffi_radroots_sdk_ffi_fn_func_prepare_rhi_evidence_attestation(RustBuffer canonical_content, uint64_t created_at_unix_s, RustCallStatus *_Nonnull out_status
    298 );
    299 #endif
    300 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_VALIDATE_RHI_EVIDENCE_ATTESTATION
    301 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_FN_FUNC_VALIDATE_RHI_EVIDENCE_ATTESTATION
    302 RustBuffer uniffi_radroots_sdk_ffi_fn_func_validate_rhi_evidence_attestation(RustBuffer event, RustCallStatus *_Nonnull out_status
    303 );
    304 #endif
    305 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_ALLOC
    306 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_ALLOC
    307 RustBuffer ffi_radroots_sdk_ffi_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
    308 );
    309 #endif
    310 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_FROM_BYTES
    311 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_FROM_BYTES
    312 RustBuffer ffi_radroots_sdk_ffi_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
    313 );
    314 #endif
    315 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_FREE
    316 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_FREE
    317 void ffi_radroots_sdk_ffi_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
    318 );
    319 #endif
    320 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_RESERVE
    321 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUSTBUFFER_RESERVE
    322 RustBuffer ffi_radroots_sdk_ffi_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
    323 );
    324 #endif
    325 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U8
    326 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U8
    327 void ffi_radroots_sdk_ffi_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    328 );
    329 #endif
    330 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U8
    331 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U8
    332 void ffi_radroots_sdk_ffi_rust_future_cancel_u8(uint64_t handle
    333 );
    334 #endif
    335 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U8
    336 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U8
    337 void ffi_radroots_sdk_ffi_rust_future_free_u8(uint64_t handle
    338 );
    339 #endif
    340 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U8
    341 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U8
    342 uint8_t ffi_radroots_sdk_ffi_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
    343 );
    344 #endif
    345 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I8
    346 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I8
    347 void ffi_radroots_sdk_ffi_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    348 );
    349 #endif
    350 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I8
    351 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I8
    352 void ffi_radroots_sdk_ffi_rust_future_cancel_i8(uint64_t handle
    353 );
    354 #endif
    355 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I8
    356 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I8
    357 void ffi_radroots_sdk_ffi_rust_future_free_i8(uint64_t handle
    358 );
    359 #endif
    360 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I8
    361 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I8
    362 int8_t ffi_radroots_sdk_ffi_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
    363 );
    364 #endif
    365 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U16
    366 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U16
    367 void ffi_radroots_sdk_ffi_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    368 );
    369 #endif
    370 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U16
    371 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U16
    372 void ffi_radroots_sdk_ffi_rust_future_cancel_u16(uint64_t handle
    373 );
    374 #endif
    375 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U16
    376 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U16
    377 void ffi_radroots_sdk_ffi_rust_future_free_u16(uint64_t handle
    378 );
    379 #endif
    380 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U16
    381 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U16
    382 uint16_t ffi_radroots_sdk_ffi_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
    383 );
    384 #endif
    385 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I16
    386 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I16
    387 void ffi_radroots_sdk_ffi_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    388 );
    389 #endif
    390 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I16
    391 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I16
    392 void ffi_radroots_sdk_ffi_rust_future_cancel_i16(uint64_t handle
    393 );
    394 #endif
    395 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I16
    396 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I16
    397 void ffi_radroots_sdk_ffi_rust_future_free_i16(uint64_t handle
    398 );
    399 #endif
    400 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I16
    401 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I16
    402 int16_t ffi_radroots_sdk_ffi_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
    403 );
    404 #endif
    405 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U32
    406 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U32
    407 void ffi_radroots_sdk_ffi_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    408 );
    409 #endif
    410 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U32
    411 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U32
    412 void ffi_radroots_sdk_ffi_rust_future_cancel_u32(uint64_t handle
    413 );
    414 #endif
    415 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U32
    416 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U32
    417 void ffi_radroots_sdk_ffi_rust_future_free_u32(uint64_t handle
    418 );
    419 #endif
    420 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U32
    421 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U32
    422 uint32_t ffi_radroots_sdk_ffi_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
    423 );
    424 #endif
    425 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I32
    426 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I32
    427 void ffi_radroots_sdk_ffi_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    428 );
    429 #endif
    430 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I32
    431 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I32
    432 void ffi_radroots_sdk_ffi_rust_future_cancel_i32(uint64_t handle
    433 );
    434 #endif
    435 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I32
    436 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I32
    437 void ffi_radroots_sdk_ffi_rust_future_free_i32(uint64_t handle
    438 );
    439 #endif
    440 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I32
    441 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I32
    442 int32_t ffi_radroots_sdk_ffi_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
    443 );
    444 #endif
    445 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U64
    446 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_U64
    447 void ffi_radroots_sdk_ffi_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    448 );
    449 #endif
    450 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U64
    451 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_U64
    452 void ffi_radroots_sdk_ffi_rust_future_cancel_u64(uint64_t handle
    453 );
    454 #endif
    455 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U64
    456 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_U64
    457 void ffi_radroots_sdk_ffi_rust_future_free_u64(uint64_t handle
    458 );
    459 #endif
    460 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U64
    461 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_U64
    462 uint64_t ffi_radroots_sdk_ffi_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
    463 );
    464 #endif
    465 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I64
    466 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_I64
    467 void ffi_radroots_sdk_ffi_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    468 );
    469 #endif
    470 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I64
    471 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_I64
    472 void ffi_radroots_sdk_ffi_rust_future_cancel_i64(uint64_t handle
    473 );
    474 #endif
    475 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I64
    476 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_I64
    477 void ffi_radroots_sdk_ffi_rust_future_free_i64(uint64_t handle
    478 );
    479 #endif
    480 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I64
    481 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_I64
    482 int64_t ffi_radroots_sdk_ffi_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
    483 );
    484 #endif
    485 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_F32
    486 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_F32
    487 void ffi_radroots_sdk_ffi_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    488 );
    489 #endif
    490 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_F32
    491 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_F32
    492 void ffi_radroots_sdk_ffi_rust_future_cancel_f32(uint64_t handle
    493 );
    494 #endif
    495 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_F32
    496 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_F32
    497 void ffi_radroots_sdk_ffi_rust_future_free_f32(uint64_t handle
    498 );
    499 #endif
    500 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_F32
    501 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_F32
    502 float ffi_radroots_sdk_ffi_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
    503 );
    504 #endif
    505 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_F64
    506 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_F64
    507 void ffi_radroots_sdk_ffi_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    508 );
    509 #endif
    510 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_F64
    511 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_F64
    512 void ffi_radroots_sdk_ffi_rust_future_cancel_f64(uint64_t handle
    513 );
    514 #endif
    515 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_F64
    516 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_F64
    517 void ffi_radroots_sdk_ffi_rust_future_free_f64(uint64_t handle
    518 );
    519 #endif
    520 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_F64
    521 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_F64
    522 double ffi_radroots_sdk_ffi_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
    523 );
    524 #endif
    525 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_POINTER
    526 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_POINTER
    527 void ffi_radroots_sdk_ffi_rust_future_poll_pointer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    528 );
    529 #endif
    530 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_POINTER
    531 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_POINTER
    532 void ffi_radroots_sdk_ffi_rust_future_cancel_pointer(uint64_t handle
    533 );
    534 #endif
    535 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_POINTER
    536 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_POINTER
    537 void ffi_radroots_sdk_ffi_rust_future_free_pointer(uint64_t handle
    538 );
    539 #endif
    540 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_POINTER
    541 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_POINTER
    542 void*_Nonnull ffi_radroots_sdk_ffi_rust_future_complete_pointer(uint64_t handle, RustCallStatus *_Nonnull out_status
    543 );
    544 #endif
    545 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_RUST_BUFFER
    546 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_RUST_BUFFER
    547 void ffi_radroots_sdk_ffi_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    548 );
    549 #endif
    550 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_RUST_BUFFER
    551 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_RUST_BUFFER
    552 void ffi_radroots_sdk_ffi_rust_future_cancel_rust_buffer(uint64_t handle
    553 );
    554 #endif
    555 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_RUST_BUFFER
    556 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_RUST_BUFFER
    557 void ffi_radroots_sdk_ffi_rust_future_free_rust_buffer(uint64_t handle
    558 );
    559 #endif
    560 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_RUST_BUFFER
    561 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_RUST_BUFFER
    562 RustBuffer ffi_radroots_sdk_ffi_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
    563 );
    564 #endif
    565 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_VOID
    566 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_POLL_VOID
    567 void ffi_radroots_sdk_ffi_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
    568 );
    569 #endif
    570 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_VOID
    571 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_CANCEL_VOID
    572 void ffi_radroots_sdk_ffi_rust_future_cancel_void(uint64_t handle
    573 );
    574 #endif
    575 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_VOID
    576 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_FREE_VOID
    577 void ffi_radroots_sdk_ffi_rust_future_free_void(uint64_t handle
    578 );
    579 #endif
    580 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_VOID
    581 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_RUST_FUTURE_COMPLETE_VOID
    582 void ffi_radroots_sdk_ffi_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
    583 );
    584 #endif
    585 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PARSE_RHI_EVIDENCE_REPORT
    586 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PARSE_RHI_EVIDENCE_REPORT
    587 uint16_t uniffi_radroots_sdk_ffi_checksum_func_parse_rhi_evidence_report(void
    588 
    589 );
    590 #endif
    591 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PARSE_TRADE_EVIDENCE_MANIFEST
    592 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PARSE_TRADE_EVIDENCE_MANIFEST
    593 uint16_t uniffi_radroots_sdk_ffi_checksum_func_parse_trade_evidence_manifest(void
    594 
    595 );
    596 #endif
    597 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PREPARE_RHI_EVIDENCE_ATTESTATION
    598 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_PREPARE_RHI_EVIDENCE_ATTESTATION
    599 uint16_t uniffi_radroots_sdk_ffi_checksum_func_prepare_rhi_evidence_attestation(void
    600 
    601 );
    602 #endif
    603 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_VALIDATE_RHI_EVIDENCE_ATTESTATION
    604 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_FUNC_VALIDATE_RHI_EVIDENCE_ATTESTATION
    605 uint16_t uniffi_radroots_sdk_ffi_checksum_func_validate_rhi_evidence_attestation(void
    606 
    607 );
    608 #endif
    609 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_CAPABILITIES
    610 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_CAPABILITIES
    611 uint16_t uniffi_radroots_sdk_ffi_checksum_method_mobileclient_capabilities(void
    612 
    613 );
    614 #endif
    615 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_CLOSE
    616 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_CLOSE
    617 uint16_t uniffi_radroots_sdk_ffi_checksum_method_mobileclient_close(void
    618 
    619 );
    620 #endif
    621 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_IS_CLOSED
    622 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_METHOD_MOBILECLIENT_IS_CLOSED
    623 uint16_t uniffi_radroots_sdk_ffi_checksum_method_mobileclient_is_closed(void
    624 
    625 );
    626 #endif
    627 #ifndef UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_CONSTRUCTOR_MOBILECLIENT_MEMORY
    628 #define UNIFFI_FFIDEF_UNIFFI_RADROOTS_SDK_FFI_CHECKSUM_CONSTRUCTOR_MOBILECLIENT_MEMORY
    629 uint16_t uniffi_radroots_sdk_ffi_checksum_constructor_mobileclient_memory(void
    630 
    631 );
    632 #endif
    633 #ifndef UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_UNIFFI_CONTRACT_VERSION
    634 #define UNIFFI_FFIDEF_FFI_RADROOTS_SDK_FFI_UNIFFI_CONTRACT_VERSION
    635 uint32_t ffi_radroots_sdk_ffi_uniffi_contract_version(void
    636 
    637 );
    638 #endif