Update auto-generated bindings to latest upstream
[ldk-c-bindings] / lightning-c-bindings / include / 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 nativeTxCreationKeysOpaque;
14 typedef struct nativeTxCreationKeysOpaque LDKnativeTxCreationKeys;
15 struct nativeChannelPublicKeysOpaque;
16 typedef struct nativeChannelPublicKeysOpaque LDKnativeChannelPublicKeys;
17 struct nativeHTLCOutputInCommitmentOpaque;
18 typedef struct nativeHTLCOutputInCommitmentOpaque LDKnativeHTLCOutputInCommitment;
19 struct nativeChannelTransactionParametersOpaque;
20 typedef struct nativeChannelTransactionParametersOpaque LDKnativeChannelTransactionParameters;
21 struct nativeCounterpartyChannelTransactionParametersOpaque;
22 typedef struct nativeCounterpartyChannelTransactionParametersOpaque LDKnativeCounterpartyChannelTransactionParameters;
23 struct nativeDirectedChannelTransactionParametersOpaque;
24 typedef struct nativeDirectedChannelTransactionParametersOpaque LDKnativeDirectedChannelTransactionParameters;
25 struct nativeHolderCommitmentTransactionOpaque;
26 typedef struct nativeHolderCommitmentTransactionOpaque LDKnativeHolderCommitmentTransaction;
27 struct nativeBuiltCommitmentTransactionOpaque;
28 typedef struct nativeBuiltCommitmentTransactionOpaque LDKnativeBuiltCommitmentTransaction;
29 struct nativeCommitmentTransactionOpaque;
30 typedef struct nativeCommitmentTransactionOpaque LDKnativeCommitmentTransaction;
31 struct nativeTrustedCommitmentTransactionOpaque;
32 typedef struct nativeTrustedCommitmentTransactionOpaque LDKnativeTrustedCommitmentTransaction;
33 struct nativeIgnoringMessageHandlerOpaque;
34 typedef struct nativeIgnoringMessageHandlerOpaque LDKnativeIgnoringMessageHandler;
35 struct nativeErroringMessageHandlerOpaque;
36 typedef struct nativeErroringMessageHandlerOpaque LDKnativeErroringMessageHandler;
37 struct nativeMessageHandlerOpaque;
38 typedef struct nativeMessageHandlerOpaque LDKnativeMessageHandler;
39 typedef struct LDKSocketDescriptor LDKSocketDescriptor;
40 struct nativePeerHandleErrorOpaque;
41 typedef struct nativePeerHandleErrorOpaque LDKnativePeerHandleError;
42 struct nativePeerManagerOpaque;
43 typedef struct nativePeerManagerOpaque LDKnativePeerManager;
44 struct nativeInitFeaturesOpaque;
45 typedef struct nativeInitFeaturesOpaque LDKnativeInitFeatures;
46 struct nativeNodeFeaturesOpaque;
47 typedef struct nativeNodeFeaturesOpaque LDKnativeNodeFeatures;
48 struct nativeChannelFeaturesOpaque;
49 typedef struct nativeChannelFeaturesOpaque LDKnativeChannelFeatures;
50 struct nativeInvoiceFeaturesOpaque;
51 typedef struct nativeInvoiceFeaturesOpaque LDKnativeInvoiceFeatures;
52 struct nativeChannelHandshakeConfigOpaque;
53 typedef struct nativeChannelHandshakeConfigOpaque LDKnativeChannelHandshakeConfig;
54 struct nativeChannelHandshakeLimitsOpaque;
55 typedef struct nativeChannelHandshakeLimitsOpaque LDKnativeChannelHandshakeLimits;
56 struct nativeChannelConfigOpaque;
57 typedef struct nativeChannelConfigOpaque LDKnativeChannelConfig;
58 struct nativeUserConfigOpaque;
59 typedef struct nativeUserConfigOpaque LDKnativeUserConfig;
60 struct nativeNetworkGraphOpaque;
61 typedef struct nativeNetworkGraphOpaque LDKnativeNetworkGraph;
62 struct nativeLockedNetworkGraphOpaque;
63 typedef struct nativeLockedNetworkGraphOpaque LDKnativeLockedNetworkGraph;
64 struct nativeNetGraphMsgHandlerOpaque;
65 typedef struct nativeNetGraphMsgHandlerOpaque LDKnativeNetGraphMsgHandler;
66 struct nativeDirectionalChannelInfoOpaque;
67 typedef struct nativeDirectionalChannelInfoOpaque LDKnativeDirectionalChannelInfo;
68 struct nativeChannelInfoOpaque;
69 typedef struct nativeChannelInfoOpaque LDKnativeChannelInfo;
70 struct nativeRoutingFeesOpaque;
71 typedef struct nativeRoutingFeesOpaque LDKnativeRoutingFees;
72 struct nativeNodeAnnouncementInfoOpaque;
73 typedef struct nativeNodeAnnouncementInfoOpaque LDKnativeNodeAnnouncementInfo;
74 struct nativeNodeInfoOpaque;
75 typedef struct nativeNodeInfoOpaque LDKnativeNodeInfo;
76 struct nativeChainMonitorOpaque;
77 typedef struct nativeChainMonitorOpaque LDKnativeChainMonitor;
78 struct nativeOutPointOpaque;
79 typedef struct nativeOutPointOpaque LDKnativeOutPoint;
80 struct nativeChannelMonitorUpdateOpaque;
81 typedef struct nativeChannelMonitorUpdateOpaque LDKnativeChannelMonitorUpdate;
82 struct nativeMonitorUpdateErrorOpaque;
83 typedef struct nativeMonitorUpdateErrorOpaque LDKnativeMonitorUpdateError;
84 struct nativeHTLCUpdateOpaque;
85 typedef struct nativeHTLCUpdateOpaque LDKnativeHTLCUpdate;
86 struct nativeChannelMonitorOpaque;
87 typedef struct nativeChannelMonitorOpaque LDKnativeChannelMonitor;
88 struct nativeWatchedOutputOpaque;
89 typedef struct nativeWatchedOutputOpaque LDKnativeWatchedOutput;
90 struct nativeChannelManagerOpaque;
91 typedef struct nativeChannelManagerOpaque LDKnativeChannelManager;
92 struct nativeChainParametersOpaque;
93 typedef struct nativeChainParametersOpaque LDKnativeChainParameters;
94 struct nativeBestBlockOpaque;
95 typedef struct nativeBestBlockOpaque LDKnativeBestBlock;
96 struct nativeChannelDetailsOpaque;
97 typedef struct nativeChannelDetailsOpaque LDKnativeChannelDetails;
98 struct nativeChannelManagerReadArgsOpaque;
99 typedef struct nativeChannelManagerReadArgsOpaque LDKnativeChannelManagerReadArgs;
100 struct nativeDelayedPaymentOutputDescriptorOpaque;
101 typedef struct nativeDelayedPaymentOutputDescriptorOpaque LDKnativeDelayedPaymentOutputDescriptor;
102 struct nativeStaticPaymentOutputDescriptorOpaque;
103 typedef struct nativeStaticPaymentOutputDescriptorOpaque LDKnativeStaticPaymentOutputDescriptor;
104 struct LDKBaseSign;
105 typedef struct LDKBaseSign LDKBaseSign;
106 struct nativeInMemorySignerOpaque;
107 typedef struct nativeInMemorySignerOpaque LDKnativeInMemorySigner;
108 struct nativeKeysManagerOpaque;
109 typedef struct nativeKeysManagerOpaque LDKnativeKeysManager;
110 struct nativeRouteHopOpaque;
111 typedef struct nativeRouteHopOpaque LDKnativeRouteHop;
112 struct nativeRouteOpaque;
113 typedef struct nativeRouteOpaque LDKnativeRoute;
114 struct nativeRouteHintOpaque;
115 typedef struct nativeRouteHintOpaque LDKnativeRouteHint;
116 struct nativeDecodeErrorOpaque;
117 typedef struct nativeDecodeErrorOpaque LDKnativeDecodeError;
118 struct nativeInitOpaque;
119 typedef struct nativeInitOpaque LDKnativeInit;
120 struct nativeErrorMessageOpaque;
121 typedef struct nativeErrorMessageOpaque LDKnativeErrorMessage;
122 struct nativePingOpaque;
123 typedef struct nativePingOpaque LDKnativePing;
124 struct nativePongOpaque;
125 typedef struct nativePongOpaque LDKnativePong;
126 struct nativeOpenChannelOpaque;
127 typedef struct nativeOpenChannelOpaque LDKnativeOpenChannel;
128 struct nativeAcceptChannelOpaque;
129 typedef struct nativeAcceptChannelOpaque LDKnativeAcceptChannel;
130 struct nativeFundingCreatedOpaque;
131 typedef struct nativeFundingCreatedOpaque LDKnativeFundingCreated;
132 struct nativeFundingSignedOpaque;
133 typedef struct nativeFundingSignedOpaque LDKnativeFundingSigned;
134 struct nativeFundingLockedOpaque;
135 typedef struct nativeFundingLockedOpaque LDKnativeFundingLocked;
136 struct nativeShutdownOpaque;
137 typedef struct nativeShutdownOpaque LDKnativeShutdown;
138 struct nativeClosingSignedOpaque;
139 typedef struct nativeClosingSignedOpaque LDKnativeClosingSigned;
140 struct nativeUpdateAddHTLCOpaque;
141 typedef struct nativeUpdateAddHTLCOpaque LDKnativeUpdateAddHTLC;
142 struct nativeUpdateFulfillHTLCOpaque;
143 typedef struct nativeUpdateFulfillHTLCOpaque LDKnativeUpdateFulfillHTLC;
144 struct nativeUpdateFailHTLCOpaque;
145 typedef struct nativeUpdateFailHTLCOpaque LDKnativeUpdateFailHTLC;
146 struct nativeUpdateFailMalformedHTLCOpaque;
147 typedef struct nativeUpdateFailMalformedHTLCOpaque LDKnativeUpdateFailMalformedHTLC;
148 struct nativeCommitmentSignedOpaque;
149 typedef struct nativeCommitmentSignedOpaque LDKnativeCommitmentSigned;
150 struct nativeRevokeAndACKOpaque;
151 typedef struct nativeRevokeAndACKOpaque LDKnativeRevokeAndACK;
152 struct nativeUpdateFeeOpaque;
153 typedef struct nativeUpdateFeeOpaque LDKnativeUpdateFee;
154 struct nativeDataLossProtectOpaque;
155 typedef struct nativeDataLossProtectOpaque LDKnativeDataLossProtect;
156 struct nativeChannelReestablishOpaque;
157 typedef struct nativeChannelReestablishOpaque LDKnativeChannelReestablish;
158 struct nativeAnnouncementSignaturesOpaque;
159 typedef struct nativeAnnouncementSignaturesOpaque LDKnativeAnnouncementSignatures;
160 struct nativeUnsignedNodeAnnouncementOpaque;
161 typedef struct nativeUnsignedNodeAnnouncementOpaque LDKnativeUnsignedNodeAnnouncement;
162 struct nativeNodeAnnouncementOpaque;
163 typedef struct nativeNodeAnnouncementOpaque LDKnativeNodeAnnouncement;
164 struct nativeUnsignedChannelAnnouncementOpaque;
165 typedef struct nativeUnsignedChannelAnnouncementOpaque LDKnativeUnsignedChannelAnnouncement;
166 struct nativeChannelAnnouncementOpaque;
167 typedef struct nativeChannelAnnouncementOpaque LDKnativeChannelAnnouncement;
168 struct nativeUnsignedChannelUpdateOpaque;
169 typedef struct nativeUnsignedChannelUpdateOpaque LDKnativeUnsignedChannelUpdate;
170 struct nativeChannelUpdateOpaque;
171 typedef struct nativeChannelUpdateOpaque LDKnativeChannelUpdate;
172 struct nativeQueryChannelRangeOpaque;
173 typedef struct nativeQueryChannelRangeOpaque LDKnativeQueryChannelRange;
174 struct nativeReplyChannelRangeOpaque;
175 typedef struct nativeReplyChannelRangeOpaque LDKnativeReplyChannelRange;
176 struct nativeQueryShortChannelIdsOpaque;
177 typedef struct nativeQueryShortChannelIdsOpaque LDKnativeQueryShortChannelIds;
178 struct nativeReplyShortChannelIdsEndOpaque;
179 typedef struct nativeReplyShortChannelIdsEndOpaque LDKnativeReplyShortChannelIdsEnd;
180 struct nativeGossipTimestampFilterOpaque;
181 typedef struct nativeGossipTimestampFilterOpaque LDKnativeGossipTimestampFilter;
182 struct nativeLightningErrorOpaque;
183 typedef struct nativeLightningErrorOpaque LDKnativeLightningError;
184 struct nativeCommitmentUpdateOpaque;
185 typedef struct nativeCommitmentUpdateOpaque LDKnativeCommitmentUpdate;