forked from getAlby/ldk-node-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathldk_node.h
More file actions
2888 lines (2626 loc) · 128 KB
/
ldk_node.h
File metadata and controls
2888 lines (2626 loc) · 128 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// This file was autogenerated by some hot garbage in the `uniffi` crate.
// Trust me, you don't want to mess with it!
#include <stdbool.h>
#include <stdint.h>
// The following structs are used to implement the lowest level
// of the FFI, and thus useful to multiple uniffied crates.
// We ensure they are declared exactly once, with a header guard, UNIFFI_SHARED_H.
#ifdef UNIFFI_SHARED_H
// We also try to prevent mixing versions of shared uniffi header structs.
// If you add anything to the #else block, you must increment the version suffix in UNIFFI_SHARED_HEADER_V6
#ifndef UNIFFI_SHARED_HEADER_V6
#error Combining helper code from multiple versions of uniffi is not supported
#endif // ndef UNIFFI_SHARED_HEADER_V6
#else
#define UNIFFI_SHARED_H
#define UNIFFI_SHARED_HEADER_V6
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V6 in this file. ⚠️
typedef struct RustBuffer {
uint64_t capacity;
uint64_t len;
uint8_t *data;
} RustBuffer;
typedef struct ForeignBytes {
int32_t len;
const uint8_t *data;
} ForeignBytes;
// Error definitions
typedef struct RustCallStatus {
int8_t code;
RustBuffer errorBuf;
} RustCallStatus;
#endif // UNIFFI_SHARED_H
#ifndef UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
#define UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
typedef void (*UniffiRustFutureContinuationCallback)(uint64_t data, int8_t poll_result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiRustFutureContinuationCallback(
UniffiRustFutureContinuationCallback cb, uint64_t data, int8_t poll_result)
{
return cb(data, poll_result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_FREE
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_FREE
typedef void (*UniffiForeignFutureFree)(uint64_t handle);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureFree(
UniffiForeignFutureFree cb, uint64_t handle)
{
return cb(handle);
}
#endif
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
typedef void (*UniffiCallbackInterfaceFree)(uint64_t handle);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiCallbackInterfaceFree(
UniffiCallbackInterfaceFree cb, uint64_t handle)
{
return cb(handle);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE
#define UNIFFI_FFIDEF_FOREIGN_FUTURE
typedef struct UniffiForeignFuture {
uint64_t handle;
UniffiForeignFutureFree free;
} UniffiForeignFuture;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U8
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U8
typedef struct UniffiForeignFutureStructU8 {
uint8_t returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructU8;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
typedef void (*UniffiForeignFutureCompleteU8)(uint64_t callback_data, UniffiForeignFutureStructU8 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteU8(
UniffiForeignFutureCompleteU8 cb, uint64_t callback_data, UniffiForeignFutureStructU8 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I8
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I8
typedef struct UniffiForeignFutureStructI8 {
int8_t returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructI8;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
typedef void (*UniffiForeignFutureCompleteI8)(uint64_t callback_data, UniffiForeignFutureStructI8 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteI8(
UniffiForeignFutureCompleteI8 cb, uint64_t callback_data, UniffiForeignFutureStructI8 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U16
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U16
typedef struct UniffiForeignFutureStructU16 {
uint16_t returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructU16;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
typedef void (*UniffiForeignFutureCompleteU16)(uint64_t callback_data, UniffiForeignFutureStructU16 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteU16(
UniffiForeignFutureCompleteU16 cb, uint64_t callback_data, UniffiForeignFutureStructU16 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I16
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I16
typedef struct UniffiForeignFutureStructI16 {
int16_t returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructI16;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
typedef void (*UniffiForeignFutureCompleteI16)(uint64_t callback_data, UniffiForeignFutureStructI16 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteI16(
UniffiForeignFutureCompleteI16 cb, uint64_t callback_data, UniffiForeignFutureStructI16 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U32
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U32
typedef struct UniffiForeignFutureStructU32 {
uint32_t returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructU32;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
typedef void (*UniffiForeignFutureCompleteU32)(uint64_t callback_data, UniffiForeignFutureStructU32 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteU32(
UniffiForeignFutureCompleteU32 cb, uint64_t callback_data, UniffiForeignFutureStructU32 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I32
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I32
typedef struct UniffiForeignFutureStructI32 {
int32_t returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructI32;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
typedef void (*UniffiForeignFutureCompleteI32)(uint64_t callback_data, UniffiForeignFutureStructI32 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteI32(
UniffiForeignFutureCompleteI32 cb, uint64_t callback_data, UniffiForeignFutureStructI32 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U64
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U64
typedef struct UniffiForeignFutureStructU64 {
uint64_t returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructU64;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
typedef void (*UniffiForeignFutureCompleteU64)(uint64_t callback_data, UniffiForeignFutureStructU64 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteU64(
UniffiForeignFutureCompleteU64 cb, uint64_t callback_data, UniffiForeignFutureStructU64 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I64
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I64
typedef struct UniffiForeignFutureStructI64 {
int64_t returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructI64;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
typedef void (*UniffiForeignFutureCompleteI64)(uint64_t callback_data, UniffiForeignFutureStructI64 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteI64(
UniffiForeignFutureCompleteI64 cb, uint64_t callback_data, UniffiForeignFutureStructI64 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F32
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F32
typedef struct UniffiForeignFutureStructF32 {
float returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructF32;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
typedef void (*UniffiForeignFutureCompleteF32)(uint64_t callback_data, UniffiForeignFutureStructF32 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteF32(
UniffiForeignFutureCompleteF32 cb, uint64_t callback_data, UniffiForeignFutureStructF32 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F64
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F64
typedef struct UniffiForeignFutureStructF64 {
double returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructF64;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
typedef void (*UniffiForeignFutureCompleteF64)(uint64_t callback_data, UniffiForeignFutureStructF64 result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteF64(
UniffiForeignFutureCompleteF64 cb, uint64_t callback_data, UniffiForeignFutureStructF64 result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_POINTER
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_POINTER
typedef struct UniffiForeignFutureStructPointer {
void* returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructPointer;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_POINTER
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_POINTER
typedef void (*UniffiForeignFutureCompletePointer)(uint64_t callback_data, UniffiForeignFutureStructPointer result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompletePointer(
UniffiForeignFutureCompletePointer cb, uint64_t callback_data, UniffiForeignFutureStructPointer result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_RUST_BUFFER
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_RUST_BUFFER
typedef struct UniffiForeignFutureStructRustBuffer {
RustBuffer returnValue;
RustCallStatus callStatus;
} UniffiForeignFutureStructRustBuffer;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
typedef void (*UniffiForeignFutureCompleteRustBuffer)(uint64_t callback_data, UniffiForeignFutureStructRustBuffer result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteRustBuffer(
UniffiForeignFutureCompleteRustBuffer cb, uint64_t callback_data, UniffiForeignFutureStructRustBuffer result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_VOID
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_VOID
typedef struct UniffiForeignFutureStructVoid {
RustCallStatus callStatus;
} UniffiForeignFutureStructVoid;
#endif
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
typedef void (*UniffiForeignFutureCompleteVoid)(uint64_t callback_data, UniffiForeignFutureStructVoid result);
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiForeignFutureCompleteVoid(
UniffiForeignFutureCompleteVoid cb, uint64_t callback_data, UniffiForeignFutureStructVoid result)
{
return cb(callback_data, result);
}
#endif
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_LOG_WRITER_METHOD0
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_LOG_WRITER_METHOD0
typedef void (*UniffiCallbackInterfaceLogWriterMethod0)(uint64_t uniffi_handle, RustBuffer record, void* uniffi_out_return, RustCallStatus* callStatus );
// Making function static works arround:
// https://github.com/golang/go/issues/11263
static void call_UniffiCallbackInterfaceLogWriterMethod0(
UniffiCallbackInterfaceLogWriterMethod0 cb, uint64_t uniffi_handle, RustBuffer record, void* uniffi_out_return, RustCallStatus* callStatus )
{
return cb(uniffi_handle, record, uniffi_out_return, callStatus );
}
#endif
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_LOG_WRITER
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_LOG_WRITER
typedef struct UniffiVTableCallbackInterfaceLogWriter {
UniffiCallbackInterfaceLogWriterMethod0 log;
UniffiCallbackInterfaceFree uniffiFree;
} UniffiVTableCallbackInterfaceLogWriter;
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BOLT11INVOICE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BOLT11INVOICE
void* uniffi_ldk_node_fn_clone_bolt11invoice(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BOLT11INVOICE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BOLT11INVOICE
void uniffi_ldk_node_fn_free_bolt11invoice(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_BOLT11INVOICE_FROM_STR
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_BOLT11INVOICE_FROM_STR
void* uniffi_ldk_node_fn_constructor_bolt11invoice_from_str(RustBuffer invoice_str, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_AMOUNT_MILLI_SATOSHIS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_AMOUNT_MILLI_SATOSHIS
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_amount_milli_satoshis(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_CURRENCY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_CURRENCY
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_currency(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_EXPIRY_TIME_SECONDS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_EXPIRY_TIME_SECONDS
uint64_t uniffi_ldk_node_fn_method_bolt11invoice_expiry_time_seconds(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_FALLBACK_ADDRESSES
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_FALLBACK_ADDRESSES
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_fallback_addresses(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_INVOICE_DESCRIPTION
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_INVOICE_DESCRIPTION
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_invoice_description(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_IS_EXPIRED
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_IS_EXPIRED
int8_t uniffi_ldk_node_fn_method_bolt11invoice_is_expired(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_MIN_FINAL_CLTV_EXPIRY_DELTA
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_MIN_FINAL_CLTV_EXPIRY_DELTA
uint64_t uniffi_ldk_node_fn_method_bolt11invoice_min_final_cltv_expiry_delta(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_NETWORK
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_NETWORK
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_network(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_PAYMENT_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_PAYMENT_HASH
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_payment_hash(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_PAYMENT_SECRET
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_PAYMENT_SECRET
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_payment_secret(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_RECOVER_PAYEE_PUB_KEY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_RECOVER_PAYEE_PUB_KEY
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_recover_payee_pub_key(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_ROUTE_HINTS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_ROUTE_HINTS
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_route_hints(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_SECONDS_SINCE_EPOCH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_SECONDS_SINCE_EPOCH
uint64_t uniffi_ldk_node_fn_method_bolt11invoice_seconds_since_epoch(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_SECONDS_UNTIL_EXPIRY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_SECONDS_UNTIL_EXPIRY
uint64_t uniffi_ldk_node_fn_method_bolt11invoice_seconds_until_expiry(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_SIGNABLE_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_SIGNABLE_HASH
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_signable_hash(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_WOULD_EXPIRE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_WOULD_EXPIRE
int8_t uniffi_ldk_node_fn_method_bolt11invoice_would_expire(void* ptr, uint64_t at_time_seconds, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_UNIFFI_TRAIT_DEBUG
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_UNIFFI_TRAIT_DEBUG
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_debug(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_UNIFFI_TRAIT_DISPLAY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_UNIFFI_TRAIT_DISPLAY
RustBuffer uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_display(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_UNIFFI_TRAIT_EQ_EQ
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_UNIFFI_TRAIT_EQ_EQ
int8_t uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_eq_eq(void* ptr, void* other, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_UNIFFI_TRAIT_EQ_NE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11INVOICE_UNIFFI_TRAIT_EQ_NE
int8_t uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_eq_ne(void* ptr, void* other, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BOLT11PAYMENT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BOLT11PAYMENT
void* uniffi_ldk_node_fn_clone_bolt11payment(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BOLT11PAYMENT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BOLT11PAYMENT
void uniffi_ldk_node_fn_free_bolt11payment(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_CLAIM_FOR_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_CLAIM_FOR_HASH
void uniffi_ldk_node_fn_method_bolt11payment_claim_for_hash(void* ptr, RustBuffer payment_hash, uint64_t claimable_amount_msat, RustBuffer preimage, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_FAIL_FOR_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_FAIL_FOR_HASH
void uniffi_ldk_node_fn_method_bolt11payment_fail_for_hash(void* ptr, RustBuffer payment_hash, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE
void* uniffi_ldk_node_fn_method_bolt11payment_receive(void* ptr, uint64_t amount_msat, RustBuffer description, uint32_t expiry_secs, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_FOR_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_FOR_HASH
void* uniffi_ldk_node_fn_method_bolt11payment_receive_for_hash(void* ptr, uint64_t amount_msat, RustBuffer description, uint32_t expiry_secs, RustBuffer payment_hash, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VARIABLE_AMOUNT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VARIABLE_AMOUNT
void* uniffi_ldk_node_fn_method_bolt11payment_receive_variable_amount(void* ptr, RustBuffer description, uint32_t expiry_secs, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VARIABLE_AMOUNT_FOR_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VARIABLE_AMOUNT_FOR_HASH
void* uniffi_ldk_node_fn_method_bolt11payment_receive_variable_amount_for_hash(void* ptr, RustBuffer description, uint32_t expiry_secs, RustBuffer payment_hash, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VARIABLE_AMOUNT_VIA_JIT_CHANNEL
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VARIABLE_AMOUNT_VIA_JIT_CHANNEL
void* uniffi_ldk_node_fn_method_bolt11payment_receive_variable_amount_via_jit_channel(void* ptr, RustBuffer description, uint32_t expiry_secs, RustBuffer max_proportional_lsp_fee_limit_ppm_msat, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VARIABLE_AMOUNT_VIA_JIT_CHANNEL_FOR_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VARIABLE_AMOUNT_VIA_JIT_CHANNEL_FOR_HASH
void* uniffi_ldk_node_fn_method_bolt11payment_receive_variable_amount_via_jit_channel_for_hash(void* ptr, RustBuffer description, uint32_t expiry_secs, RustBuffer max_proportional_lsp_fee_limit_ppm_msat, RustBuffer payment_hash, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VIA_JIT_CHANNEL
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VIA_JIT_CHANNEL
void* uniffi_ldk_node_fn_method_bolt11payment_receive_via_jit_channel(void* ptr, uint64_t amount_msat, RustBuffer description, uint32_t expiry_secs, RustBuffer max_lsp_fee_limit_msat, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VIA_JIT_CHANNEL_FOR_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_RECEIVE_VIA_JIT_CHANNEL_FOR_HASH
void* uniffi_ldk_node_fn_method_bolt11payment_receive_via_jit_channel_for_hash(void* ptr, uint64_t amount_msat, RustBuffer description, uint32_t expiry_secs, RustBuffer max_lsp_fee_limit_msat, RustBuffer payment_hash, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_SEND
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_SEND
RustBuffer uniffi_ldk_node_fn_method_bolt11payment_send(void* ptr, void* invoice, RustBuffer route_parameters, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_SEND_PROBES
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_SEND_PROBES
void uniffi_ldk_node_fn_method_bolt11payment_send_probes(void* ptr, void* invoice, RustBuffer route_parameters, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_SEND_PROBES_USING_AMOUNT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_SEND_PROBES_USING_AMOUNT
void uniffi_ldk_node_fn_method_bolt11payment_send_probes_using_amount(void* ptr, void* invoice, uint64_t amount_msat, RustBuffer route_parameters, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_SEND_USING_AMOUNT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT11PAYMENT_SEND_USING_AMOUNT
RustBuffer uniffi_ldk_node_fn_method_bolt11payment_send_using_amount(void* ptr, void* invoice, uint64_t amount_msat, RustBuffer route_parameters, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BOLT12INVOICE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BOLT12INVOICE
void* uniffi_ldk_node_fn_clone_bolt12invoice(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BOLT12INVOICE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BOLT12INVOICE
void uniffi_ldk_node_fn_free_bolt12invoice(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_BOLT12INVOICE_FROM_STR
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_BOLT12INVOICE_FROM_STR
void* uniffi_ldk_node_fn_constructor_bolt12invoice_from_str(RustBuffer invoice_str, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_ABSOLUTE_EXPIRY_SECONDS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_ABSOLUTE_EXPIRY_SECONDS
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_absolute_expiry_seconds(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_AMOUNT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_AMOUNT
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_amount(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_AMOUNT_MSATS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_AMOUNT_MSATS
uint64_t uniffi_ldk_node_fn_method_bolt12invoice_amount_msats(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_CHAIN
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_CHAIN
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_chain(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_CREATED_AT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_CREATED_AT
uint64_t uniffi_ldk_node_fn_method_bolt12invoice_created_at(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_ENCODE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_ENCODE
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_encode(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_FALLBACK_ADDRESSES
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_FALLBACK_ADDRESSES
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_fallback_addresses(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_INVOICE_DESCRIPTION
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_INVOICE_DESCRIPTION
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_invoice_description(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_IS_EXPIRED
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_IS_EXPIRED
int8_t uniffi_ldk_node_fn_method_bolt12invoice_is_expired(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_ISSUER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_ISSUER
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_issuer(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_ISSUER_SIGNING_PUBKEY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_ISSUER_SIGNING_PUBKEY
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_issuer_signing_pubkey(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_METADATA
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_METADATA
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_metadata(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_OFFER_CHAINS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_OFFER_CHAINS
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_offer_chains(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_PAYER_NOTE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_PAYER_NOTE
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_payer_note(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_PAYER_SIGNING_PUBKEY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_PAYER_SIGNING_PUBKEY
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_payer_signing_pubkey(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_PAYMENT_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_PAYMENT_HASH
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_payment_hash(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_QUANTITY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_QUANTITY
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_quantity(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_RELATIVE_EXPIRY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_RELATIVE_EXPIRY
uint64_t uniffi_ldk_node_fn_method_bolt12invoice_relative_expiry(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_SIGNABLE_HASH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_SIGNABLE_HASH
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_signable_hash(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_SIGNING_PUBKEY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12INVOICE_SIGNING_PUBKEY
RustBuffer uniffi_ldk_node_fn_method_bolt12invoice_signing_pubkey(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BOLT12PAYMENT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BOLT12PAYMENT
void* uniffi_ldk_node_fn_clone_bolt12payment(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BOLT12PAYMENT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BOLT12PAYMENT
void uniffi_ldk_node_fn_free_bolt12payment(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_BLINDED_PATHS_FOR_ASYNC_RECIPIENT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_BLINDED_PATHS_FOR_ASYNC_RECIPIENT
RustBuffer uniffi_ldk_node_fn_method_bolt12payment_blinded_paths_for_async_recipient(void* ptr, RustBuffer recipient_id, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_INITIATE_REFUND
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_INITIATE_REFUND
void* uniffi_ldk_node_fn_method_bolt12payment_initiate_refund(void* ptr, uint64_t amount_msat, uint32_t expiry_secs, RustBuffer quantity, RustBuffer payer_note, RustBuffer route_parameters, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_RECEIVE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_RECEIVE
void* uniffi_ldk_node_fn_method_bolt12payment_receive(void* ptr, uint64_t amount_msat, RustBuffer description, RustBuffer expiry_secs, RustBuffer quantity, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_RECEIVE_ASYNC
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_RECEIVE_ASYNC
void* uniffi_ldk_node_fn_method_bolt12payment_receive_async(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_RECEIVE_VARIABLE_AMOUNT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_RECEIVE_VARIABLE_AMOUNT
void* uniffi_ldk_node_fn_method_bolt12payment_receive_variable_amount(void* ptr, RustBuffer description, RustBuffer expiry_secs, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_REQUEST_REFUND_PAYMENT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_REQUEST_REFUND_PAYMENT
void* uniffi_ldk_node_fn_method_bolt12payment_request_refund_payment(void* ptr, void* refund, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_SEND
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_SEND
RustBuffer uniffi_ldk_node_fn_method_bolt12payment_send(void* ptr, void* offer, RustBuffer quantity, RustBuffer payer_note, RustBuffer route_parameters, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_SEND_USING_AMOUNT
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_SEND_USING_AMOUNT
RustBuffer uniffi_ldk_node_fn_method_bolt12payment_send_using_amount(void* ptr, void* offer, uint64_t amount_msat, RustBuffer quantity, RustBuffer payer_note, RustBuffer route_parameters, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_SET_PATHS_TO_STATIC_INVOICE_SERVER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BOLT12PAYMENT_SET_PATHS_TO_STATIC_INVOICE_SERVER
void uniffi_ldk_node_fn_method_bolt12payment_set_paths_to_static_invoice_server(void* ptr, RustBuffer paths, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BUILDER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_BUILDER
void* uniffi_ldk_node_fn_clone_builder(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BUILDER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_BUILDER
void uniffi_ldk_node_fn_free_builder(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_BUILDER_FROM_CONFIG
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_BUILDER_FROM_CONFIG
void* uniffi_ldk_node_fn_constructor_builder_from_config(RustBuffer config, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_BUILDER_NEW
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_BUILDER_NEW
void* uniffi_ldk_node_fn_constructor_builder_new(RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_BUILD
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_BUILD
void* uniffi_ldk_node_fn_method_builder_build(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_BUILD_WITH_FS_STORE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_BUILD_WITH_FS_STORE
void* uniffi_ldk_node_fn_method_builder_build_with_fs_store(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_BUILD_WITH_VSS_STORE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_BUILD_WITH_VSS_STORE
void* uniffi_ldk_node_fn_method_builder_build_with_vss_store(void* ptr, RustBuffer vss_url, RustBuffer store_id, RustBuffer lnurl_auth_server_url, RustBuffer fixed_headers, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_BUILD_WITH_VSS_STORE_AND_FIXED_HEADERS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_BUILD_WITH_VSS_STORE_AND_FIXED_HEADERS
void* uniffi_ldk_node_fn_method_builder_build_with_vss_store_and_fixed_headers(void* ptr, RustBuffer vss_url, RustBuffer store_id, RustBuffer fixed_headers, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_MIGRATE_STORAGE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_MIGRATE_STORAGE
void uniffi_ldk_node_fn_method_builder_migrate_storage(void* ptr, RustBuffer what, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_RESET_STATE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_RESET_STATE
void uniffi_ldk_node_fn_method_builder_reset_state(void* ptr, RustBuffer what, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_RESTORE_ENCODED_CHANNEL_MONITORS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_RESTORE_ENCODED_CHANNEL_MONITORS
void uniffi_ldk_node_fn_method_builder_restore_encoded_channel_monitors(void* ptr, RustBuffer monitors, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ANNOUNCEMENT_ADDRESSES
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ANNOUNCEMENT_ADDRESSES
void uniffi_ldk_node_fn_method_builder_set_announcement_addresses(void* ptr, RustBuffer announcement_addresses, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ASYNC_PAYMENTS_ROLE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ASYNC_PAYMENTS_ROLE
void uniffi_ldk_node_fn_method_builder_set_async_payments_role(void* ptr, RustBuffer role, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CHAIN_SOURCE_BITCOIND_REST
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CHAIN_SOURCE_BITCOIND_REST
void uniffi_ldk_node_fn_method_builder_set_chain_source_bitcoind_rest(void* ptr, RustBuffer rest_host, uint16_t rest_port, RustBuffer rpc_host, uint16_t rpc_port, RustBuffer rpc_user, RustBuffer rpc_password, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CHAIN_SOURCE_BITCOIND_RPC
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CHAIN_SOURCE_BITCOIND_RPC
void uniffi_ldk_node_fn_method_builder_set_chain_source_bitcoind_rpc(void* ptr, RustBuffer rpc_host, uint16_t rpc_port, RustBuffer rpc_user, RustBuffer rpc_password, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CHAIN_SOURCE_ELECTRUM
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CHAIN_SOURCE_ELECTRUM
void uniffi_ldk_node_fn_method_builder_set_chain_source_electrum(void* ptr, RustBuffer server_url, RustBuffer config, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CHAIN_SOURCE_ESPLORA
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CHAIN_SOURCE_ESPLORA
void uniffi_ldk_node_fn_method_builder_set_chain_source_esplora(void* ptr, RustBuffer server_url, RustBuffer config, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CUSTOM_LOGGER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_CUSTOM_LOGGER
void uniffi_ldk_node_fn_method_builder_set_custom_logger(void* ptr, void* log_writer, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ENTROPY_BIP39_MNEMONIC
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ENTROPY_BIP39_MNEMONIC
void uniffi_ldk_node_fn_method_builder_set_entropy_bip39_mnemonic(void* ptr, RustBuffer mnemonic, RustBuffer passphrase, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ENTROPY_SEED_BYTES
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ENTROPY_SEED_BYTES
void uniffi_ldk_node_fn_method_builder_set_entropy_seed_bytes(void* ptr, RustBuffer seed_bytes, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ENTROPY_SEED_PATH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_ENTROPY_SEED_PATH
void uniffi_ldk_node_fn_method_builder_set_entropy_seed_path(void* ptr, RustBuffer seed_path, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_FILESYSTEM_LOGGER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_FILESYSTEM_LOGGER
void uniffi_ldk_node_fn_method_builder_set_filesystem_logger(void* ptr, RustBuffer log_file_path, RustBuffer max_log_level, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_GOSSIP_SOURCE_P2P
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_GOSSIP_SOURCE_P2P
void uniffi_ldk_node_fn_method_builder_set_gossip_source_p2p(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_GOSSIP_SOURCE_RGS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_GOSSIP_SOURCE_RGS
void uniffi_ldk_node_fn_method_builder_set_gossip_source_rgs(void* ptr, RustBuffer rgs_server_url, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_LIQUIDITY_SOURCE_LSPS1
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_LIQUIDITY_SOURCE_LSPS1
void uniffi_ldk_node_fn_method_builder_set_liquidity_source_lsps1(void* ptr, RustBuffer node_id, RustBuffer address, RustBuffer token, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_LIQUIDITY_SOURCE_LSPS2
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_LIQUIDITY_SOURCE_LSPS2
void uniffi_ldk_node_fn_method_builder_set_liquidity_source_lsps2(void* ptr, RustBuffer node_id, RustBuffer address, RustBuffer token, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_LISTENING_ADDRESSES
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_LISTENING_ADDRESSES
void uniffi_ldk_node_fn_method_builder_set_listening_addresses(void* ptr, RustBuffer listening_addresses, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_LOG_FACADE_LOGGER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_LOG_FACADE_LOGGER
void uniffi_ldk_node_fn_method_builder_set_log_facade_logger(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_NETWORK
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_NETWORK
void uniffi_ldk_node_fn_method_builder_set_network(void* ptr, RustBuffer network, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_NODE_ALIAS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_NODE_ALIAS
void uniffi_ldk_node_fn_method_builder_set_node_alias(void* ptr, RustBuffer node_alias, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_PATHFINDING_SCORES_SOURCE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_PATHFINDING_SCORES_SOURCE
void uniffi_ldk_node_fn_method_builder_set_pathfinding_scores_source(void* ptr, RustBuffer url, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_STORAGE_DIR_PATH
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_STORAGE_DIR_PATH
void uniffi_ldk_node_fn_method_builder_set_storage_dir_path(void* ptr, RustBuffer storage_dir_path, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_TOR_PROXY_ADDRESS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_BUILDER_SET_TOR_PROXY_ADDRESS
void uniffi_ldk_node_fn_method_builder_set_tor_proxy_address(void* ptr, RustBuffer tor_proxy_address, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_FEERATE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_FEERATE
void* uniffi_ldk_node_fn_clone_feerate(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_FEERATE
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_FEERATE
void uniffi_ldk_node_fn_free_feerate(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_FEERATE_FROM_SAT_PER_KWU
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_FEERATE_FROM_SAT_PER_KWU
void* uniffi_ldk_node_fn_constructor_feerate_from_sat_per_kwu(uint64_t sat_kwu, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_FEERATE_FROM_SAT_PER_VB_UNCHECKED
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CONSTRUCTOR_FEERATE_FROM_SAT_PER_VB_UNCHECKED
void* uniffi_ldk_node_fn_constructor_feerate_from_sat_per_vb_unchecked(uint64_t sat_vb, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_FEERATE_TO_SAT_PER_KWU
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_FEERATE_TO_SAT_PER_KWU
uint64_t uniffi_ldk_node_fn_method_feerate_to_sat_per_kwu(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_FEERATE_TO_SAT_PER_VB_CEIL
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_FEERATE_TO_SAT_PER_VB_CEIL
uint64_t uniffi_ldk_node_fn_method_feerate_to_sat_per_vb_ceil(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_FEERATE_TO_SAT_PER_VB_FLOOR
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_FEERATE_TO_SAT_PER_VB_FLOOR
uint64_t uniffi_ldk_node_fn_method_feerate_to_sat_per_vb_floor(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_LSPS1LIQUIDITY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_LSPS1LIQUIDITY
void* uniffi_ldk_node_fn_clone_lsps1liquidity(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_LSPS1LIQUIDITY
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_LSPS1LIQUIDITY
void uniffi_ldk_node_fn_free_lsps1liquidity(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_LSPS1LIQUIDITY_CHECK_ORDER_STATUS
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_LSPS1LIQUIDITY_CHECK_ORDER_STATUS
RustBuffer uniffi_ldk_node_fn_method_lsps1liquidity_check_order_status(void* ptr, RustBuffer order_id, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_LSPS1LIQUIDITY_REQUEST_CHANNEL
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_METHOD_LSPS1LIQUIDITY_REQUEST_CHANNEL
RustBuffer uniffi_ldk_node_fn_method_lsps1liquidity_request_channel(void* ptr, uint64_t lsp_balance_sat, uint64_t client_balance_sat, uint32_t channel_expiry_blocks, int8_t announce_channel, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_LOGWRITER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_CLONE_LOGWRITER
void* uniffi_ldk_node_fn_clone_logwriter(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_LOGWRITER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_FREE_LOGWRITER
void uniffi_ldk_node_fn_free_logwriter(void* ptr, RustCallStatus *out_status
);
#endif
#ifndef UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_INIT_CALLBACK_VTABLE_LOGWRITER
#define UNIFFI_FFIDEF_UNIFFI_LDK_NODE_FN_INIT_CALLBACK_VTABLE_LOGWRITER