08 · Groups
Sources/SophaxChatCore/MLS/Generated/sophax_mlsFFI.h
621 lines · C header
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
25typedef struct RustBuffer
26{
27 uint64_t capacity;
28 uint64_t len;
29 uint8_t *_Nullable data;
30} RustBuffer;
31
32typedef struct ForeignBytes
33{
34 int32_t len;
35 const uint8_t *_Nullable data;
36} ForeignBytes;
37
38// Error definitions
39typedef 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
49typedef 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
55typedef void (*UniffiForeignFutureDroppedCallback)(uint64_t
56 );
57
58#endif
59#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
60#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
61typedef void (*UniffiCallbackInterfaceFree)(uint64_t
62 );
63
64#endif
65#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_CLONE
66#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_CLONE
67typedef 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
73typedef 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
81typedef 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
89typedef 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
95typedef 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
103typedef 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
109typedef 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
117typedef 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
123typedef 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
131typedef 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
137typedef 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
145typedef 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
151typedef 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
159typedef 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
165typedef 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
173typedef 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
179typedef 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
187typedef 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
193typedef 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
201typedef 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
207typedef 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
215typedef 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
221typedef 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
229typedef 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
235typedef 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
242typedef void (*UniffiForeignFutureCompleteVoid)(uint64_t, UniffiForeignFutureResultVoid
243 );
244
245#endif
246#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_CLONE_MLSCLIENTHANDLE
247#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_CLONE_MLSCLIENTHANDLE
248uint64_t uniffi_sophax_mls_fn_clone_mlsclienthandle(uint64_t handle, RustCallStatus *_Nonnull out_status
249);
250#endif
251#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FREE_MLSCLIENTHANDLE
252#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FREE_MLSCLIENTHANDLE
253void uniffi_sophax_mls_fn_free_mlsclienthandle(uint64_t handle, RustCallStatus *_Nonnull out_status
254);
255#endif
256#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_CONSTRUCTOR_MLSCLIENTHANDLE_NEW
257#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_CONSTRUCTOR_MLSCLIENTHANDLE_NEW
258uint64_t uniffi_sophax_mls_fn_constructor_mlsclienthandle_new(RustBuffer peer_id, RustBuffer signing_key_bytes, RustCallStatus *_Nonnull out_status
259);
260#endif
261#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_METHOD_MLSCLIENTHANDLE_GENERATE_KEY_PACKAGE
262#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_METHOD_MLSCLIENTHANDLE_GENERATE_KEY_PACKAGE
263RustBuffer uniffi_sophax_mls_fn_method_mlsclienthandle_generate_key_package(uint64_t ptr, RustCallStatus *_Nonnull out_status
264);
265#endif
266#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_ADD_MEMBER
267#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_ADD_MEMBER
268RustBuffer uniffi_sophax_mls_fn_func_mls_add_member(uint64_t client, RustBuffer group_id, RustBuffer group_state, RustBuffer key_package_bytes, RustCallStatus *_Nonnull out_status
269);
270#endif
271#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_CREATE_GROUP
272#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_CREATE_GROUP
273RustBuffer uniffi_sophax_mls_fn_func_mls_create_group(uint64_t client, RustBuffer group_id, RustBuffer member_key_packages, RustCallStatus *_Nonnull out_status
274);
275#endif
276#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_DECRYPT
277#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_DECRYPT
278RustBuffer uniffi_sophax_mls_fn_func_mls_decrypt(uint64_t client, RustBuffer group_id, RustBuffer group_state, RustBuffer ciphertext, RustCallStatus *_Nonnull out_status
279);
280#endif
281#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_ENCRYPT
282#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_ENCRYPT
283RustBuffer uniffi_sophax_mls_fn_func_mls_encrypt(uint64_t client, RustBuffer group_id, RustBuffer group_state, RustBuffer plaintext, RustCallStatus *_Nonnull out_status
284);
285#endif
286#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_PROCESS_COMMIT
287#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_PROCESS_COMMIT
288RustBuffer uniffi_sophax_mls_fn_func_mls_process_commit(uint64_t client, RustBuffer group_id, RustBuffer group_state, RustBuffer commit_bytes, RustCallStatus *_Nonnull out_status
289);
290#endif
291#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_PROCESS_WELCOME
292#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_PROCESS_WELCOME
293RustBuffer uniffi_sophax_mls_fn_func_mls_process_welcome(uint64_t client, RustBuffer welcome_bytes, RustBuffer ratchet_tree_bytes, RustCallStatus *_Nonnull out_status
294);
295#endif
296#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_REMOVE_MEMBER
297#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_FN_FUNC_MLS_REMOVE_MEMBER
298RustBuffer uniffi_sophax_mls_fn_func_mls_remove_member(uint64_t client, RustBuffer group_id, RustBuffer group_state, RustBuffer peer_id, RustCallStatus *_Nonnull out_status
299);
300#endif
301#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUSTBUFFER_ALLOC
302#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUSTBUFFER_ALLOC
303RustBuffer ffi_sophax_mls_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
304);
305#endif
306#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUSTBUFFER_FROM_BYTES
307#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUSTBUFFER_FROM_BYTES
308RustBuffer ffi_sophax_mls_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
309);
310#endif
311#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUSTBUFFER_FREE
312#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUSTBUFFER_FREE
313void ffi_sophax_mls_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
314);
315#endif
316#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUSTBUFFER_RESERVE
317#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUSTBUFFER_RESERVE
318RustBuffer ffi_sophax_mls_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
319);
320#endif
321#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_U8
322#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_U8
323void ffi_sophax_mls_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
324);
325#endif
326#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_U8
327#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_U8
328void ffi_sophax_mls_rust_future_cancel_u8(uint64_t handle
329);
330#endif
331#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_U8
332#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_U8
333void ffi_sophax_mls_rust_future_free_u8(uint64_t handle
334);
335#endif
336#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_U8
337#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_U8
338uint8_t ffi_sophax_mls_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
339);
340#endif
341#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_I8
342#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_I8
343void ffi_sophax_mls_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
344);
345#endif
346#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_I8
347#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_I8
348void ffi_sophax_mls_rust_future_cancel_i8(uint64_t handle
349);
350#endif
351#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_I8
352#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_I8
353void ffi_sophax_mls_rust_future_free_i8(uint64_t handle
354);
355#endif
356#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_I8
357#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_I8
358int8_t ffi_sophax_mls_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
359);
360#endif
361#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_U16
362#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_U16
363void ffi_sophax_mls_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
364);
365#endif
366#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_U16
367#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_U16
368void ffi_sophax_mls_rust_future_cancel_u16(uint64_t handle
369);
370#endif
371#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_U16
372#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_U16
373void ffi_sophax_mls_rust_future_free_u16(uint64_t handle
374);
375#endif
376#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_U16
377#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_U16
378uint16_t ffi_sophax_mls_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
379);
380#endif
381#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_I16
382#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_I16
383void ffi_sophax_mls_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
384);
385#endif
386#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_I16
387#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_I16
388void ffi_sophax_mls_rust_future_cancel_i16(uint64_t handle
389);
390#endif
391#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_I16
392#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_I16
393void ffi_sophax_mls_rust_future_free_i16(uint64_t handle
394);
395#endif
396#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_I16
397#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_I16
398int16_t ffi_sophax_mls_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
399);
400#endif
401#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_U32
402#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_U32
403void ffi_sophax_mls_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
404);
405#endif
406#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_U32
407#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_U32
408void ffi_sophax_mls_rust_future_cancel_u32(uint64_t handle
409);
410#endif
411#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_U32
412#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_U32
413void ffi_sophax_mls_rust_future_free_u32(uint64_t handle
414);
415#endif
416#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_U32
417#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_U32
418uint32_t ffi_sophax_mls_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
419);
420#endif
421#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_I32
422#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_I32
423void ffi_sophax_mls_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
424);
425#endif
426#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_I32
427#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_I32
428void ffi_sophax_mls_rust_future_cancel_i32(uint64_t handle
429);
430#endif
431#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_I32
432#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_I32
433void ffi_sophax_mls_rust_future_free_i32(uint64_t handle
434);
435#endif
436#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_I32
437#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_I32
438int32_t ffi_sophax_mls_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
439);
440#endif
441#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_U64
442#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_U64
443void ffi_sophax_mls_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
444);
445#endif
446#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_U64
447#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_U64
448void ffi_sophax_mls_rust_future_cancel_u64(uint64_t handle
449);
450#endif
451#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_U64
452#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_U64
453void ffi_sophax_mls_rust_future_free_u64(uint64_t handle
454);
455#endif
456#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_U64
457#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_U64
458uint64_t ffi_sophax_mls_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
459);
460#endif
461#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_I64
462#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_I64
463void ffi_sophax_mls_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
464);
465#endif
466#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_I64
467#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_I64
468void ffi_sophax_mls_rust_future_cancel_i64(uint64_t handle
469);
470#endif
471#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_I64
472#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_I64
473void ffi_sophax_mls_rust_future_free_i64(uint64_t handle
474);
475#endif
476#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_I64
477#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_I64
478int64_t ffi_sophax_mls_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
479);
480#endif
481#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_F32
482#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_F32
483void ffi_sophax_mls_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
484);
485#endif
486#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_F32
487#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_F32
488void ffi_sophax_mls_rust_future_cancel_f32(uint64_t handle
489);
490#endif
491#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_F32
492#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_F32
493void ffi_sophax_mls_rust_future_free_f32(uint64_t handle
494);
495#endif
496#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_F32
497#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_F32
498float ffi_sophax_mls_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
499);
500#endif
501#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_F64
502#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_F64
503void ffi_sophax_mls_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
504);
505#endif
506#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_F64
507#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_F64
508void ffi_sophax_mls_rust_future_cancel_f64(uint64_t handle
509);
510#endif
511#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_F64
512#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_F64
513void ffi_sophax_mls_rust_future_free_f64(uint64_t handle
514);
515#endif
516#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_F64
517#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_F64
518double ffi_sophax_mls_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
519);
520#endif
521#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_RUST_BUFFER
522#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_RUST_BUFFER
523void ffi_sophax_mls_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
524);
525#endif
526#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_RUST_BUFFER
527#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_RUST_BUFFER
528void ffi_sophax_mls_rust_future_cancel_rust_buffer(uint64_t handle
529);
530#endif
531#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_RUST_BUFFER
532#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_RUST_BUFFER
533void ffi_sophax_mls_rust_future_free_rust_buffer(uint64_t handle
534);
535#endif
536#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_RUST_BUFFER
537#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_RUST_BUFFER
538RustBuffer ffi_sophax_mls_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
539);
540#endif
541#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_VOID
542#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_POLL_VOID
543void ffi_sophax_mls_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
544);
545#endif
546#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_VOID
547#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_CANCEL_VOID
548void ffi_sophax_mls_rust_future_cancel_void(uint64_t handle
549);
550#endif
551#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_VOID
552#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_FREE_VOID
553void ffi_sophax_mls_rust_future_free_void(uint64_t handle
554);
555#endif
556#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_VOID
557#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_RUST_FUTURE_COMPLETE_VOID
558void ffi_sophax_mls_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
559);
560#endif
561#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_ADD_MEMBER
562#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_ADD_MEMBER
563uint16_t uniffi_sophax_mls_checksum_func_mls_add_member(void
564
565);
566#endif
567#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_CREATE_GROUP
568#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_CREATE_GROUP
569uint16_t uniffi_sophax_mls_checksum_func_mls_create_group(void
570
571);
572#endif
573#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_DECRYPT
574#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_DECRYPT
575uint16_t uniffi_sophax_mls_checksum_func_mls_decrypt(void
576
577);
578#endif
579#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_ENCRYPT
580#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_ENCRYPT
581uint16_t uniffi_sophax_mls_checksum_func_mls_encrypt(void
582
583);
584#endif
585#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_PROCESS_COMMIT
586#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_PROCESS_COMMIT
587uint16_t uniffi_sophax_mls_checksum_func_mls_process_commit(void
588
589);
590#endif
591#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_PROCESS_WELCOME
592#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_PROCESS_WELCOME
593uint16_t uniffi_sophax_mls_checksum_func_mls_process_welcome(void
594
595);
596#endif
597#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_REMOVE_MEMBER
598#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_FUNC_MLS_REMOVE_MEMBER
599uint16_t uniffi_sophax_mls_checksum_func_mls_remove_member(void
600
601);
602#endif
603#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_METHOD_MLSCLIENTHANDLE_GENERATE_KEY_PACKAGE
604#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_METHOD_MLSCLIENTHANDLE_GENERATE_KEY_PACKAGE
605uint16_t uniffi_sophax_mls_checksum_method_mlsclienthandle_generate_key_package(void
606
607);
608#endif
609#ifndef UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_CONSTRUCTOR_MLSCLIENTHANDLE_NEW
610#define UNIFFI_FFIDEF_UNIFFI_SOPHAX_MLS_CHECKSUM_CONSTRUCTOR_MLSCLIENTHANDLE_NEW
611uint16_t uniffi_sophax_mls_checksum_constructor_mlsclienthandle_new(void
612
613);
614#endif
615#ifndef UNIFFI_FFIDEF_FFI_SOPHAX_MLS_UNIFFI_CONTRACT_VERSION
616#define UNIFFI_FFIDEF_FFI_SOPHAX_MLS_UNIFFI_CONTRACT_VERSION
617uint32_t ffi_sophax_mls_uniffi_contract_version(void
618
619);
620#endif
621