Update auto-generated bindings with the ProbabilisticScorer
[ldk-c-bindings] / lightning-c-bindings / include / ldk_rust_types.h
1 #if defined(__GNUC__)
2 #define MUST_USE_STRUCT __attribute__((warn_unused))
3 #define MUST_USE_RES __attribute__((warn_unused_result))
4 #else
5 #define MUST_USE_STRUCT
6 #define MUST_USE_RES
7 #endif
8 #if defined(__clang__)
9 #define NONNULL_PTR _Nonnull
10 #else
11 #define NONNULL_PTR
12 #endif
13 struct nativeCounterpartyCommitmentSecretsOpaque;
14 typedef struct nativeCounterpartyCommitmentSecretsOpaque LDKnativeCounterpartyCommitmentSecrets;
15 struct nativeTxCreationKeysOpaque;
16 typedef struct nativeTxCreationKeysOpaque LDKnativeTxCreationKeys;
17 struct nativeChannelPublicKeysOpaque;
18 typedef struct nativeChannelPublicKeysOpaque LDKnativeChannelPublicKeys;
19 struct nativeHTLCOutputInCommitmentOpaque;
20 typedef struct nativeHTLCOutputInCommitmentOpaque LDKnativeHTLCOutputInCommitment;
21 struct nativeChannelTransactionParametersOpaque;
22 typedef struct nativeChannelTransactionParametersOpaque LDKnativeChannelTransactionParameters;
23 struct nativeCounterpartyChannelTransactionParametersOpaque;
24 typedef struct nativeCounterpartyChannelTransactionParametersOpaque LDKnativeCounterpartyChannelTransactionParameters;
25 struct nativeDirectedChannelTransactionParametersOpaque;
26 typedef struct nativeDirectedChannelTransactionParametersOpaque LDKnativeDirectedChannelTransactionParameters;
27 struct nativeHolderCommitmentTransactionOpaque;
28 typedef struct nativeHolderCommitmentTransactionOpaque LDKnativeHolderCommitmentTransaction;
29 struct nativeBuiltCommitmentTransactionOpaque;
30 typedef struct nativeBuiltCommitmentTransactionOpaque LDKnativeBuiltCommitmentTransaction;
31 struct nativeClosingTransactionOpaque;
32 typedef struct nativeClosingTransactionOpaque LDKnativeClosingTransaction;
33 struct nativeTrustedClosingTransactionOpaque;
34 typedef struct nativeTrustedClosingTransactionOpaque LDKnativeTrustedClosingTransaction;
35 struct nativeCommitmentTransactionOpaque;
36 typedef struct nativeCommitmentTransactionOpaque LDKnativeCommitmentTransaction;
37 struct nativeTrustedCommitmentTransactionOpaque;
38 typedef struct nativeTrustedCommitmentTransactionOpaque LDKnativeTrustedCommitmentTransaction;
39 struct nativeShutdownScriptOpaque;
40 typedef struct nativeShutdownScriptOpaque LDKnativeShutdownScript;
41 struct nativeInvalidShutdownScriptOpaque;
42 typedef struct nativeInvalidShutdownScriptOpaque LDKnativeInvalidShutdownScript;
43 struct nativeBackgroundProcessorOpaque;
44 typedef struct nativeBackgroundProcessorOpaque LDKnativeBackgroundProcessor;
45 struct nativeRouteHopOpaque;
46 typedef struct nativeRouteHopOpaque LDKnativeRouteHop;
47 struct nativeRouteOpaque;
48 typedef struct nativeRouteOpaque LDKnativeRoute;
49 struct nativeRouteParametersOpaque;
50 typedef struct nativeRouteParametersOpaque LDKnativeRouteParameters;
51 struct nativePaymentParametersOpaque;
52 typedef struct nativePaymentParametersOpaque LDKnativePaymentParameters;
53 struct nativeRouteHintOpaque;
54 typedef struct nativeRouteHintOpaque LDKnativeRouteHint;
55 struct nativeRouteHintHopOpaque;
56 typedef struct nativeRouteHintHopOpaque LDKnativeRouteHintHop;
57 struct nativeBestBlockOpaque;
58 typedef struct nativeBestBlockOpaque LDKnativeBestBlock;
59 struct nativeWatchedOutputOpaque;
60 typedef struct nativeWatchedOutputOpaque LDKnativeWatchedOutput;
61 struct nativeMultiThreadedLockableScoreOpaque;
62 typedef struct nativeMultiThreadedLockableScoreOpaque LDKnativeMultiThreadedLockableScore;
63 struct nativeFixedPenaltyScorerOpaque;
64 typedef struct nativeFixedPenaltyScorerOpaque LDKnativeFixedPenaltyScorer;
65 struct nativeScorerOpaque;
66 typedef struct nativeScorerOpaque LDKnativeScorer;
67 struct nativeScoringParametersOpaque;
68 typedef struct nativeScoringParametersOpaque LDKnativeScoringParameters;
69 struct nativeProbabilisticScorerOpaque;
70 typedef struct nativeProbabilisticScorerOpaque LDKnativeProbabilisticScorer;
71 struct nativeProbabilisticScoringParametersOpaque;
72 typedef struct nativeProbabilisticScoringParametersOpaque LDKnativeProbabilisticScoringParameters;
73 struct nativeInitFeaturesOpaque;
74 typedef struct nativeInitFeaturesOpaque LDKnativeInitFeatures;
75 struct nativeNodeFeaturesOpaque;
76 typedef struct nativeNodeFeaturesOpaque LDKnativeNodeFeatures;
77 struct nativeChannelFeaturesOpaque;
78 typedef struct nativeChannelFeaturesOpaque LDKnativeChannelFeatures;
79 struct nativeInvoiceFeaturesOpaque;
80 typedef struct nativeInvoiceFeaturesOpaque LDKnativeInvoiceFeatures;
81 struct nativeChannelTypeFeaturesOpaque;
82 typedef struct nativeChannelTypeFeaturesOpaque LDKnativeChannelTypeFeatures;
83 struct nativeDelayedPaymentOutputDescriptorOpaque;
84 typedef struct nativeDelayedPaymentOutputDescriptorOpaque LDKnativeDelayedPaymentOutputDescriptor;
85 struct nativeStaticPaymentOutputDescriptorOpaque;
86 typedef struct nativeStaticPaymentOutputDescriptorOpaque LDKnativeStaticPaymentOutputDescriptor;
87 struct LDKBaseSign;
88 struct nativeInMemorySignerOpaque;
89 typedef struct nativeInMemorySignerOpaque LDKnativeInMemorySigner;
90 struct nativeKeysManagerOpaque;
91 typedef struct nativeKeysManagerOpaque LDKnativeKeysManager;
92 struct nativePhantomKeysManagerOpaque;
93 typedef struct nativePhantomKeysManagerOpaque LDKnativePhantomKeysManager;
94 struct nativeFilesystemPersisterOpaque;
95 typedef struct nativeFilesystemPersisterOpaque LDKnativeFilesystemPersister;
96 struct nativeChannelManagerOpaque;
97 typedef struct nativeChannelManagerOpaque LDKnativeChannelManager;
98 struct nativeChainParametersOpaque;
99 typedef struct nativeChainParametersOpaque LDKnativeChainParameters;
100 struct nativeCounterpartyForwardingInfoOpaque;
101 typedef struct nativeCounterpartyForwardingInfoOpaque LDKnativeCounterpartyForwardingInfo;
102 struct nativeChannelCounterpartyOpaque;
103 typedef struct nativeChannelCounterpartyOpaque LDKnativeChannelCounterparty;
104 struct nativeChannelDetailsOpaque;
105 typedef struct nativeChannelDetailsOpaque LDKnativeChannelDetails;
106 struct nativePhantomRouteHintsOpaque;
107 typedef struct nativePhantomRouteHintsOpaque LDKnativePhantomRouteHints;
108 struct nativeChannelManagerReadArgsOpaque;
109 typedef struct nativeChannelManagerReadArgsOpaque LDKnativeChannelManagerReadArgs;
110 struct nativeChannelHandshakeConfigOpaque;
111 typedef struct nativeChannelHandshakeConfigOpaque LDKnativeChannelHandshakeConfig;
112 struct nativeChannelHandshakeLimitsOpaque;
113 typedef struct nativeChannelHandshakeLimitsOpaque LDKnativeChannelHandshakeLimits;
114 struct nativeChannelConfigOpaque;
115 typedef struct nativeChannelConfigOpaque LDKnativeChannelConfig;
116 struct nativeUserConfigOpaque;
117 typedef struct nativeUserConfigOpaque LDKnativeUserConfig;
118 struct nativeOutPointOpaque;
119 typedef struct nativeOutPointOpaque LDKnativeOutPoint;
120 struct nativeInvoicePayerOpaque;
121 typedef struct nativeInvoicePayerOpaque LDKnativeInvoicePayer;
122 struct nativeRetryAttemptsOpaque;
123 typedef struct nativeRetryAttemptsOpaque LDKnativeRetryAttempts;
124 struct nativeInvoiceOpaque;
125 typedef struct nativeInvoiceOpaque LDKnativeInvoice;
126 struct nativeSignedRawInvoiceOpaque;
127 typedef struct nativeSignedRawInvoiceOpaque LDKnativeSignedRawInvoice;
128 struct nativeRawInvoiceOpaque;
129 typedef struct nativeRawInvoiceOpaque LDKnativeRawInvoice;
130 struct nativeRawDataPartOpaque;
131 typedef struct nativeRawDataPartOpaque LDKnativeRawDataPart;
132 struct nativePositiveTimestampOpaque;
133 typedef struct nativePositiveTimestampOpaque LDKnativePositiveTimestamp;
134 struct nativeSha256Opaque;
135 typedef struct nativeSha256Opaque LDKnativeSha256;
136 struct nativeDescriptionOpaque;
137 typedef struct nativeDescriptionOpaque LDKnativeDescription;
138 struct nativePayeePubKeyOpaque;
139 typedef struct nativePayeePubKeyOpaque LDKnativePayeePubKey;
140 struct nativeExpiryTimeOpaque;
141 typedef struct nativeExpiryTimeOpaque LDKnativeExpiryTime;
142 struct nativeMinFinalCltvExpiryOpaque;
143 typedef struct nativeMinFinalCltvExpiryOpaque LDKnativeMinFinalCltvExpiry;
144 struct nativeInvoiceSignatureOpaque;
145 typedef struct nativeInvoiceSignatureOpaque LDKnativeInvoiceSignature;
146 struct nativePrivateRouteOpaque;
147 typedef struct nativePrivateRouteOpaque LDKnativePrivateRoute;
148 struct nativeChannelMonitorUpdateOpaque;
149 typedef struct nativeChannelMonitorUpdateOpaque LDKnativeChannelMonitorUpdate;
150 struct nativeHTLCUpdateOpaque;
151 typedef struct nativeHTLCUpdateOpaque LDKnativeHTLCUpdate;
152 struct nativeChannelMonitorOpaque;
153 typedef struct nativeChannelMonitorOpaque LDKnativeChannelMonitor;
154 struct nativeIgnoringMessageHandlerOpaque;
155 typedef struct nativeIgnoringMessageHandlerOpaque LDKnativeIgnoringMessageHandler;
156 struct nativeErroringMessageHandlerOpaque;
157 typedef struct nativeErroringMessageHandlerOpaque LDKnativeErroringMessageHandler;
158 struct nativeMessageHandlerOpaque;
159 typedef struct nativeMessageHandlerOpaque LDKnativeMessageHandler;
160 struct nativePeerHandleErrorOpaque;
161 typedef struct nativePeerHandleErrorOpaque LDKnativePeerHandleError;
162 struct nativePeerManagerOpaque;
163 typedef struct nativePeerManagerOpaque LDKnativePeerManager;
164 struct nativeNodeIdOpaque;
165 typedef struct nativeNodeIdOpaque LDKnativeNodeId;
166 struct nativeNetworkGraphOpaque;
167 typedef struct nativeNetworkGraphOpaque LDKnativeNetworkGraph;
168 struct nativeReadOnlyNetworkGraphOpaque;
169 typedef struct nativeReadOnlyNetworkGraphOpaque LDKnativeReadOnlyNetworkGraph;
170 struct nativeNetGraphMsgHandlerOpaque;
171 typedef struct nativeNetGraphMsgHandlerOpaque LDKnativeNetGraphMsgHandler;
172 struct nativeChannelUpdateInfoOpaque;
173 typedef struct nativeChannelUpdateInfoOpaque LDKnativeChannelUpdateInfo;
174 struct nativeChannelInfoOpaque;
175 typedef struct nativeChannelInfoOpaque LDKnativeChannelInfo;
176 struct nativeDirectedChannelInfoOpaque;
177 typedef struct nativeDirectedChannelInfoOpaque LDKnativeDirectedChannelInfo;
178 struct nativeRoutingFeesOpaque;
179 typedef struct nativeRoutingFeesOpaque LDKnativeRoutingFees;
180 struct nativeNodeAnnouncementInfoOpaque;
181 typedef struct nativeNodeAnnouncementInfoOpaque LDKnativeNodeAnnouncementInfo;
182 struct nativeNodeInfoOpaque;
183 typedef struct nativeNodeInfoOpaque LDKnativeNodeInfo;
184 struct nativeDecodeErrorOpaque;
185 typedef struct nativeDecodeErrorOpaque LDKnativeDecodeError;
186 struct nativeInitOpaque;
187 typedef struct nativeInitOpaque LDKnativeInit;
188 struct nativeErrorMessageOpaque;
189 typedef struct nativeErrorMessageOpaque LDKnativeErrorMessage;
190 struct nativeWarningMessageOpaque;
191 typedef struct nativeWarningMessageOpaque LDKnativeWarningMessage;
192 struct nativePingOpaque;
193 typedef struct nativePingOpaque LDKnativePing;
194 struct nativePongOpaque;
195 typedef struct nativePongOpaque LDKnativePong;
196 struct nativeOpenChannelOpaque;
197 typedef struct nativeOpenChannelOpaque LDKnativeOpenChannel;
198 struct nativeAcceptChannelOpaque;
199 typedef struct nativeAcceptChannelOpaque LDKnativeAcceptChannel;
200 struct nativeFundingCreatedOpaque;
201 typedef struct nativeFundingCreatedOpaque LDKnativeFundingCreated;
202 struct nativeFundingSignedOpaque;
203 typedef struct nativeFundingSignedOpaque LDKnativeFundingSigned;
204 struct nativeFundingLockedOpaque;
205 typedef struct nativeFundingLockedOpaque LDKnativeFundingLocked;
206 struct nativeShutdownOpaque;
207 typedef struct nativeShutdownOpaque LDKnativeShutdown;
208 struct nativeClosingSignedFeeRangeOpaque;
209 typedef struct nativeClosingSignedFeeRangeOpaque LDKnativeClosingSignedFeeRange;
210 struct nativeClosingSignedOpaque;
211 typedef struct nativeClosingSignedOpaque LDKnativeClosingSigned;
212 struct nativeUpdateAddHTLCOpaque;
213 typedef struct nativeUpdateAddHTLCOpaque LDKnativeUpdateAddHTLC;
214 struct nativeUpdateFulfillHTLCOpaque;
215 typedef struct nativeUpdateFulfillHTLCOpaque LDKnativeUpdateFulfillHTLC;
216 struct nativeUpdateFailHTLCOpaque;
217 typedef struct nativeUpdateFailHTLCOpaque LDKnativeUpdateFailHTLC;
218 struct nativeUpdateFailMalformedHTLCOpaque;
219 typedef struct nativeUpdateFailMalformedHTLCOpaque LDKnativeUpdateFailMalformedHTLC;
220 struct nativeCommitmentSignedOpaque;
221 typedef struct nativeCommitmentSignedOpaque LDKnativeCommitmentSigned;
222 struct nativeRevokeAndACKOpaque;
223 typedef struct nativeRevokeAndACKOpaque LDKnativeRevokeAndACK;
224 struct nativeUpdateFeeOpaque;
225 typedef struct nativeUpdateFeeOpaque LDKnativeUpdateFee;
226 struct nativeDataLossProtectOpaque;
227 typedef struct nativeDataLossProtectOpaque LDKnativeDataLossProtect;
228 struct nativeChannelReestablishOpaque;
229 typedef struct nativeChannelReestablishOpaque LDKnativeChannelReestablish;
230 struct nativeAnnouncementSignaturesOpaque;
231 typedef struct nativeAnnouncementSignaturesOpaque LDKnativeAnnouncementSignatures;
232 struct nativeUnsignedNodeAnnouncementOpaque;
233 typedef struct nativeUnsignedNodeAnnouncementOpaque LDKnativeUnsignedNodeAnnouncement;
234 struct nativeNodeAnnouncementOpaque;
235 typedef struct nativeNodeAnnouncementOpaque LDKnativeNodeAnnouncement;
236 struct nativeUnsignedChannelAnnouncementOpaque;
237 typedef struct nativeUnsignedChannelAnnouncementOpaque LDKnativeUnsignedChannelAnnouncement;
238 struct nativeChannelAnnouncementOpaque;
239 typedef struct nativeChannelAnnouncementOpaque LDKnativeChannelAnnouncement;
240 struct nativeUnsignedChannelUpdateOpaque;
241 typedef struct nativeUnsignedChannelUpdateOpaque LDKnativeUnsignedChannelUpdate;
242 struct nativeChannelUpdateOpaque;
243 typedef struct nativeChannelUpdateOpaque LDKnativeChannelUpdate;
244 struct nativeQueryChannelRangeOpaque;
245 typedef struct nativeQueryChannelRangeOpaque LDKnativeQueryChannelRange;
246 struct nativeReplyChannelRangeOpaque;
247 typedef struct nativeReplyChannelRangeOpaque LDKnativeReplyChannelRange;
248 struct nativeQueryShortChannelIdsOpaque;
249 typedef struct nativeQueryShortChannelIdsOpaque LDKnativeQueryShortChannelIds;
250 struct nativeReplyShortChannelIdsEndOpaque;
251 typedef struct nativeReplyShortChannelIdsEndOpaque LDKnativeReplyShortChannelIdsEnd;
252 struct nativeGossipTimestampFilterOpaque;
253 typedef struct nativeGossipTimestampFilterOpaque LDKnativeGossipTimestampFilter;
254 struct nativeLightningErrorOpaque;
255 typedef struct nativeLightningErrorOpaque LDKnativeLightningError;
256 struct nativeCommitmentUpdateOpaque;
257 typedef struct nativeCommitmentUpdateOpaque LDKnativeCommitmentUpdate;
258 struct nativeDefaultRouterOpaque;
259 typedef struct nativeDefaultRouterOpaque LDKnativeDefaultRouter;
260 struct nativeRecordOpaque;
261 typedef struct nativeRecordOpaque LDKnativeRecord;
262 struct nativeMonitorUpdateIdOpaque;
263 typedef struct nativeMonitorUpdateIdOpaque LDKnativeMonitorUpdateId;
264 struct nativeLockedChannelMonitorOpaque;
265 typedef struct nativeLockedChannelMonitorOpaque LDKnativeLockedChannelMonitor;
266 struct nativeChainMonitorOpaque;
267 typedef struct nativeChainMonitorOpaque LDKnativeChainMonitor;