@synonymdev/react-native-pubky 0.10.6 → 0.11.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/android/build.gradle +5 -3
- package/android/src/main/java/com/pubky/PubkyModule.kt +25 -25
- package/android/src/main/java/uniffi/pubkycore/pubkycore.kt +1402 -826
- package/android/src/main/jniLibs/arm64-v8a/libpubkycore.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libpubkycore.so +0 -0
- package/android/src/main/jniLibs/x86/libpubkycore.so +0 -0
- package/android/src/main/jniLibs/x86_64/libpubkycore.so +0 -0
- package/ios/Frameworks/PubkyCore.xcframework/ios-arm64/Headers/module.modulemap +3 -2
- package/ios/Frameworks/PubkyCore.xcframework/ios-arm64/Headers/pubkycoreFFI.h +688 -134
- package/ios/Frameworks/PubkyCore.xcframework/ios-arm64/libpubkycore.a +0 -0
- package/ios/Frameworks/PubkyCore.xcframework/ios-arm64-simulator/Headers/module.modulemap +3 -2
- package/ios/Frameworks/PubkyCore.xcframework/ios-arm64-simulator/Headers/pubkycoreFFI.h +688 -134
- package/ios/Frameworks/PubkyCore.xcframework/ios-arm64-simulator/libpubkycore.a +0 -0
- package/ios/Pubky.swift +20 -20
- package/ios/pubkycore.swift +438 -369
- package/lib/commonjs/index.js +18 -18
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +17 -17
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +5 -4
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +5 -4
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +12 -12
- package/src/index.tsx +25 -18
|
@@ -24,25 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
typedef struct RustBuffer
|
|
26
26
|
{
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
uint64_t capacity;
|
|
28
|
+
uint64_t len;
|
|
29
29
|
uint8_t *_Nullable data;
|
|
30
30
|
} RustBuffer;
|
|
31
31
|
|
|
32
|
-
typedef int32_t (*ForeignCallback)(uint64_t, int32_t, const uint8_t *_Nonnull, int32_t, RustBuffer *_Nonnull);
|
|
33
|
-
|
|
34
|
-
// Task defined in Rust that Swift executes
|
|
35
|
-
typedef void (*UniFfiRustTaskCallback)(const void * _Nullable, int8_t);
|
|
36
|
-
|
|
37
|
-
// Callback to execute Rust tasks using a Swift Task
|
|
38
|
-
//
|
|
39
|
-
// Args:
|
|
40
|
-
// executor: ForeignExecutor lowered into a size_t value
|
|
41
|
-
// delay: Delay in MS
|
|
42
|
-
// task: UniFfiRustTaskCallback to call
|
|
43
|
-
// task_data: data to pass the task callback
|
|
44
|
-
typedef int8_t (*UniFfiForeignExecutorCallback)(size_t, uint32_t, UniFfiRustTaskCallback _Nullable, const void * _Nullable);
|
|
45
|
-
|
|
46
32
|
typedef struct ForeignBytes
|
|
47
33
|
{
|
|
48
34
|
int32_t len;
|
|
@@ -58,277 +44,845 @@ typedef struct RustCallStatus {
|
|
|
58
44
|
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
|
|
59
45
|
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️
|
|
60
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;
|
|
61
177
|
|
|
62
|
-
|
|
63
|
-
|
|
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
|
+
);
|
|
64
183
|
|
|
65
|
-
|
|
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_EVENT_LISTENER_METHOD0
|
|
255
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_EVENT_LISTENER_METHOD0
|
|
256
|
+
typedef void (*UniffiCallbackInterfaceEventListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
|
|
257
|
+
RustCallStatus *_Nonnull uniffiCallStatus
|
|
258
|
+
);
|
|
259
|
+
|
|
260
|
+
#endif
|
|
261
|
+
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_EVENT_LISTENER
|
|
262
|
+
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_EVENT_LISTENER
|
|
263
|
+
typedef struct UniffiVTableCallbackInterfaceEventListener {
|
|
264
|
+
UniffiCallbackInterfaceEventListenerMethod0 _Nonnull onEventOccurred;
|
|
265
|
+
UniffiCallbackInterfaceFree _Nonnull uniffiFree;
|
|
266
|
+
} UniffiVTableCallbackInterfaceEventListener;
|
|
267
|
+
|
|
268
|
+
#endif
|
|
269
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_CLONE_EVENTNOTIFIER
|
|
270
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_CLONE_EVENTNOTIFIER
|
|
271
|
+
void*_Nonnull uniffi_pubkycore_fn_clone_eventnotifier(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
272
|
+
);
|
|
273
|
+
#endif
|
|
274
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FREE_EVENTNOTIFIER
|
|
275
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FREE_EVENTNOTIFIER
|
|
66
276
|
void uniffi_pubkycore_fn_free_eventnotifier(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
|
|
67
277
|
);
|
|
68
|
-
|
|
278
|
+
#endif
|
|
279
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_INIT_CALLBACK_VTABLE_EVENTLISTENER
|
|
280
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_INIT_CALLBACK_VTABLE_EVENTLISTENER
|
|
281
|
+
void uniffi_pubkycore_fn_init_callback_vtable_eventlistener(const UniffiVTableCallbackInterfaceEventListener* _Nonnull vtable
|
|
69
282
|
);
|
|
283
|
+
#endif
|
|
284
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_AUTH
|
|
285
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_AUTH
|
|
70
286
|
RustBuffer uniffi_pubkycore_fn_func_auth(RustBuffer url, RustBuffer secret_key, RustCallStatus *_Nonnull out_status
|
|
71
287
|
);
|
|
288
|
+
#endif
|
|
289
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_CREATE_RECOVERY_FILE
|
|
290
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_CREATE_RECOVERY_FILE
|
|
72
291
|
RustBuffer uniffi_pubkycore_fn_func_create_recovery_file(RustBuffer secret_key, RustBuffer passphrase, RustCallStatus *_Nonnull out_status
|
|
73
292
|
);
|
|
293
|
+
#endif
|
|
294
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_DECRYPT_RECOVERY_FILE
|
|
295
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_DECRYPT_RECOVERY_FILE
|
|
74
296
|
RustBuffer uniffi_pubkycore_fn_func_decrypt_recovery_file(RustBuffer recovery_file, RustBuffer passphrase, RustCallStatus *_Nonnull out_status
|
|
75
297
|
);
|
|
76
|
-
|
|
298
|
+
#endif
|
|
299
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_DELETE_FILE
|
|
300
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_DELETE_FILE
|
|
301
|
+
RustBuffer uniffi_pubkycore_fn_func_delete_file(RustBuffer url, RustBuffer secret_key, RustCallStatus *_Nonnull out_status
|
|
77
302
|
);
|
|
303
|
+
#endif
|
|
304
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GENERATE_MNEMONIC_PHRASE
|
|
305
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GENERATE_MNEMONIC_PHRASE
|
|
78
306
|
RustBuffer uniffi_pubkycore_fn_func_generate_mnemonic_phrase(RustCallStatus *_Nonnull out_status
|
|
79
307
|
|
|
80
308
|
);
|
|
309
|
+
#endif
|
|
310
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GENERATE_MNEMONIC_PHRASE_AND_KEYPAIR
|
|
311
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GENERATE_MNEMONIC_PHRASE_AND_KEYPAIR
|
|
81
312
|
RustBuffer uniffi_pubkycore_fn_func_generate_mnemonic_phrase_and_keypair(RustCallStatus *_Nonnull out_status
|
|
82
313
|
|
|
83
314
|
);
|
|
315
|
+
#endif
|
|
316
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GENERATE_SECRET_KEY
|
|
317
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GENERATE_SECRET_KEY
|
|
84
318
|
RustBuffer uniffi_pubkycore_fn_func_generate_secret_key(RustCallStatus *_Nonnull out_status
|
|
85
319
|
|
|
86
320
|
);
|
|
321
|
+
#endif
|
|
322
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GET
|
|
323
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GET
|
|
87
324
|
RustBuffer uniffi_pubkycore_fn_func_get(RustBuffer url, RustCallStatus *_Nonnull out_status
|
|
88
325
|
);
|
|
326
|
+
#endif
|
|
327
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GET_HOMESERVER
|
|
328
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GET_HOMESERVER
|
|
89
329
|
RustBuffer uniffi_pubkycore_fn_func_get_homeserver(RustBuffer pubky, RustCallStatus *_Nonnull out_status
|
|
90
330
|
);
|
|
331
|
+
#endif
|
|
332
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GET_PUBLIC_KEY_FROM_SECRET_KEY
|
|
333
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GET_PUBLIC_KEY_FROM_SECRET_KEY
|
|
91
334
|
RustBuffer uniffi_pubkycore_fn_func_get_public_key_from_secret_key(RustBuffer secret_key, RustCallStatus *_Nonnull out_status
|
|
92
335
|
);
|
|
336
|
+
#endif
|
|
337
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GET_SIGNUP_TOKEN
|
|
338
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_GET_SIGNUP_TOKEN
|
|
93
339
|
RustBuffer uniffi_pubkycore_fn_func_get_signup_token(RustBuffer homeserver_pubky, RustBuffer admin_password, RustCallStatus *_Nonnull out_status
|
|
94
340
|
);
|
|
341
|
+
#endif
|
|
342
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_LIST
|
|
343
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_LIST
|
|
95
344
|
RustBuffer uniffi_pubkycore_fn_func_list(RustBuffer url, RustCallStatus *_Nonnull out_status
|
|
96
345
|
);
|
|
346
|
+
#endif
|
|
347
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_MNEMONIC_PHRASE_TO_KEYPAIR
|
|
348
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_MNEMONIC_PHRASE_TO_KEYPAIR
|
|
97
349
|
RustBuffer uniffi_pubkycore_fn_func_mnemonic_phrase_to_keypair(RustBuffer mnemonic_phrase, RustCallStatus *_Nonnull out_status
|
|
98
350
|
);
|
|
351
|
+
#endif
|
|
352
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_PARSE_AUTH_URL
|
|
353
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_PARSE_AUTH_URL
|
|
99
354
|
RustBuffer uniffi_pubkycore_fn_func_parse_auth_url(RustBuffer url, RustCallStatus *_Nonnull out_status
|
|
100
355
|
);
|
|
356
|
+
#endif
|
|
357
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_PUBLISH
|
|
358
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_PUBLISH
|
|
101
359
|
RustBuffer uniffi_pubkycore_fn_func_publish(RustBuffer record_name, RustBuffer record_content, RustBuffer secret_key, RustCallStatus *_Nonnull out_status
|
|
102
360
|
);
|
|
361
|
+
#endif
|
|
362
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_PUBLISH_HTTPS
|
|
363
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_PUBLISH_HTTPS
|
|
103
364
|
RustBuffer uniffi_pubkycore_fn_func_publish_https(RustBuffer record_name, RustBuffer target, RustBuffer secret_key, RustCallStatus *_Nonnull out_status
|
|
104
365
|
);
|
|
105
|
-
|
|
366
|
+
#endif
|
|
367
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_PUT
|
|
368
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_PUT
|
|
369
|
+
RustBuffer uniffi_pubkycore_fn_func_put(RustBuffer url, RustBuffer content, RustBuffer secret_key, RustCallStatus *_Nonnull out_status
|
|
106
370
|
);
|
|
371
|
+
#endif
|
|
372
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_REMOVE_EVENT_LISTENER
|
|
373
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_REMOVE_EVENT_LISTENER
|
|
107
374
|
void uniffi_pubkycore_fn_func_remove_event_listener(RustCallStatus *_Nonnull out_status
|
|
108
375
|
|
|
109
376
|
);
|
|
377
|
+
#endif
|
|
378
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_REPUBLISH_HOMESERVER
|
|
379
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_REPUBLISH_HOMESERVER
|
|
110
380
|
RustBuffer uniffi_pubkycore_fn_func_republish_homeserver(RustBuffer secret_key, RustBuffer homeserver, RustCallStatus *_Nonnull out_status
|
|
111
381
|
);
|
|
382
|
+
#endif
|
|
383
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_RESOLVE
|
|
384
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_RESOLVE
|
|
112
385
|
RustBuffer uniffi_pubkycore_fn_func_resolve(RustBuffer public_key, RustCallStatus *_Nonnull out_status
|
|
113
386
|
);
|
|
387
|
+
#endif
|
|
388
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_RESOLVE_HTTPS
|
|
389
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_RESOLVE_HTTPS
|
|
114
390
|
RustBuffer uniffi_pubkycore_fn_func_resolve_https(RustBuffer public_key, RustCallStatus *_Nonnull out_status
|
|
115
391
|
);
|
|
116
|
-
|
|
392
|
+
#endif
|
|
393
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_REVALIDATE_SESSION
|
|
394
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_REVALIDATE_SESSION
|
|
395
|
+
RustBuffer uniffi_pubkycore_fn_func_revalidate_session(RustBuffer session_secret, RustCallStatus *_Nonnull out_status
|
|
117
396
|
);
|
|
397
|
+
#endif
|
|
398
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SET_EVENT_LISTENER
|
|
399
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SET_EVENT_LISTENER
|
|
118
400
|
void uniffi_pubkycore_fn_func_set_event_listener(uint64_t listener, RustCallStatus *_Nonnull out_status
|
|
119
401
|
);
|
|
402
|
+
#endif
|
|
403
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SIGN_IN
|
|
404
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SIGN_IN
|
|
120
405
|
RustBuffer uniffi_pubkycore_fn_func_sign_in(RustBuffer secret_key, RustCallStatus *_Nonnull out_status
|
|
121
406
|
);
|
|
122
|
-
|
|
407
|
+
#endif
|
|
408
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SIGN_OUT
|
|
409
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SIGN_OUT
|
|
410
|
+
RustBuffer uniffi_pubkycore_fn_func_sign_out(RustBuffer session_secret, RustCallStatus *_Nonnull out_status
|
|
123
411
|
);
|
|
412
|
+
#endif
|
|
413
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SIGN_UP
|
|
414
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SIGN_UP
|
|
124
415
|
RustBuffer uniffi_pubkycore_fn_func_sign_up(RustBuffer secret_key, RustBuffer homeserver, RustBuffer signup_token, RustCallStatus *_Nonnull out_status
|
|
125
416
|
);
|
|
417
|
+
#endif
|
|
418
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SWITCH_NETWORK
|
|
419
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_SWITCH_NETWORK
|
|
126
420
|
RustBuffer uniffi_pubkycore_fn_func_switch_network(int8_t use_testnet, RustCallStatus *_Nonnull out_status
|
|
127
421
|
);
|
|
422
|
+
#endif
|
|
423
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_VALIDATE_MNEMONIC_PHRASE
|
|
424
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_FN_FUNC_VALIDATE_MNEMONIC_PHRASE
|
|
128
425
|
RustBuffer uniffi_pubkycore_fn_func_validate_mnemonic_phrase(RustBuffer mnemonic_phrase, RustCallStatus *_Nonnull out_status
|
|
129
426
|
);
|
|
130
|
-
|
|
427
|
+
#endif
|
|
428
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUSTBUFFER_ALLOC
|
|
429
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUSTBUFFER_ALLOC
|
|
430
|
+
RustBuffer ffi_pubkycore_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
|
|
131
431
|
);
|
|
432
|
+
#endif
|
|
433
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUSTBUFFER_FROM_BYTES
|
|
434
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUSTBUFFER_FROM_BYTES
|
|
132
435
|
RustBuffer ffi_pubkycore_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
|
|
133
436
|
);
|
|
437
|
+
#endif
|
|
438
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUSTBUFFER_FREE
|
|
439
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUSTBUFFER_FREE
|
|
134
440
|
void ffi_pubkycore_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
|
|
135
441
|
);
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
void
|
|
145
|
-
);
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
);
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
void
|
|
165
|
-
);
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
void
|
|
175
|
-
);
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
void
|
|
185
|
-
);
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
);
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
void
|
|
205
|
-
);
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
void
|
|
215
|
-
);
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
void
|
|
225
|
-
);
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
);
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
442
|
+
#endif
|
|
443
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUSTBUFFER_RESERVE
|
|
444
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUSTBUFFER_RESERVE
|
|
445
|
+
RustBuffer ffi_pubkycore_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
|
|
446
|
+
);
|
|
447
|
+
#endif
|
|
448
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_U8
|
|
449
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_U8
|
|
450
|
+
void ffi_pubkycore_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
451
|
+
);
|
|
452
|
+
#endif
|
|
453
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_U8
|
|
454
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_U8
|
|
455
|
+
void ffi_pubkycore_rust_future_cancel_u8(uint64_t handle
|
|
456
|
+
);
|
|
457
|
+
#endif
|
|
458
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_U8
|
|
459
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_U8
|
|
460
|
+
void ffi_pubkycore_rust_future_free_u8(uint64_t handle
|
|
461
|
+
);
|
|
462
|
+
#endif
|
|
463
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_U8
|
|
464
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_U8
|
|
465
|
+
uint8_t ffi_pubkycore_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
466
|
+
);
|
|
467
|
+
#endif
|
|
468
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_I8
|
|
469
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_I8
|
|
470
|
+
void ffi_pubkycore_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
471
|
+
);
|
|
472
|
+
#endif
|
|
473
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_I8
|
|
474
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_I8
|
|
475
|
+
void ffi_pubkycore_rust_future_cancel_i8(uint64_t handle
|
|
476
|
+
);
|
|
477
|
+
#endif
|
|
478
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_I8
|
|
479
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_I8
|
|
480
|
+
void ffi_pubkycore_rust_future_free_i8(uint64_t handle
|
|
481
|
+
);
|
|
482
|
+
#endif
|
|
483
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_I8
|
|
484
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_I8
|
|
485
|
+
int8_t ffi_pubkycore_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
486
|
+
);
|
|
487
|
+
#endif
|
|
488
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_U16
|
|
489
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_U16
|
|
490
|
+
void ffi_pubkycore_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
491
|
+
);
|
|
492
|
+
#endif
|
|
493
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_U16
|
|
494
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_U16
|
|
495
|
+
void ffi_pubkycore_rust_future_cancel_u16(uint64_t handle
|
|
496
|
+
);
|
|
497
|
+
#endif
|
|
498
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_U16
|
|
499
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_U16
|
|
500
|
+
void ffi_pubkycore_rust_future_free_u16(uint64_t handle
|
|
501
|
+
);
|
|
502
|
+
#endif
|
|
503
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_U16
|
|
504
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_U16
|
|
505
|
+
uint16_t ffi_pubkycore_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
506
|
+
);
|
|
507
|
+
#endif
|
|
508
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_I16
|
|
509
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_I16
|
|
510
|
+
void ffi_pubkycore_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
511
|
+
);
|
|
512
|
+
#endif
|
|
513
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_I16
|
|
514
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_I16
|
|
515
|
+
void ffi_pubkycore_rust_future_cancel_i16(uint64_t handle
|
|
516
|
+
);
|
|
517
|
+
#endif
|
|
518
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_I16
|
|
519
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_I16
|
|
520
|
+
void ffi_pubkycore_rust_future_free_i16(uint64_t handle
|
|
521
|
+
);
|
|
522
|
+
#endif
|
|
523
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_I16
|
|
524
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_I16
|
|
525
|
+
int16_t ffi_pubkycore_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
526
|
+
);
|
|
527
|
+
#endif
|
|
528
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_U32
|
|
529
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_U32
|
|
530
|
+
void ffi_pubkycore_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
531
|
+
);
|
|
532
|
+
#endif
|
|
533
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_U32
|
|
534
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_U32
|
|
535
|
+
void ffi_pubkycore_rust_future_cancel_u32(uint64_t handle
|
|
536
|
+
);
|
|
537
|
+
#endif
|
|
538
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_U32
|
|
539
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_U32
|
|
540
|
+
void ffi_pubkycore_rust_future_free_u32(uint64_t handle
|
|
541
|
+
);
|
|
542
|
+
#endif
|
|
543
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_U32
|
|
544
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_U32
|
|
545
|
+
uint32_t ffi_pubkycore_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
546
|
+
);
|
|
547
|
+
#endif
|
|
548
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_I32
|
|
549
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_I32
|
|
550
|
+
void ffi_pubkycore_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
551
|
+
);
|
|
552
|
+
#endif
|
|
553
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_I32
|
|
554
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_I32
|
|
555
|
+
void ffi_pubkycore_rust_future_cancel_i32(uint64_t handle
|
|
556
|
+
);
|
|
557
|
+
#endif
|
|
558
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_I32
|
|
559
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_I32
|
|
560
|
+
void ffi_pubkycore_rust_future_free_i32(uint64_t handle
|
|
561
|
+
);
|
|
562
|
+
#endif
|
|
563
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_I32
|
|
564
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_I32
|
|
565
|
+
int32_t ffi_pubkycore_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
566
|
+
);
|
|
567
|
+
#endif
|
|
568
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_U64
|
|
569
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_U64
|
|
570
|
+
void ffi_pubkycore_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
571
|
+
);
|
|
572
|
+
#endif
|
|
573
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_U64
|
|
574
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_U64
|
|
575
|
+
void ffi_pubkycore_rust_future_cancel_u64(uint64_t handle
|
|
576
|
+
);
|
|
577
|
+
#endif
|
|
578
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_U64
|
|
579
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_U64
|
|
580
|
+
void ffi_pubkycore_rust_future_free_u64(uint64_t handle
|
|
581
|
+
);
|
|
582
|
+
#endif
|
|
583
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_U64
|
|
584
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_U64
|
|
585
|
+
uint64_t ffi_pubkycore_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
586
|
+
);
|
|
587
|
+
#endif
|
|
588
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_I64
|
|
589
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_I64
|
|
590
|
+
void ffi_pubkycore_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
591
|
+
);
|
|
592
|
+
#endif
|
|
593
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_I64
|
|
594
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_I64
|
|
595
|
+
void ffi_pubkycore_rust_future_cancel_i64(uint64_t handle
|
|
596
|
+
);
|
|
597
|
+
#endif
|
|
598
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_I64
|
|
599
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_I64
|
|
600
|
+
void ffi_pubkycore_rust_future_free_i64(uint64_t handle
|
|
601
|
+
);
|
|
602
|
+
#endif
|
|
603
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_I64
|
|
604
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_I64
|
|
605
|
+
int64_t ffi_pubkycore_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
606
|
+
);
|
|
607
|
+
#endif
|
|
608
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_F32
|
|
609
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_F32
|
|
610
|
+
void ffi_pubkycore_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
611
|
+
);
|
|
612
|
+
#endif
|
|
613
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_F32
|
|
614
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_F32
|
|
615
|
+
void ffi_pubkycore_rust_future_cancel_f32(uint64_t handle
|
|
616
|
+
);
|
|
617
|
+
#endif
|
|
618
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_F32
|
|
619
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_F32
|
|
620
|
+
void ffi_pubkycore_rust_future_free_f32(uint64_t handle
|
|
621
|
+
);
|
|
622
|
+
#endif
|
|
623
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_F32
|
|
624
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_F32
|
|
625
|
+
float ffi_pubkycore_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
626
|
+
);
|
|
627
|
+
#endif
|
|
628
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_F64
|
|
629
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_F64
|
|
630
|
+
void ffi_pubkycore_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
631
|
+
);
|
|
632
|
+
#endif
|
|
633
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_F64
|
|
634
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_F64
|
|
635
|
+
void ffi_pubkycore_rust_future_cancel_f64(uint64_t handle
|
|
636
|
+
);
|
|
637
|
+
#endif
|
|
638
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_F64
|
|
639
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_F64
|
|
640
|
+
void ffi_pubkycore_rust_future_free_f64(uint64_t handle
|
|
641
|
+
);
|
|
642
|
+
#endif
|
|
643
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_F64
|
|
644
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_F64
|
|
645
|
+
double ffi_pubkycore_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
646
|
+
);
|
|
647
|
+
#endif
|
|
648
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_POINTER
|
|
649
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_POINTER
|
|
650
|
+
void ffi_pubkycore_rust_future_poll_pointer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
651
|
+
);
|
|
652
|
+
#endif
|
|
653
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_POINTER
|
|
654
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_POINTER
|
|
655
|
+
void ffi_pubkycore_rust_future_cancel_pointer(uint64_t handle
|
|
656
|
+
);
|
|
657
|
+
#endif
|
|
658
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_POINTER
|
|
659
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_POINTER
|
|
660
|
+
void ffi_pubkycore_rust_future_free_pointer(uint64_t handle
|
|
661
|
+
);
|
|
662
|
+
#endif
|
|
663
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_POINTER
|
|
664
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_POINTER
|
|
665
|
+
void*_Nonnull ffi_pubkycore_rust_future_complete_pointer(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
666
|
+
);
|
|
667
|
+
#endif
|
|
668
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_RUST_BUFFER
|
|
669
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_RUST_BUFFER
|
|
670
|
+
void ffi_pubkycore_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
671
|
+
);
|
|
672
|
+
#endif
|
|
673
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_RUST_BUFFER
|
|
674
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_RUST_BUFFER
|
|
675
|
+
void ffi_pubkycore_rust_future_cancel_rust_buffer(uint64_t handle
|
|
676
|
+
);
|
|
677
|
+
#endif
|
|
678
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_RUST_BUFFER
|
|
679
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_RUST_BUFFER
|
|
680
|
+
void ffi_pubkycore_rust_future_free_rust_buffer(uint64_t handle
|
|
681
|
+
);
|
|
682
|
+
#endif
|
|
683
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_RUST_BUFFER
|
|
684
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_RUST_BUFFER
|
|
685
|
+
RustBuffer ffi_pubkycore_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
686
|
+
);
|
|
687
|
+
#endif
|
|
688
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_VOID
|
|
689
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_POLL_VOID
|
|
690
|
+
void ffi_pubkycore_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
691
|
+
);
|
|
692
|
+
#endif
|
|
693
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_VOID
|
|
694
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_CANCEL_VOID
|
|
695
|
+
void ffi_pubkycore_rust_future_cancel_void(uint64_t handle
|
|
696
|
+
);
|
|
697
|
+
#endif
|
|
698
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_VOID
|
|
699
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_FREE_VOID
|
|
700
|
+
void ffi_pubkycore_rust_future_free_void(uint64_t handle
|
|
701
|
+
);
|
|
702
|
+
#endif
|
|
703
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_VOID
|
|
704
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_RUST_FUTURE_COMPLETE_VOID
|
|
705
|
+
void ffi_pubkycore_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
706
|
+
);
|
|
707
|
+
#endif
|
|
708
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_AUTH
|
|
709
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_AUTH
|
|
244
710
|
uint16_t uniffi_pubkycore_checksum_func_auth(void
|
|
245
711
|
|
|
246
712
|
);
|
|
713
|
+
#endif
|
|
714
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_CREATE_RECOVERY_FILE
|
|
715
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_CREATE_RECOVERY_FILE
|
|
247
716
|
uint16_t uniffi_pubkycore_checksum_func_create_recovery_file(void
|
|
248
717
|
|
|
249
718
|
);
|
|
719
|
+
#endif
|
|
720
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_DECRYPT_RECOVERY_FILE
|
|
721
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_DECRYPT_RECOVERY_FILE
|
|
250
722
|
uint16_t uniffi_pubkycore_checksum_func_decrypt_recovery_file(void
|
|
251
723
|
|
|
252
724
|
);
|
|
725
|
+
#endif
|
|
726
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_DELETE_FILE
|
|
727
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_DELETE_FILE
|
|
253
728
|
uint16_t uniffi_pubkycore_checksum_func_delete_file(void
|
|
254
729
|
|
|
255
730
|
);
|
|
731
|
+
#endif
|
|
732
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GENERATE_MNEMONIC_PHRASE
|
|
733
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GENERATE_MNEMONIC_PHRASE
|
|
256
734
|
uint16_t uniffi_pubkycore_checksum_func_generate_mnemonic_phrase(void
|
|
257
735
|
|
|
258
736
|
);
|
|
737
|
+
#endif
|
|
738
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GENERATE_MNEMONIC_PHRASE_AND_KEYPAIR
|
|
739
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GENERATE_MNEMONIC_PHRASE_AND_KEYPAIR
|
|
259
740
|
uint16_t uniffi_pubkycore_checksum_func_generate_mnemonic_phrase_and_keypair(void
|
|
260
741
|
|
|
261
742
|
);
|
|
743
|
+
#endif
|
|
744
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GENERATE_SECRET_KEY
|
|
745
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GENERATE_SECRET_KEY
|
|
262
746
|
uint16_t uniffi_pubkycore_checksum_func_generate_secret_key(void
|
|
263
747
|
|
|
264
748
|
);
|
|
749
|
+
#endif
|
|
750
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GET
|
|
751
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GET
|
|
265
752
|
uint16_t uniffi_pubkycore_checksum_func_get(void
|
|
266
753
|
|
|
267
754
|
);
|
|
755
|
+
#endif
|
|
756
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GET_HOMESERVER
|
|
757
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GET_HOMESERVER
|
|
268
758
|
uint16_t uniffi_pubkycore_checksum_func_get_homeserver(void
|
|
269
759
|
|
|
270
760
|
);
|
|
761
|
+
#endif
|
|
762
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GET_PUBLIC_KEY_FROM_SECRET_KEY
|
|
763
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GET_PUBLIC_KEY_FROM_SECRET_KEY
|
|
271
764
|
uint16_t uniffi_pubkycore_checksum_func_get_public_key_from_secret_key(void
|
|
272
765
|
|
|
273
766
|
);
|
|
767
|
+
#endif
|
|
768
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GET_SIGNUP_TOKEN
|
|
769
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_GET_SIGNUP_TOKEN
|
|
274
770
|
uint16_t uniffi_pubkycore_checksum_func_get_signup_token(void
|
|
275
771
|
|
|
276
772
|
);
|
|
773
|
+
#endif
|
|
774
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_LIST
|
|
775
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_LIST
|
|
277
776
|
uint16_t uniffi_pubkycore_checksum_func_list(void
|
|
278
777
|
|
|
279
778
|
);
|
|
779
|
+
#endif
|
|
780
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_MNEMONIC_PHRASE_TO_KEYPAIR
|
|
781
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_MNEMONIC_PHRASE_TO_KEYPAIR
|
|
280
782
|
uint16_t uniffi_pubkycore_checksum_func_mnemonic_phrase_to_keypair(void
|
|
281
783
|
|
|
282
784
|
);
|
|
785
|
+
#endif
|
|
786
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_PARSE_AUTH_URL
|
|
787
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_PARSE_AUTH_URL
|
|
283
788
|
uint16_t uniffi_pubkycore_checksum_func_parse_auth_url(void
|
|
284
789
|
|
|
285
790
|
);
|
|
791
|
+
#endif
|
|
792
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_PUBLISH
|
|
793
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_PUBLISH
|
|
286
794
|
uint16_t uniffi_pubkycore_checksum_func_publish(void
|
|
287
795
|
|
|
288
796
|
);
|
|
797
|
+
#endif
|
|
798
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_PUBLISH_HTTPS
|
|
799
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_PUBLISH_HTTPS
|
|
289
800
|
uint16_t uniffi_pubkycore_checksum_func_publish_https(void
|
|
290
801
|
|
|
291
802
|
);
|
|
803
|
+
#endif
|
|
804
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_PUT
|
|
805
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_PUT
|
|
292
806
|
uint16_t uniffi_pubkycore_checksum_func_put(void
|
|
293
807
|
|
|
294
808
|
);
|
|
809
|
+
#endif
|
|
810
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_REMOVE_EVENT_LISTENER
|
|
811
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_REMOVE_EVENT_LISTENER
|
|
295
812
|
uint16_t uniffi_pubkycore_checksum_func_remove_event_listener(void
|
|
296
813
|
|
|
297
814
|
);
|
|
815
|
+
#endif
|
|
816
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_REPUBLISH_HOMESERVER
|
|
817
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_REPUBLISH_HOMESERVER
|
|
298
818
|
uint16_t uniffi_pubkycore_checksum_func_republish_homeserver(void
|
|
299
819
|
|
|
300
820
|
);
|
|
821
|
+
#endif
|
|
822
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_RESOLVE
|
|
823
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_RESOLVE
|
|
301
824
|
uint16_t uniffi_pubkycore_checksum_func_resolve(void
|
|
302
825
|
|
|
303
826
|
);
|
|
827
|
+
#endif
|
|
828
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_RESOLVE_HTTPS
|
|
829
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_RESOLVE_HTTPS
|
|
304
830
|
uint16_t uniffi_pubkycore_checksum_func_resolve_https(void
|
|
305
831
|
|
|
306
832
|
);
|
|
307
|
-
|
|
833
|
+
#endif
|
|
834
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_REVALIDATE_SESSION
|
|
835
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_REVALIDATE_SESSION
|
|
836
|
+
uint16_t uniffi_pubkycore_checksum_func_revalidate_session(void
|
|
308
837
|
|
|
309
838
|
);
|
|
839
|
+
#endif
|
|
840
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SET_EVENT_LISTENER
|
|
841
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SET_EVENT_LISTENER
|
|
310
842
|
uint16_t uniffi_pubkycore_checksum_func_set_event_listener(void
|
|
311
843
|
|
|
312
844
|
);
|
|
845
|
+
#endif
|
|
846
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SIGN_IN
|
|
847
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SIGN_IN
|
|
313
848
|
uint16_t uniffi_pubkycore_checksum_func_sign_in(void
|
|
314
849
|
|
|
315
850
|
);
|
|
851
|
+
#endif
|
|
852
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SIGN_OUT
|
|
853
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SIGN_OUT
|
|
316
854
|
uint16_t uniffi_pubkycore_checksum_func_sign_out(void
|
|
317
855
|
|
|
318
856
|
);
|
|
857
|
+
#endif
|
|
858
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SIGN_UP
|
|
859
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SIGN_UP
|
|
319
860
|
uint16_t uniffi_pubkycore_checksum_func_sign_up(void
|
|
320
861
|
|
|
321
862
|
);
|
|
863
|
+
#endif
|
|
864
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SWITCH_NETWORK
|
|
865
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_SWITCH_NETWORK
|
|
322
866
|
uint16_t uniffi_pubkycore_checksum_func_switch_network(void
|
|
323
867
|
|
|
324
868
|
);
|
|
869
|
+
#endif
|
|
870
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_VALIDATE_MNEMONIC_PHRASE
|
|
871
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_FUNC_VALIDATE_MNEMONIC_PHRASE
|
|
325
872
|
uint16_t uniffi_pubkycore_checksum_func_validate_mnemonic_phrase(void
|
|
326
873
|
|
|
327
874
|
);
|
|
875
|
+
#endif
|
|
876
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_METHOD_EVENTLISTENER_ON_EVENT_OCCURRED
|
|
877
|
+
#define UNIFFI_FFIDEF_UNIFFI_PUBKYCORE_CHECKSUM_METHOD_EVENTLISTENER_ON_EVENT_OCCURRED
|
|
328
878
|
uint16_t uniffi_pubkycore_checksum_method_eventlistener_on_event_occurred(void
|
|
329
879
|
|
|
330
880
|
);
|
|
881
|
+
#endif
|
|
882
|
+
#ifndef UNIFFI_FFIDEF_FFI_PUBKYCORE_UNIFFI_CONTRACT_VERSION
|
|
883
|
+
#define UNIFFI_FFIDEF_FFI_PUBKYCORE_UNIFFI_CONTRACT_VERSION
|
|
331
884
|
uint32_t ffi_pubkycore_uniffi_contract_version(void
|
|
332
885
|
|
|
333
886
|
);
|
|
887
|
+
#endif
|
|
334
888
|
|