ping-openmls-sdk-react-native-macos 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Frameworks/.gitkeep +0 -0
- package/Frameworks/libping_ffi.a +0 -0
- package/README.md +64 -0
- package/ios/.gitkeep +0 -0
- package/ios/Generated.swift +3239 -0
- package/ios/JSObserverBridge.swift +35 -0
- package/ios/JSStorageBridge.swift +135 -0
- package/ios/JSTransportBridge.swift +126 -0
- package/ios/PingNativeModule.m +143 -0
- package/ios/PingNativeModule.swift +656 -0
- package/ios/TypeBridge.swift +297 -0
- package/ios/module.modulemap +4 -0
- package/ios/pingFFI.h +990 -0
- package/package.json +34 -0
- package/ping-openmls-sdk-react-native-macos.podspec +54 -0
- package/src/MessagingClient.ts +488 -0
- package/src/NativePing.ts +162 -0
- package/src/WebSocketTransport.ts +118 -0
- package/src/clipboard.ts +37 -0
- package/src/index.ts +112 -0
- package/src/storage-bridge.ts +124 -0
- package/src/transport-bridge.ts +89 -0
package/ios/pingFFI.h
ADDED
|
@@ -0,0 +1,990 @@
|
|
|
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_CALLBACK_INTERFACE_MESSAGE_OBSERVER_METHOD0
|
|
255
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_MESSAGE_OBSERVER_METHOD0
|
|
256
|
+
typedef void (*UniffiCallbackInterfaceMessageObserverMethod0)(uint64_t, RustBuffer, void* _Nonnull,
|
|
257
|
+
RustCallStatus *_Nonnull uniffiCallStatus
|
|
258
|
+
);
|
|
259
|
+
|
|
260
|
+
#endif
|
|
261
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_MESSAGE_OBSERVER_METHOD1
|
|
262
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_MESSAGE_OBSERVER_METHOD1
|
|
263
|
+
typedef void (*UniffiCallbackInterfaceMessageObserverMethod1)(uint64_t, RustBuffer, uint64_t, void* _Nonnull,
|
|
264
|
+
RustCallStatus *_Nonnull uniffiCallStatus
|
|
265
|
+
);
|
|
266
|
+
|
|
267
|
+
#endif
|
|
268
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_STORAGE_METHOD0
|
|
269
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_STORAGE_METHOD0
|
|
270
|
+
typedef void (*UniffiCallbackInterfaceStorageMethod0)(uint64_t, RustBuffer, RustBuffer, UniffiForeignFutureCompleteVoid _Nonnull, uint64_t, UniffiForeignFuture* _Nonnull
|
|
271
|
+
);
|
|
272
|
+
|
|
273
|
+
#endif
|
|
274
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_STORAGE_METHOD1
|
|
275
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_STORAGE_METHOD1
|
|
276
|
+
typedef void (*UniffiCallbackInterfaceStorageMethod1)(uint64_t, RustBuffer, RustBuffer, UniffiForeignFutureCompleteRustBuffer _Nonnull, uint64_t, UniffiForeignFuture* _Nonnull
|
|
277
|
+
);
|
|
278
|
+
|
|
279
|
+
#endif
|
|
280
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_STORAGE_METHOD2
|
|
281
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_STORAGE_METHOD2
|
|
282
|
+
typedef void (*UniffiCallbackInterfaceStorageMethod2)(uint64_t, RustBuffer, RustBuffer, UniffiForeignFutureCompleteRustBuffer _Nonnull, uint64_t, UniffiForeignFuture* _Nonnull
|
|
283
|
+
);
|
|
284
|
+
|
|
285
|
+
#endif
|
|
286
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_STORAGE_METHOD3
|
|
287
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_STORAGE_METHOD3
|
|
288
|
+
typedef void (*UniffiCallbackInterfaceStorageMethod3)(uint64_t, RustBuffer, RustBuffer, RustBuffer, UniffiForeignFutureCompleteVoid _Nonnull, uint64_t, UniffiForeignFuture* _Nonnull
|
|
289
|
+
);
|
|
290
|
+
|
|
291
|
+
#endif
|
|
292
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_TRANSPORT_METHOD0
|
|
293
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_TRANSPORT_METHOD0
|
|
294
|
+
typedef void (*UniffiCallbackInterfaceTransportMethod0)(uint64_t, RustBuffer, UniffiForeignFutureCompleteRustBuffer _Nonnull, uint64_t, UniffiForeignFuture* _Nonnull
|
|
295
|
+
);
|
|
296
|
+
|
|
297
|
+
#endif
|
|
298
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_TRANSPORT_METHOD1
|
|
299
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_TRANSPORT_METHOD1
|
|
300
|
+
typedef void (*UniffiCallbackInterfaceTransportMethod1)(uint64_t, RustBuffer, RustBuffer, uint32_t, UniffiForeignFutureCompleteRustBuffer _Nonnull, uint64_t, UniffiForeignFuture* _Nonnull
|
|
301
|
+
);
|
|
302
|
+
|
|
303
|
+
#endif
|
|
304
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_TRANSPORT_METHOD2
|
|
305
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_TRANSPORT_METHOD2
|
|
306
|
+
typedef void (*UniffiCallbackInterfaceTransportMethod2)(uint64_t, RustBuffer, UniffiForeignFutureCompleteVoid _Nonnull, uint64_t, UniffiForeignFuture* _Nonnull
|
|
307
|
+
);
|
|
308
|
+
|
|
309
|
+
#endif
|
|
310
|
+
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_MESSAGE_OBSERVER
|
|
311
|
+
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_MESSAGE_OBSERVER
|
|
312
|
+
typedef struct UniffiVTableCallbackInterfaceMessageObserver {
|
|
313
|
+
UniffiCallbackInterfaceMessageObserverMethod0 _Nonnull onApplicationMessage;
|
|
314
|
+
UniffiCallbackInterfaceMessageObserverMethod1 _Nonnull onConversationUpdated;
|
|
315
|
+
UniffiCallbackInterfaceFree _Nonnull uniffiFree;
|
|
316
|
+
} UniffiVTableCallbackInterfaceMessageObserver;
|
|
317
|
+
|
|
318
|
+
#endif
|
|
319
|
+
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_STORAGE
|
|
320
|
+
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_STORAGE
|
|
321
|
+
typedef struct UniffiVTableCallbackInterfaceStorage {
|
|
322
|
+
UniffiCallbackInterfaceStorageMethod0 _Nonnull delete;
|
|
323
|
+
UniffiCallbackInterfaceStorageMethod1 _Nonnull get;
|
|
324
|
+
UniffiCallbackInterfaceStorageMethod2 _Nonnull listKeys;
|
|
325
|
+
UniffiCallbackInterfaceStorageMethod3 _Nonnull put;
|
|
326
|
+
UniffiCallbackInterfaceFree _Nonnull uniffiFree;
|
|
327
|
+
} UniffiVTableCallbackInterfaceStorage;
|
|
328
|
+
|
|
329
|
+
#endif
|
|
330
|
+
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_TRANSPORT
|
|
331
|
+
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_TRANSPORT
|
|
332
|
+
typedef struct UniffiVTableCallbackInterfaceTransport {
|
|
333
|
+
UniffiCallbackInterfaceTransportMethod0 _Nonnull discoverDevices;
|
|
334
|
+
UniffiCallbackInterfaceTransportMethod1 _Nonnull fetchSince;
|
|
335
|
+
UniffiCallbackInterfaceTransportMethod2 _Nonnull send;
|
|
336
|
+
UniffiCallbackInterfaceFree _Nonnull uniffiFree;
|
|
337
|
+
} UniffiVTableCallbackInterfaceTransport;
|
|
338
|
+
|
|
339
|
+
#endif
|
|
340
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CLONE_MESSAGEOBSERVER
|
|
341
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CLONE_MESSAGEOBSERVER
|
|
342
|
+
void*_Nonnull uniffi_ping_ffi_fn_clone_messageobserver(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
343
|
+
);
|
|
344
|
+
#endif
|
|
345
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FREE_MESSAGEOBSERVER
|
|
346
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FREE_MESSAGEOBSERVER
|
|
347
|
+
void uniffi_ping_ffi_fn_free_messageobserver(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
348
|
+
);
|
|
349
|
+
#endif
|
|
350
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_INIT_CALLBACK_VTABLE_MESSAGEOBSERVER
|
|
351
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_INIT_CALLBACK_VTABLE_MESSAGEOBSERVER
|
|
352
|
+
void uniffi_ping_ffi_fn_init_callback_vtable_messageobserver(UniffiVTableCallbackInterfaceMessageObserver* _Nonnull vtable
|
|
353
|
+
);
|
|
354
|
+
#endif
|
|
355
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGEOBSERVER_ON_APPLICATION_MESSAGE
|
|
356
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGEOBSERVER_ON_APPLICATION_MESSAGE
|
|
357
|
+
void uniffi_ping_ffi_fn_method_messageobserver_on_application_message(void*_Nonnull ptr, RustBuffer msg, RustCallStatus *_Nonnull out_status
|
|
358
|
+
);
|
|
359
|
+
#endif
|
|
360
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGEOBSERVER_ON_CONVERSATION_UPDATED
|
|
361
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGEOBSERVER_ON_CONVERSATION_UPDATED
|
|
362
|
+
void uniffi_ping_ffi_fn_method_messageobserver_on_conversation_updated(void*_Nonnull ptr, RustBuffer id, uint64_t new_epoch, RustCallStatus *_Nonnull out_status
|
|
363
|
+
);
|
|
364
|
+
#endif
|
|
365
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CLONE_MESSAGINGCLIENT
|
|
366
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CLONE_MESSAGINGCLIENT
|
|
367
|
+
void*_Nonnull uniffi_ping_ffi_fn_clone_messagingclient(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
368
|
+
);
|
|
369
|
+
#endif
|
|
370
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FREE_MESSAGINGCLIENT
|
|
371
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FREE_MESSAGINGCLIENT
|
|
372
|
+
void uniffi_ping_ffi_fn_free_messagingclient(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
373
|
+
);
|
|
374
|
+
#endif
|
|
375
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CONSTRUCTOR_MESSAGINGCLIENT_INIT
|
|
376
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CONSTRUCTOR_MESSAGINGCLIENT_INIT
|
|
377
|
+
uint64_t uniffi_ping_ffi_fn_constructor_messagingclient_init(RustBuffer identity_export, RustBuffer device_label, void*_Nonnull storage, void*_Nonnull transport, uint64_t now_ms
|
|
378
|
+
);
|
|
379
|
+
#endif
|
|
380
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_ADD_MEMBERS
|
|
381
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_ADD_MEMBERS
|
|
382
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_add_members(void*_Nonnull ptr, RustBuffer conversation_id, RustBuffer key_packages, uint64_t now_ms
|
|
383
|
+
);
|
|
384
|
+
#endif
|
|
385
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_BUILD_LINKING_TICKET
|
|
386
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_BUILD_LINKING_TICKET
|
|
387
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_build_linking_ticket(void*_Nonnull ptr, RustBuffer new_device_id, RustBuffer new_device_kp, uint64_t now_ms
|
|
388
|
+
);
|
|
389
|
+
#endif
|
|
390
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_CONSUME_LINKING_TICKET
|
|
391
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_CONSUME_LINKING_TICKET
|
|
392
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_consume_linking_ticket(void*_Nonnull ptr, RustBuffer ticket, uint64_t now_ms
|
|
393
|
+
);
|
|
394
|
+
#endif
|
|
395
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_CREATE_CONVERSATION
|
|
396
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_CREATE_CONVERSATION
|
|
397
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_create_conversation(void*_Nonnull ptr, RustBuffer name, uint64_t now_ms
|
|
398
|
+
);
|
|
399
|
+
#endif
|
|
400
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_DEVICE_ID
|
|
401
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_DEVICE_ID
|
|
402
|
+
RustBuffer uniffi_ping_ffi_fn_method_messagingclient_device_id(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
403
|
+
);
|
|
404
|
+
#endif
|
|
405
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_DEVICE_INFO
|
|
406
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_DEVICE_INFO
|
|
407
|
+
RustBuffer uniffi_ping_ffi_fn_method_messagingclient_device_info(void*_Nonnull ptr, uint64_t now_ms, RustCallStatus *_Nonnull out_status
|
|
408
|
+
);
|
|
409
|
+
#endif
|
|
410
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_FRESH_KEY_PACKAGE
|
|
411
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_FRESH_KEY_PACKAGE
|
|
412
|
+
RustBuffer uniffi_ping_ffi_fn_method_messagingclient_fresh_key_package(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
413
|
+
);
|
|
414
|
+
#endif
|
|
415
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_JOIN_CONVERSATION
|
|
416
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_JOIN_CONVERSATION
|
|
417
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_join_conversation(void*_Nonnull ptr, RustBuffer welcome, uint64_t now_ms
|
|
418
|
+
);
|
|
419
|
+
#endif
|
|
420
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_LIST_CONVERSATIONS
|
|
421
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_LIST_CONVERSATIONS
|
|
422
|
+
RustBuffer uniffi_ping_ffi_fn_method_messagingclient_list_conversations(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
423
|
+
);
|
|
424
|
+
#endif
|
|
425
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_LIST_DEVICES
|
|
426
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_LIST_DEVICES
|
|
427
|
+
RustBuffer uniffi_ping_ffi_fn_method_messagingclient_list_devices(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
428
|
+
);
|
|
429
|
+
#endif
|
|
430
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_PROCESS_ENVELOPE
|
|
431
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_PROCESS_ENVELOPE
|
|
432
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_process_envelope(void*_Nonnull ptr, RustBuffer envelope, uint64_t now_ms
|
|
433
|
+
);
|
|
434
|
+
#endif
|
|
435
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_REMOVE_MEMBERS
|
|
436
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_REMOVE_MEMBERS
|
|
437
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_remove_members(void*_Nonnull ptr, RustBuffer conversation_id, RustBuffer leaf_indexes, uint64_t now_ms
|
|
438
|
+
);
|
|
439
|
+
#endif
|
|
440
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_REVOKE_DEVICE
|
|
441
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_REVOKE_DEVICE
|
|
442
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_revoke_device(void*_Nonnull ptr, RustBuffer device_id, uint64_t now_ms
|
|
443
|
+
);
|
|
444
|
+
#endif
|
|
445
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_SEND
|
|
446
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_SEND
|
|
447
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_send(void*_Nonnull ptr, RustBuffer conversation_id, RustBuffer plaintext, uint64_t now_ms
|
|
448
|
+
);
|
|
449
|
+
#endif
|
|
450
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_SET_OBSERVER
|
|
451
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_SET_OBSERVER
|
|
452
|
+
void uniffi_ping_ffi_fn_method_messagingclient_set_observer(void*_Nonnull ptr, void*_Nonnull observer, RustCallStatus *_Nonnull out_status
|
|
453
|
+
);
|
|
454
|
+
#endif
|
|
455
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_SYNC_CONVERSATIONS
|
|
456
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_SYNC_CONVERSATIONS
|
|
457
|
+
uint64_t uniffi_ping_ffi_fn_method_messagingclient_sync_conversations(void*_Nonnull ptr, uint64_t now_ms
|
|
458
|
+
);
|
|
459
|
+
#endif
|
|
460
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_USER_ID
|
|
461
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_MESSAGINGCLIENT_USER_ID
|
|
462
|
+
RustBuffer uniffi_ping_ffi_fn_method_messagingclient_user_id(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
463
|
+
);
|
|
464
|
+
#endif
|
|
465
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CLONE_STORAGE
|
|
466
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CLONE_STORAGE
|
|
467
|
+
void*_Nonnull uniffi_ping_ffi_fn_clone_storage(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
468
|
+
);
|
|
469
|
+
#endif
|
|
470
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FREE_STORAGE
|
|
471
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FREE_STORAGE
|
|
472
|
+
void uniffi_ping_ffi_fn_free_storage(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
473
|
+
);
|
|
474
|
+
#endif
|
|
475
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_INIT_CALLBACK_VTABLE_STORAGE
|
|
476
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_INIT_CALLBACK_VTABLE_STORAGE
|
|
477
|
+
void uniffi_ping_ffi_fn_init_callback_vtable_storage(UniffiVTableCallbackInterfaceStorage* _Nonnull vtable
|
|
478
|
+
);
|
|
479
|
+
#endif
|
|
480
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_STORAGE_DELETE
|
|
481
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_STORAGE_DELETE
|
|
482
|
+
uint64_t uniffi_ping_ffi_fn_method_storage_delete(void*_Nonnull ptr, RustBuffer namespace, RustBuffer key
|
|
483
|
+
);
|
|
484
|
+
#endif
|
|
485
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_STORAGE_GET
|
|
486
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_STORAGE_GET
|
|
487
|
+
uint64_t uniffi_ping_ffi_fn_method_storage_get(void*_Nonnull ptr, RustBuffer namespace, RustBuffer key
|
|
488
|
+
);
|
|
489
|
+
#endif
|
|
490
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_STORAGE_LIST_KEYS
|
|
491
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_STORAGE_LIST_KEYS
|
|
492
|
+
uint64_t uniffi_ping_ffi_fn_method_storage_list_keys(void*_Nonnull ptr, RustBuffer namespace, RustBuffer prefix
|
|
493
|
+
);
|
|
494
|
+
#endif
|
|
495
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_STORAGE_PUT
|
|
496
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_STORAGE_PUT
|
|
497
|
+
uint64_t uniffi_ping_ffi_fn_method_storage_put(void*_Nonnull ptr, RustBuffer namespace, RustBuffer key, RustBuffer value
|
|
498
|
+
);
|
|
499
|
+
#endif
|
|
500
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CLONE_TRANSPORT
|
|
501
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_CLONE_TRANSPORT
|
|
502
|
+
void*_Nonnull uniffi_ping_ffi_fn_clone_transport(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
503
|
+
);
|
|
504
|
+
#endif
|
|
505
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FREE_TRANSPORT
|
|
506
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FREE_TRANSPORT
|
|
507
|
+
void uniffi_ping_ffi_fn_free_transport(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
508
|
+
);
|
|
509
|
+
#endif
|
|
510
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_INIT_CALLBACK_VTABLE_TRANSPORT
|
|
511
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_INIT_CALLBACK_VTABLE_TRANSPORT
|
|
512
|
+
void uniffi_ping_ffi_fn_init_callback_vtable_transport(UniffiVTableCallbackInterfaceTransport* _Nonnull vtable
|
|
513
|
+
);
|
|
514
|
+
#endif
|
|
515
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_TRANSPORT_DISCOVER_DEVICES
|
|
516
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_TRANSPORT_DISCOVER_DEVICES
|
|
517
|
+
uint64_t uniffi_ping_ffi_fn_method_transport_discover_devices(void*_Nonnull ptr, RustBuffer user_id
|
|
518
|
+
);
|
|
519
|
+
#endif
|
|
520
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_TRANSPORT_FETCH_SINCE
|
|
521
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_TRANSPORT_FETCH_SINCE
|
|
522
|
+
uint64_t uniffi_ping_ffi_fn_method_transport_fetch_since(void*_Nonnull ptr, RustBuffer conversation_id, RustBuffer cursor_token, uint32_t limit
|
|
523
|
+
);
|
|
524
|
+
#endif
|
|
525
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_TRANSPORT_SEND
|
|
526
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_METHOD_TRANSPORT_SEND
|
|
527
|
+
uint64_t uniffi_ping_ffi_fn_method_transport_send(void*_Nonnull ptr, RustBuffer envelope
|
|
528
|
+
);
|
|
529
|
+
#endif
|
|
530
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FUNC_GENERATE_IDENTITY_EXPORT
|
|
531
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FUNC_GENERATE_IDENTITY_EXPORT
|
|
532
|
+
RustBuffer uniffi_ping_ffi_fn_func_generate_identity_export(RustCallStatus *_Nonnull out_status
|
|
533
|
+
|
|
534
|
+
);
|
|
535
|
+
#endif
|
|
536
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUSTBUFFER_ALLOC
|
|
537
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUSTBUFFER_ALLOC
|
|
538
|
+
RustBuffer ffi_ping_ffi_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
|
|
539
|
+
);
|
|
540
|
+
#endif
|
|
541
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUSTBUFFER_FROM_BYTES
|
|
542
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUSTBUFFER_FROM_BYTES
|
|
543
|
+
RustBuffer ffi_ping_ffi_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
|
|
544
|
+
);
|
|
545
|
+
#endif
|
|
546
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUSTBUFFER_FREE
|
|
547
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUSTBUFFER_FREE
|
|
548
|
+
void ffi_ping_ffi_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
|
|
549
|
+
);
|
|
550
|
+
#endif
|
|
551
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUSTBUFFER_RESERVE
|
|
552
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUSTBUFFER_RESERVE
|
|
553
|
+
RustBuffer ffi_ping_ffi_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
|
|
554
|
+
);
|
|
555
|
+
#endif
|
|
556
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_U8
|
|
557
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_U8
|
|
558
|
+
void ffi_ping_ffi_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
559
|
+
);
|
|
560
|
+
#endif
|
|
561
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_U8
|
|
562
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_U8
|
|
563
|
+
void ffi_ping_ffi_rust_future_cancel_u8(uint64_t handle
|
|
564
|
+
);
|
|
565
|
+
#endif
|
|
566
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_U8
|
|
567
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_U8
|
|
568
|
+
void ffi_ping_ffi_rust_future_free_u8(uint64_t handle
|
|
569
|
+
);
|
|
570
|
+
#endif
|
|
571
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_U8
|
|
572
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_U8
|
|
573
|
+
uint8_t ffi_ping_ffi_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
574
|
+
);
|
|
575
|
+
#endif
|
|
576
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_I8
|
|
577
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_I8
|
|
578
|
+
void ffi_ping_ffi_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
579
|
+
);
|
|
580
|
+
#endif
|
|
581
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_I8
|
|
582
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_I8
|
|
583
|
+
void ffi_ping_ffi_rust_future_cancel_i8(uint64_t handle
|
|
584
|
+
);
|
|
585
|
+
#endif
|
|
586
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_I8
|
|
587
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_I8
|
|
588
|
+
void ffi_ping_ffi_rust_future_free_i8(uint64_t handle
|
|
589
|
+
);
|
|
590
|
+
#endif
|
|
591
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_I8
|
|
592
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_I8
|
|
593
|
+
int8_t ffi_ping_ffi_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
594
|
+
);
|
|
595
|
+
#endif
|
|
596
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_U16
|
|
597
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_U16
|
|
598
|
+
void ffi_ping_ffi_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
599
|
+
);
|
|
600
|
+
#endif
|
|
601
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_U16
|
|
602
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_U16
|
|
603
|
+
void ffi_ping_ffi_rust_future_cancel_u16(uint64_t handle
|
|
604
|
+
);
|
|
605
|
+
#endif
|
|
606
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_U16
|
|
607
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_U16
|
|
608
|
+
void ffi_ping_ffi_rust_future_free_u16(uint64_t handle
|
|
609
|
+
);
|
|
610
|
+
#endif
|
|
611
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_U16
|
|
612
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_U16
|
|
613
|
+
uint16_t ffi_ping_ffi_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
614
|
+
);
|
|
615
|
+
#endif
|
|
616
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_I16
|
|
617
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_I16
|
|
618
|
+
void ffi_ping_ffi_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
619
|
+
);
|
|
620
|
+
#endif
|
|
621
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_I16
|
|
622
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_I16
|
|
623
|
+
void ffi_ping_ffi_rust_future_cancel_i16(uint64_t handle
|
|
624
|
+
);
|
|
625
|
+
#endif
|
|
626
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_I16
|
|
627
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_I16
|
|
628
|
+
void ffi_ping_ffi_rust_future_free_i16(uint64_t handle
|
|
629
|
+
);
|
|
630
|
+
#endif
|
|
631
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_I16
|
|
632
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_I16
|
|
633
|
+
int16_t ffi_ping_ffi_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
634
|
+
);
|
|
635
|
+
#endif
|
|
636
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_U32
|
|
637
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_U32
|
|
638
|
+
void ffi_ping_ffi_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
639
|
+
);
|
|
640
|
+
#endif
|
|
641
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_U32
|
|
642
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_U32
|
|
643
|
+
void ffi_ping_ffi_rust_future_cancel_u32(uint64_t handle
|
|
644
|
+
);
|
|
645
|
+
#endif
|
|
646
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_U32
|
|
647
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_U32
|
|
648
|
+
void ffi_ping_ffi_rust_future_free_u32(uint64_t handle
|
|
649
|
+
);
|
|
650
|
+
#endif
|
|
651
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_U32
|
|
652
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_U32
|
|
653
|
+
uint32_t ffi_ping_ffi_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
654
|
+
);
|
|
655
|
+
#endif
|
|
656
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_I32
|
|
657
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_I32
|
|
658
|
+
void ffi_ping_ffi_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
659
|
+
);
|
|
660
|
+
#endif
|
|
661
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_I32
|
|
662
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_I32
|
|
663
|
+
void ffi_ping_ffi_rust_future_cancel_i32(uint64_t handle
|
|
664
|
+
);
|
|
665
|
+
#endif
|
|
666
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_I32
|
|
667
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_I32
|
|
668
|
+
void ffi_ping_ffi_rust_future_free_i32(uint64_t handle
|
|
669
|
+
);
|
|
670
|
+
#endif
|
|
671
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_I32
|
|
672
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_I32
|
|
673
|
+
int32_t ffi_ping_ffi_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
674
|
+
);
|
|
675
|
+
#endif
|
|
676
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_U64
|
|
677
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_U64
|
|
678
|
+
void ffi_ping_ffi_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
679
|
+
);
|
|
680
|
+
#endif
|
|
681
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_U64
|
|
682
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_U64
|
|
683
|
+
void ffi_ping_ffi_rust_future_cancel_u64(uint64_t handle
|
|
684
|
+
);
|
|
685
|
+
#endif
|
|
686
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_U64
|
|
687
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_U64
|
|
688
|
+
void ffi_ping_ffi_rust_future_free_u64(uint64_t handle
|
|
689
|
+
);
|
|
690
|
+
#endif
|
|
691
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_U64
|
|
692
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_U64
|
|
693
|
+
uint64_t ffi_ping_ffi_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
694
|
+
);
|
|
695
|
+
#endif
|
|
696
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_I64
|
|
697
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_I64
|
|
698
|
+
void ffi_ping_ffi_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
699
|
+
);
|
|
700
|
+
#endif
|
|
701
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_I64
|
|
702
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_I64
|
|
703
|
+
void ffi_ping_ffi_rust_future_cancel_i64(uint64_t handle
|
|
704
|
+
);
|
|
705
|
+
#endif
|
|
706
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_I64
|
|
707
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_I64
|
|
708
|
+
void ffi_ping_ffi_rust_future_free_i64(uint64_t handle
|
|
709
|
+
);
|
|
710
|
+
#endif
|
|
711
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_I64
|
|
712
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_I64
|
|
713
|
+
int64_t ffi_ping_ffi_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
714
|
+
);
|
|
715
|
+
#endif
|
|
716
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_F32
|
|
717
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_F32
|
|
718
|
+
void ffi_ping_ffi_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
719
|
+
);
|
|
720
|
+
#endif
|
|
721
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_F32
|
|
722
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_F32
|
|
723
|
+
void ffi_ping_ffi_rust_future_cancel_f32(uint64_t handle
|
|
724
|
+
);
|
|
725
|
+
#endif
|
|
726
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_F32
|
|
727
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_F32
|
|
728
|
+
void ffi_ping_ffi_rust_future_free_f32(uint64_t handle
|
|
729
|
+
);
|
|
730
|
+
#endif
|
|
731
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_F32
|
|
732
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_F32
|
|
733
|
+
float ffi_ping_ffi_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
734
|
+
);
|
|
735
|
+
#endif
|
|
736
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_F64
|
|
737
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_F64
|
|
738
|
+
void ffi_ping_ffi_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
739
|
+
);
|
|
740
|
+
#endif
|
|
741
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_F64
|
|
742
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_F64
|
|
743
|
+
void ffi_ping_ffi_rust_future_cancel_f64(uint64_t handle
|
|
744
|
+
);
|
|
745
|
+
#endif
|
|
746
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_F64
|
|
747
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_F64
|
|
748
|
+
void ffi_ping_ffi_rust_future_free_f64(uint64_t handle
|
|
749
|
+
);
|
|
750
|
+
#endif
|
|
751
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_F64
|
|
752
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_F64
|
|
753
|
+
double ffi_ping_ffi_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
754
|
+
);
|
|
755
|
+
#endif
|
|
756
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_POINTER
|
|
757
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_POINTER
|
|
758
|
+
void ffi_ping_ffi_rust_future_poll_pointer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
759
|
+
);
|
|
760
|
+
#endif
|
|
761
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_POINTER
|
|
762
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_POINTER
|
|
763
|
+
void ffi_ping_ffi_rust_future_cancel_pointer(uint64_t handle
|
|
764
|
+
);
|
|
765
|
+
#endif
|
|
766
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_POINTER
|
|
767
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_POINTER
|
|
768
|
+
void ffi_ping_ffi_rust_future_free_pointer(uint64_t handle
|
|
769
|
+
);
|
|
770
|
+
#endif
|
|
771
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_POINTER
|
|
772
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_POINTER
|
|
773
|
+
void*_Nonnull ffi_ping_ffi_rust_future_complete_pointer(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
774
|
+
);
|
|
775
|
+
#endif
|
|
776
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_RUST_BUFFER
|
|
777
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_RUST_BUFFER
|
|
778
|
+
void ffi_ping_ffi_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
779
|
+
);
|
|
780
|
+
#endif
|
|
781
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_RUST_BUFFER
|
|
782
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_RUST_BUFFER
|
|
783
|
+
void ffi_ping_ffi_rust_future_cancel_rust_buffer(uint64_t handle
|
|
784
|
+
);
|
|
785
|
+
#endif
|
|
786
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_RUST_BUFFER
|
|
787
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_RUST_BUFFER
|
|
788
|
+
void ffi_ping_ffi_rust_future_free_rust_buffer(uint64_t handle
|
|
789
|
+
);
|
|
790
|
+
#endif
|
|
791
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_RUST_BUFFER
|
|
792
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_RUST_BUFFER
|
|
793
|
+
RustBuffer ffi_ping_ffi_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
794
|
+
);
|
|
795
|
+
#endif
|
|
796
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_VOID
|
|
797
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_POLL_VOID
|
|
798
|
+
void ffi_ping_ffi_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
799
|
+
);
|
|
800
|
+
#endif
|
|
801
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_VOID
|
|
802
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_CANCEL_VOID
|
|
803
|
+
void ffi_ping_ffi_rust_future_cancel_void(uint64_t handle
|
|
804
|
+
);
|
|
805
|
+
#endif
|
|
806
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_VOID
|
|
807
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_FREE_VOID
|
|
808
|
+
void ffi_ping_ffi_rust_future_free_void(uint64_t handle
|
|
809
|
+
);
|
|
810
|
+
#endif
|
|
811
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_VOID
|
|
812
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_RUST_FUTURE_COMPLETE_VOID
|
|
813
|
+
void ffi_ping_ffi_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
814
|
+
);
|
|
815
|
+
#endif
|
|
816
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_FUNC_GENERATE_IDENTITY_EXPORT
|
|
817
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_FUNC_GENERATE_IDENTITY_EXPORT
|
|
818
|
+
uint16_t uniffi_ping_ffi_checksum_func_generate_identity_export(void
|
|
819
|
+
|
|
820
|
+
);
|
|
821
|
+
#endif
|
|
822
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGEOBSERVER_ON_APPLICATION_MESSAGE
|
|
823
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGEOBSERVER_ON_APPLICATION_MESSAGE
|
|
824
|
+
uint16_t uniffi_ping_ffi_checksum_method_messageobserver_on_application_message(void
|
|
825
|
+
|
|
826
|
+
);
|
|
827
|
+
#endif
|
|
828
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGEOBSERVER_ON_CONVERSATION_UPDATED
|
|
829
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGEOBSERVER_ON_CONVERSATION_UPDATED
|
|
830
|
+
uint16_t uniffi_ping_ffi_checksum_method_messageobserver_on_conversation_updated(void
|
|
831
|
+
|
|
832
|
+
);
|
|
833
|
+
#endif
|
|
834
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_ADD_MEMBERS
|
|
835
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_ADD_MEMBERS
|
|
836
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_add_members(void
|
|
837
|
+
|
|
838
|
+
);
|
|
839
|
+
#endif
|
|
840
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_BUILD_LINKING_TICKET
|
|
841
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_BUILD_LINKING_TICKET
|
|
842
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_build_linking_ticket(void
|
|
843
|
+
|
|
844
|
+
);
|
|
845
|
+
#endif
|
|
846
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_CONSUME_LINKING_TICKET
|
|
847
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_CONSUME_LINKING_TICKET
|
|
848
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_consume_linking_ticket(void
|
|
849
|
+
|
|
850
|
+
);
|
|
851
|
+
#endif
|
|
852
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_CREATE_CONVERSATION
|
|
853
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_CREATE_CONVERSATION
|
|
854
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_create_conversation(void
|
|
855
|
+
|
|
856
|
+
);
|
|
857
|
+
#endif
|
|
858
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_DEVICE_ID
|
|
859
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_DEVICE_ID
|
|
860
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_device_id(void
|
|
861
|
+
|
|
862
|
+
);
|
|
863
|
+
#endif
|
|
864
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_DEVICE_INFO
|
|
865
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_DEVICE_INFO
|
|
866
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_device_info(void
|
|
867
|
+
|
|
868
|
+
);
|
|
869
|
+
#endif
|
|
870
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_FRESH_KEY_PACKAGE
|
|
871
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_FRESH_KEY_PACKAGE
|
|
872
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_fresh_key_package(void
|
|
873
|
+
|
|
874
|
+
);
|
|
875
|
+
#endif
|
|
876
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_JOIN_CONVERSATION
|
|
877
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_JOIN_CONVERSATION
|
|
878
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_join_conversation(void
|
|
879
|
+
|
|
880
|
+
);
|
|
881
|
+
#endif
|
|
882
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_LIST_CONVERSATIONS
|
|
883
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_LIST_CONVERSATIONS
|
|
884
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_list_conversations(void
|
|
885
|
+
|
|
886
|
+
);
|
|
887
|
+
#endif
|
|
888
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_LIST_DEVICES
|
|
889
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_LIST_DEVICES
|
|
890
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_list_devices(void
|
|
891
|
+
|
|
892
|
+
);
|
|
893
|
+
#endif
|
|
894
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_PROCESS_ENVELOPE
|
|
895
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_PROCESS_ENVELOPE
|
|
896
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_process_envelope(void
|
|
897
|
+
|
|
898
|
+
);
|
|
899
|
+
#endif
|
|
900
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_REMOVE_MEMBERS
|
|
901
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_REMOVE_MEMBERS
|
|
902
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_remove_members(void
|
|
903
|
+
|
|
904
|
+
);
|
|
905
|
+
#endif
|
|
906
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_REVOKE_DEVICE
|
|
907
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_REVOKE_DEVICE
|
|
908
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_revoke_device(void
|
|
909
|
+
|
|
910
|
+
);
|
|
911
|
+
#endif
|
|
912
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_SEND
|
|
913
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_SEND
|
|
914
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_send(void
|
|
915
|
+
|
|
916
|
+
);
|
|
917
|
+
#endif
|
|
918
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_SET_OBSERVER
|
|
919
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_SET_OBSERVER
|
|
920
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_set_observer(void
|
|
921
|
+
|
|
922
|
+
);
|
|
923
|
+
#endif
|
|
924
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_SYNC_CONVERSATIONS
|
|
925
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_SYNC_CONVERSATIONS
|
|
926
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_sync_conversations(void
|
|
927
|
+
|
|
928
|
+
);
|
|
929
|
+
#endif
|
|
930
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_USER_ID
|
|
931
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_MESSAGINGCLIENT_USER_ID
|
|
932
|
+
uint16_t uniffi_ping_ffi_checksum_method_messagingclient_user_id(void
|
|
933
|
+
|
|
934
|
+
);
|
|
935
|
+
#endif
|
|
936
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_STORAGE_DELETE
|
|
937
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_STORAGE_DELETE
|
|
938
|
+
uint16_t uniffi_ping_ffi_checksum_method_storage_delete(void
|
|
939
|
+
|
|
940
|
+
);
|
|
941
|
+
#endif
|
|
942
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_STORAGE_GET
|
|
943
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_STORAGE_GET
|
|
944
|
+
uint16_t uniffi_ping_ffi_checksum_method_storage_get(void
|
|
945
|
+
|
|
946
|
+
);
|
|
947
|
+
#endif
|
|
948
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_STORAGE_LIST_KEYS
|
|
949
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_STORAGE_LIST_KEYS
|
|
950
|
+
uint16_t uniffi_ping_ffi_checksum_method_storage_list_keys(void
|
|
951
|
+
|
|
952
|
+
);
|
|
953
|
+
#endif
|
|
954
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_STORAGE_PUT
|
|
955
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_STORAGE_PUT
|
|
956
|
+
uint16_t uniffi_ping_ffi_checksum_method_storage_put(void
|
|
957
|
+
|
|
958
|
+
);
|
|
959
|
+
#endif
|
|
960
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_TRANSPORT_DISCOVER_DEVICES
|
|
961
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_TRANSPORT_DISCOVER_DEVICES
|
|
962
|
+
uint16_t uniffi_ping_ffi_checksum_method_transport_discover_devices(void
|
|
963
|
+
|
|
964
|
+
);
|
|
965
|
+
#endif
|
|
966
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_TRANSPORT_FETCH_SINCE
|
|
967
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_TRANSPORT_FETCH_SINCE
|
|
968
|
+
uint16_t uniffi_ping_ffi_checksum_method_transport_fetch_since(void
|
|
969
|
+
|
|
970
|
+
);
|
|
971
|
+
#endif
|
|
972
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_TRANSPORT_SEND
|
|
973
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_METHOD_TRANSPORT_SEND
|
|
974
|
+
uint16_t uniffi_ping_ffi_checksum_method_transport_send(void
|
|
975
|
+
|
|
976
|
+
);
|
|
977
|
+
#endif
|
|
978
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_CONSTRUCTOR_MESSAGINGCLIENT_INIT
|
|
979
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_CONSTRUCTOR_MESSAGINGCLIENT_INIT
|
|
980
|
+
uint16_t uniffi_ping_ffi_checksum_constructor_messagingclient_init(void
|
|
981
|
+
|
|
982
|
+
);
|
|
983
|
+
#endif
|
|
984
|
+
#ifndef UNIFFI_FFIDEF_FFI_PING_FFI_UNIFFI_CONTRACT_VERSION
|
|
985
|
+
#define UNIFFI_FFIDEF_FFI_PING_FFI_UNIFFI_CONTRACT_VERSION
|
|
986
|
+
uint32_t ffi_ping_ffi_uniffi_contract_version(void
|
|
987
|
+
|
|
988
|
+
);
|
|
989
|
+
#endif
|
|
990
|
+
|