@rhq/rover 0.1.0 → 0.1.2

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.
@@ -0,0 +1,589 @@
1
+ // This file was autogenerated by some hot garbage in the `uniffi` crate.
2
+ // Trust me, you don't want to mess with it!
3
+
4
+ #pragma once
5
+
6
+ #include <stdbool.h>
7
+ #include <stddef.h>
8
+ #include <stdint.h>
9
+
10
+ // The following structs are used to implement the lowest level
11
+ // of the FFI, and thus useful to multiple uniffied crates.
12
+ // We ensure they are declared exactly once, with a header guard, UNIFFI_SHARED_H.
13
+ #ifdef UNIFFI_SHARED_H
14
+ // We also try to prevent mixing versions of shared uniffi header structs.
15
+ // If you add anything to the #else block, you must increment the version suffix in UNIFFI_SHARED_HEADER_V4
16
+ #ifndef UNIFFI_SHARED_HEADER_V4
17
+ #error Combining helper code from multiple versions of uniffi is not supported
18
+ #endif // ndef UNIFFI_SHARED_HEADER_V4
19
+ #else
20
+ #define UNIFFI_SHARED_H
21
+ #define UNIFFI_SHARED_HEADER_V4
22
+ // ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
23
+ // ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️
24
+
25
+ typedef struct RustBuffer
26
+ {
27
+ uint64_t capacity;
28
+ uint64_t len;
29
+ uint8_t *_Nullable data;
30
+ } RustBuffer;
31
+
32
+ typedef struct ForeignBytes
33
+ {
34
+ int32_t len;
35
+ const uint8_t *_Nullable data;
36
+ } ForeignBytes;
37
+
38
+ // Error definitions
39
+ typedef struct RustCallStatus {
40
+ int8_t code;
41
+ RustBuffer errorBuf;
42
+ } RustCallStatus;
43
+
44
+ // ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
45
+ // ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️
46
+ #endif // def UNIFFI_SHARED_H
47
+ #ifndef UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
48
+ #define UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
49
+ typedef void (*UniffiRustFutureContinuationCallback)(uint64_t, int8_t
50
+ );
51
+
52
+ #endif
53
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK
54
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK
55
+ typedef void (*UniffiForeignFutureDroppedCallback)(uint64_t
56
+ );
57
+
58
+ #endif
59
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
60
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
61
+ typedef void (*UniffiCallbackInterfaceFree)(uint64_t
62
+ );
63
+
64
+ #endif
65
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_CLONE
66
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_CLONE
67
+ typedef uint64_t (*UniffiCallbackInterfaceClone)(uint64_t
68
+ );
69
+
70
+ #endif
71
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK_STRUCT
72
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK_STRUCT
73
+ typedef struct UniffiForeignFutureDroppedCallbackStruct {
74
+ uint64_t handle;
75
+ UniffiForeignFutureDroppedCallback _Nonnull free;
76
+ } UniffiForeignFutureDroppedCallbackStruct;
77
+
78
+ #endif
79
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U8
80
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U8
81
+ typedef struct UniffiForeignFutureResultU8 {
82
+ uint8_t returnValue;
83
+ RustCallStatus callStatus;
84
+ } UniffiForeignFutureResultU8;
85
+
86
+ #endif
87
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
88
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
89
+ typedef void (*UniffiForeignFutureCompleteU8)(uint64_t, UniffiForeignFutureResultU8
90
+ );
91
+
92
+ #endif
93
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I8
94
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I8
95
+ typedef struct UniffiForeignFutureResultI8 {
96
+ int8_t returnValue;
97
+ RustCallStatus callStatus;
98
+ } UniffiForeignFutureResultI8;
99
+
100
+ #endif
101
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
102
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
103
+ typedef void (*UniffiForeignFutureCompleteI8)(uint64_t, UniffiForeignFutureResultI8
104
+ );
105
+
106
+ #endif
107
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U16
108
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U16
109
+ typedef struct UniffiForeignFutureResultU16 {
110
+ uint16_t returnValue;
111
+ RustCallStatus callStatus;
112
+ } UniffiForeignFutureResultU16;
113
+
114
+ #endif
115
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
116
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
117
+ typedef void (*UniffiForeignFutureCompleteU16)(uint64_t, UniffiForeignFutureResultU16
118
+ );
119
+
120
+ #endif
121
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I16
122
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I16
123
+ typedef struct UniffiForeignFutureResultI16 {
124
+ int16_t returnValue;
125
+ RustCallStatus callStatus;
126
+ } UniffiForeignFutureResultI16;
127
+
128
+ #endif
129
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
130
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
131
+ typedef void (*UniffiForeignFutureCompleteI16)(uint64_t, UniffiForeignFutureResultI16
132
+ );
133
+
134
+ #endif
135
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U32
136
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U32
137
+ typedef struct UniffiForeignFutureResultU32 {
138
+ uint32_t returnValue;
139
+ RustCallStatus callStatus;
140
+ } UniffiForeignFutureResultU32;
141
+
142
+ #endif
143
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
144
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
145
+ typedef void (*UniffiForeignFutureCompleteU32)(uint64_t, UniffiForeignFutureResultU32
146
+ );
147
+
148
+ #endif
149
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I32
150
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I32
151
+ typedef struct UniffiForeignFutureResultI32 {
152
+ int32_t returnValue;
153
+ RustCallStatus callStatus;
154
+ } UniffiForeignFutureResultI32;
155
+
156
+ #endif
157
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
158
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
159
+ typedef void (*UniffiForeignFutureCompleteI32)(uint64_t, UniffiForeignFutureResultI32
160
+ );
161
+
162
+ #endif
163
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U64
164
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U64
165
+ typedef struct UniffiForeignFutureResultU64 {
166
+ uint64_t returnValue;
167
+ RustCallStatus callStatus;
168
+ } UniffiForeignFutureResultU64;
169
+
170
+ #endif
171
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
172
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
173
+ typedef void (*UniffiForeignFutureCompleteU64)(uint64_t, UniffiForeignFutureResultU64
174
+ );
175
+
176
+ #endif
177
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I64
178
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I64
179
+ typedef struct UniffiForeignFutureResultI64 {
180
+ int64_t returnValue;
181
+ RustCallStatus callStatus;
182
+ } UniffiForeignFutureResultI64;
183
+
184
+ #endif
185
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
186
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
187
+ typedef void (*UniffiForeignFutureCompleteI64)(uint64_t, UniffiForeignFutureResultI64
188
+ );
189
+
190
+ #endif
191
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F32
192
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F32
193
+ typedef struct UniffiForeignFutureResultF32 {
194
+ float returnValue;
195
+ RustCallStatus callStatus;
196
+ } UniffiForeignFutureResultF32;
197
+
198
+ #endif
199
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
200
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
201
+ typedef void (*UniffiForeignFutureCompleteF32)(uint64_t, UniffiForeignFutureResultF32
202
+ );
203
+
204
+ #endif
205
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F64
206
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F64
207
+ typedef struct UniffiForeignFutureResultF64 {
208
+ double returnValue;
209
+ RustCallStatus callStatus;
210
+ } UniffiForeignFutureResultF64;
211
+
212
+ #endif
213
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
214
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
215
+ typedef void (*UniffiForeignFutureCompleteF64)(uint64_t, UniffiForeignFutureResultF64
216
+ );
217
+
218
+ #endif
219
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_RUST_BUFFER
220
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_RUST_BUFFER
221
+ typedef struct UniffiForeignFutureResultRustBuffer {
222
+ RustBuffer returnValue;
223
+ RustCallStatus callStatus;
224
+ } UniffiForeignFutureResultRustBuffer;
225
+
226
+ #endif
227
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
228
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
229
+ typedef void (*UniffiForeignFutureCompleteRustBuffer)(uint64_t, UniffiForeignFutureResultRustBuffer
230
+ );
231
+
232
+ #endif
233
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_VOID
234
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_VOID
235
+ typedef struct UniffiForeignFutureResultVoid {
236
+ RustCallStatus callStatus;
237
+ } UniffiForeignFutureResultVoid;
238
+
239
+ #endif
240
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
241
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
242
+ typedef void (*UniffiForeignFutureCompleteVoid)(uint64_t, UniffiForeignFutureResultVoid
243
+ );
244
+
245
+ #endif
246
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_CLASSIFY
247
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_CLASSIFY
248
+ RustBuffer uniffi_relay_rover_fn_func_classify(RustBuffer subject, RustBuffer body, RustCallStatus *_Nonnull out_status
249
+ );
250
+ #endif
251
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_CLEAN_EMAIL_BODY
252
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_CLEAN_EMAIL_BODY
253
+ RustBuffer uniffi_relay_rover_fn_func_clean_email_body(RustBuffer body_or_html, RustCallStatus *_Nonnull out_status
254
+ );
255
+ #endif
256
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_GENERATE_PREVIEW
257
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_GENERATE_PREVIEW
258
+ RustBuffer uniffi_relay_rover_fn_func_generate_preview(RustBuffer subject, RustBuffer body, RustCallStatus *_Nonnull out_status
259
+ );
260
+ #endif
261
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_HTML_TO_TEXT
262
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_HTML_TO_TEXT
263
+ RustBuffer uniffi_relay_rover_fn_func_html_to_text(RustBuffer html, RustCallStatus *_Nonnull out_status
264
+ );
265
+ #endif
266
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_PROCESS_BATCH_JSON
267
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_PROCESS_BATCH_JSON
268
+ RustBuffer uniffi_relay_rover_fn_func_process_batch_json(RustBuffer batch_json, RustCallStatus *_Nonnull out_status
269
+ );
270
+ #endif
271
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_PROCESS_EMAIL
272
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_PROCESS_EMAIL
273
+ RustBuffer uniffi_relay_rover_fn_func_process_email(RustBuffer subject, RustBuffer body, RustCallStatus *_Nonnull out_status
274
+ );
275
+ #endif
276
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_PROCESS_EMAIL_JSON
277
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_FN_FUNC_PROCESS_EMAIL_JSON
278
+ RustBuffer uniffi_relay_rover_fn_func_process_email_json(RustBuffer email_json, RustCallStatus *_Nonnull out_status
279
+ );
280
+ #endif
281
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUSTBUFFER_ALLOC
282
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUSTBUFFER_ALLOC
283
+ RustBuffer ffi_relay_rover_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
284
+ );
285
+ #endif
286
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUSTBUFFER_FROM_BYTES
287
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUSTBUFFER_FROM_BYTES
288
+ RustBuffer ffi_relay_rover_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
289
+ );
290
+ #endif
291
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUSTBUFFER_FREE
292
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUSTBUFFER_FREE
293
+ void ffi_relay_rover_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
294
+ );
295
+ #endif
296
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUSTBUFFER_RESERVE
297
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUSTBUFFER_RESERVE
298
+ RustBuffer ffi_relay_rover_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
299
+ );
300
+ #endif
301
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_U8
302
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_U8
303
+ void ffi_relay_rover_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
304
+ );
305
+ #endif
306
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_U8
307
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_U8
308
+ void ffi_relay_rover_rust_future_cancel_u8(uint64_t handle
309
+ );
310
+ #endif
311
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_U8
312
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_U8
313
+ void ffi_relay_rover_rust_future_free_u8(uint64_t handle
314
+ );
315
+ #endif
316
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_U8
317
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_U8
318
+ uint8_t ffi_relay_rover_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
319
+ );
320
+ #endif
321
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_I8
322
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_I8
323
+ void ffi_relay_rover_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
324
+ );
325
+ #endif
326
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_I8
327
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_I8
328
+ void ffi_relay_rover_rust_future_cancel_i8(uint64_t handle
329
+ );
330
+ #endif
331
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_I8
332
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_I8
333
+ void ffi_relay_rover_rust_future_free_i8(uint64_t handle
334
+ );
335
+ #endif
336
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_I8
337
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_I8
338
+ int8_t ffi_relay_rover_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
339
+ );
340
+ #endif
341
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_U16
342
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_U16
343
+ void ffi_relay_rover_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
344
+ );
345
+ #endif
346
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_U16
347
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_U16
348
+ void ffi_relay_rover_rust_future_cancel_u16(uint64_t handle
349
+ );
350
+ #endif
351
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_U16
352
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_U16
353
+ void ffi_relay_rover_rust_future_free_u16(uint64_t handle
354
+ );
355
+ #endif
356
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_U16
357
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_U16
358
+ uint16_t ffi_relay_rover_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
359
+ );
360
+ #endif
361
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_I16
362
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_I16
363
+ void ffi_relay_rover_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
364
+ );
365
+ #endif
366
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_I16
367
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_I16
368
+ void ffi_relay_rover_rust_future_cancel_i16(uint64_t handle
369
+ );
370
+ #endif
371
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_I16
372
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_I16
373
+ void ffi_relay_rover_rust_future_free_i16(uint64_t handle
374
+ );
375
+ #endif
376
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_I16
377
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_I16
378
+ int16_t ffi_relay_rover_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
379
+ );
380
+ #endif
381
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_U32
382
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_U32
383
+ void ffi_relay_rover_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
384
+ );
385
+ #endif
386
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_U32
387
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_U32
388
+ void ffi_relay_rover_rust_future_cancel_u32(uint64_t handle
389
+ );
390
+ #endif
391
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_U32
392
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_U32
393
+ void ffi_relay_rover_rust_future_free_u32(uint64_t handle
394
+ );
395
+ #endif
396
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_U32
397
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_U32
398
+ uint32_t ffi_relay_rover_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
399
+ );
400
+ #endif
401
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_I32
402
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_I32
403
+ void ffi_relay_rover_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
404
+ );
405
+ #endif
406
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_I32
407
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_I32
408
+ void ffi_relay_rover_rust_future_cancel_i32(uint64_t handle
409
+ );
410
+ #endif
411
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_I32
412
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_I32
413
+ void ffi_relay_rover_rust_future_free_i32(uint64_t handle
414
+ );
415
+ #endif
416
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_I32
417
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_I32
418
+ int32_t ffi_relay_rover_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
419
+ );
420
+ #endif
421
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_U64
422
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_U64
423
+ void ffi_relay_rover_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
424
+ );
425
+ #endif
426
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_U64
427
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_U64
428
+ void ffi_relay_rover_rust_future_cancel_u64(uint64_t handle
429
+ );
430
+ #endif
431
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_U64
432
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_U64
433
+ void ffi_relay_rover_rust_future_free_u64(uint64_t handle
434
+ );
435
+ #endif
436
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_U64
437
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_U64
438
+ uint64_t ffi_relay_rover_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
439
+ );
440
+ #endif
441
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_I64
442
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_I64
443
+ void ffi_relay_rover_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
444
+ );
445
+ #endif
446
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_I64
447
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_I64
448
+ void ffi_relay_rover_rust_future_cancel_i64(uint64_t handle
449
+ );
450
+ #endif
451
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_I64
452
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_I64
453
+ void ffi_relay_rover_rust_future_free_i64(uint64_t handle
454
+ );
455
+ #endif
456
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_I64
457
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_I64
458
+ int64_t ffi_relay_rover_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
459
+ );
460
+ #endif
461
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_F32
462
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_F32
463
+ void ffi_relay_rover_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
464
+ );
465
+ #endif
466
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_F32
467
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_F32
468
+ void ffi_relay_rover_rust_future_cancel_f32(uint64_t handle
469
+ );
470
+ #endif
471
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_F32
472
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_F32
473
+ void ffi_relay_rover_rust_future_free_f32(uint64_t handle
474
+ );
475
+ #endif
476
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_F32
477
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_F32
478
+ float ffi_relay_rover_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
479
+ );
480
+ #endif
481
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_F64
482
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_F64
483
+ void ffi_relay_rover_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
484
+ );
485
+ #endif
486
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_F64
487
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_F64
488
+ void ffi_relay_rover_rust_future_cancel_f64(uint64_t handle
489
+ );
490
+ #endif
491
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_F64
492
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_F64
493
+ void ffi_relay_rover_rust_future_free_f64(uint64_t handle
494
+ );
495
+ #endif
496
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_F64
497
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_F64
498
+ double ffi_relay_rover_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
499
+ );
500
+ #endif
501
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_RUST_BUFFER
502
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_RUST_BUFFER
503
+ void ffi_relay_rover_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
504
+ );
505
+ #endif
506
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_RUST_BUFFER
507
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_RUST_BUFFER
508
+ void ffi_relay_rover_rust_future_cancel_rust_buffer(uint64_t handle
509
+ );
510
+ #endif
511
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_RUST_BUFFER
512
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_RUST_BUFFER
513
+ void ffi_relay_rover_rust_future_free_rust_buffer(uint64_t handle
514
+ );
515
+ #endif
516
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_RUST_BUFFER
517
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_RUST_BUFFER
518
+ RustBuffer ffi_relay_rover_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
519
+ );
520
+ #endif
521
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_VOID
522
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_POLL_VOID
523
+ void ffi_relay_rover_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
524
+ );
525
+ #endif
526
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_VOID
527
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_CANCEL_VOID
528
+ void ffi_relay_rover_rust_future_cancel_void(uint64_t handle
529
+ );
530
+ #endif
531
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_VOID
532
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_FREE_VOID
533
+ void ffi_relay_rover_rust_future_free_void(uint64_t handle
534
+ );
535
+ #endif
536
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_VOID
537
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_RUST_FUTURE_COMPLETE_VOID
538
+ void ffi_relay_rover_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
539
+ );
540
+ #endif
541
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_CLASSIFY
542
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_CLASSIFY
543
+ uint16_t uniffi_relay_rover_checksum_func_classify(void
544
+
545
+ );
546
+ #endif
547
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_CLEAN_EMAIL_BODY
548
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_CLEAN_EMAIL_BODY
549
+ uint16_t uniffi_relay_rover_checksum_func_clean_email_body(void
550
+
551
+ );
552
+ #endif
553
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_GENERATE_PREVIEW
554
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_GENERATE_PREVIEW
555
+ uint16_t uniffi_relay_rover_checksum_func_generate_preview(void
556
+
557
+ );
558
+ #endif
559
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_HTML_TO_TEXT
560
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_HTML_TO_TEXT
561
+ uint16_t uniffi_relay_rover_checksum_func_html_to_text(void
562
+
563
+ );
564
+ #endif
565
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_PROCESS_BATCH_JSON
566
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_PROCESS_BATCH_JSON
567
+ uint16_t uniffi_relay_rover_checksum_func_process_batch_json(void
568
+
569
+ );
570
+ #endif
571
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_PROCESS_EMAIL
572
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_PROCESS_EMAIL
573
+ uint16_t uniffi_relay_rover_checksum_func_process_email(void
574
+
575
+ );
576
+ #endif
577
+ #ifndef UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_PROCESS_EMAIL_JSON
578
+ #define UNIFFI_FFIDEF_UNIFFI_RELAY_ROVER_CHECKSUM_FUNC_PROCESS_EMAIL_JSON
579
+ uint16_t uniffi_relay_rover_checksum_func_process_email_json(void
580
+
581
+ );
582
+ #endif
583
+ #ifndef UNIFFI_FFIDEF_FFI_RELAY_ROVER_UNIFFI_CONTRACT_VERSION
584
+ #define UNIFFI_FFIDEF_FFI_RELAY_ROVER_UNIFFI_CONTRACT_VERSION
585
+ uint32_t ffi_relay_rover_uniffi_contract_version(void
586
+
587
+ );
588
+ #endif
589
+
@@ -0,0 +1,7 @@
1
+ module relay_roverFFI {
2
+ header "relay_roverFFI.h"
3
+ export *
4
+ use "Darwin"
5
+ use "_Builtin_stdbool"
6
+ use "_Builtin_stdint"
7
+ }
package/package.json CHANGED
@@ -1,21 +1,45 @@
1
1
  {
2
2
  "name": "@rhq/rover",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "High-performance React Native and JavaScript bindings for Relay Rover Email Intelligence Engine",
5
5
  "main": "./index.js",
6
+ "react-native": "./index.native.js",
6
7
  "exports": {
7
- ".": "./index.js"
8
+ "./package.json": "./package.json",
9
+ ".": {
10
+ "types": "./index.d.ts",
11
+ "react-native": "./index.native.js",
12
+ "import": "./index.js",
13
+ "default": "./index.js"
14
+ }
8
15
  },
9
16
  "types": "./index.d.ts",
10
17
  "type": "module",
11
18
  "files": [
12
19
  "index.js",
20
+ "index.native.js",
13
21
  "index.d.ts",
14
22
  "eng/relay_rover.wasm",
15
- "README.md"
23
+ "expo-module.config.json",
24
+ "Rover.podspec",
25
+ "android",
26
+ "!android/.gradle",
27
+ "!android/build",
28
+ "!android/.cxx",
29
+ "ios",
30
+ "!ios/Pods",
31
+ "!ios/build",
32
+ "!ios/DerivedData",
33
+ "cpp",
34
+ "README.md",
35
+ "LICENSE"
16
36
  ],
17
37
  "keywords": [
18
38
  "react-native",
39
+ "expo",
40
+ "hermes",
41
+ "jsi",
42
+ "uniffi",
19
43
  "relay-rover",
20
44
  "email-intelligence",
21
45
  "rust",