Update auto-generated bindings with latest upstream + generator
[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 nativeChannelDetailsOpaque;
95 typedef struct nativeChannelDetailsOpaque LDKnativeChannelDetails;
96 struct nativeChannelManagerReadArgsOpaque;
97 typedef struct nativeChannelManagerReadArgsOpaque LDKnativeChannelManagerReadArgs;
98 struct nativeDelayedPaymentOutputDescriptorOpaque;
99 typedef struct nativeDelayedPaymentOutputDescriptorOpaque LDKnativeDelayedPaymentOutputDescriptor;
100 struct nativeStaticPaymentOutputDescriptorOpaque;
101 typedef struct nativeStaticPaymentOutputDescriptorOpaque LDKnativeStaticPaymentOutputDescriptor;
102 struct LDKBaseSign;
103 typedef struct LDKBaseSign LDKBaseSign;
104 struct nativeInMemorySignerOpaque;
105 typedef struct nativeInMemorySignerOpaque LDKnativeInMemorySigner;
106 struct nativeKeysManagerOpaque;
107 typedef struct nativeKeysManagerOpaque LDKnativeKeysManager;
108 struct nativeRouteHopOpaque;
109 typedef struct nativeRouteHopOpaque LDKnativeRouteHop;
110 struct nativeRouteOpaque;
111 typedef struct nativeRouteOpaque LDKnativeRoute;
112 struct nativeRouteHintOpaque;
113 typedef struct nativeRouteHintOpaque LDKnativeRouteHint;
114 struct nativeDecodeErrorOpaque;
115 typedef struct nativeDecodeErrorOpaque LDKnativeDecodeError;
116 struct nativeInitOpaque;
117 typedef struct nativeInitOpaque LDKnativeInit;
118 struct nativeErrorMessageOpaque;
119 typedef struct nativeErrorMessageOpaque LDKnativeErrorMessage;
120 struct nativePingOpaque;
121 typedef struct nativePingOpaque LDKnativePing;
122 struct nativePongOpaque;
123 typedef struct nativePongOpaque LDKnativePong;
124 struct nativeOpenChannelOpaque;
125 typedef struct nativeOpenChannelOpaque LDKnativeOpenChannel;
126 struct nativeAcceptChannelOpaque;
127 typedef struct nativeAcceptChannelOpaque LDKnativeAcceptChannel;
128 struct nativeFundingCreatedOpaque;
129 typedef struct nativeFundingCreatedOpaque LDKnativeFundingCreated;
130 struct nativeFundingSignedOpaque;
131 typedef struct nativeFundingSignedOpaque LDKnativeFundingSigned;
132 struct nativeFundingLockedOpaque;
133 typedef struct nativeFundingLockedOpaque LDKnativeFundingLocked;
134 struct nativeShutdownOpaque;
135 typedef struct nativeShutdownOpaque LDKnativeShutdown;
136 struct nativeClosingSignedOpaque;
137 typedef struct nativeClosingSignedOpaque LDKnativeClosingSigned;
138 struct nativeUpdateAddHTLCOpaque;
139 typedef struct nativeUpdateAddHTLCOpaque LDKnativeUpdateAddHTLC;
140 struct nativeUpdateFulfillHTLCOpaque;
141 typedef struct nativeUpdateFulfillHTLCOpaque LDKnativeUpdateFulfillHTLC;
142 struct nativeUpdateFailHTLCOpaque;
143 typedef struct nativeUpdateFailHTLCOpaque LDKnativeUpdateFailHTLC;
144 struct nativeUpdateFailMalformedHTLCOpaque;
145 typedef struct nativeUpdateFailMalformedHTLCOpaque LDKnativeUpdateFailMalformedHTLC;
146 struct nativeCommitmentSignedOpaque;
147 typedef struct nativeCommitmentSignedOpaque LDKnativeCommitmentSigned;
148 struct nativeRevokeAndACKOpaque;
149 typedef struct nativeRevokeAndACKOpaque LDKnativeRevokeAndACK;
150 struct nativeUpdateFeeOpaque;
151 typedef struct nativeUpdateFeeOpaque LDKnativeUpdateFee;
152 struct nativeDataLossProtectOpaque;
153 typedef struct nativeDataLossProtectOpaque LDKnativeDataLossProtect;
154 struct nativeChannelReestablishOpaque;
155 typedef struct nativeChannelReestablishOpaque LDKnativeChannelReestablish;
156 struct nativeAnnouncementSignaturesOpaque;
157 typedef struct nativeAnnouncementSignaturesOpaque LDKnativeAnnouncementSignatures;
158 struct nativeUnsignedNodeAnnouncementOpaque;
159 typedef struct nativeUnsignedNodeAnnouncementOpaque LDKnativeUnsignedNodeAnnouncement;
160 struct nativeNodeAnnouncementOpaque;
161 typedef struct nativeNodeAnnouncementOpaque LDKnativeNodeAnnouncement;
162 struct nativeUnsignedChannelAnnouncementOpaque;
163 typedef struct nativeUnsignedChannelAnnouncementOpaque LDKnativeUnsignedChannelAnnouncement;
164 struct nativeChannelAnnouncementOpaque;
165 typedef struct nativeChannelAnnouncementOpaque LDKnativeChannelAnnouncement;
166 struct nativeUnsignedChannelUpdateOpaque;
167 typedef struct nativeUnsignedChannelUpdateOpaque LDKnativeUnsignedChannelUpdate;
168 struct nativeChannelUpdateOpaque;
169 typedef struct nativeChannelUpdateOpaque LDKnativeChannelUpdate;
170 struct nativeQueryChannelRangeOpaque;
171 typedef struct nativeQueryChannelRangeOpaque LDKnativeQueryChannelRange;
172 struct nativeReplyChannelRangeOpaque;
173 typedef struct nativeReplyChannelRangeOpaque LDKnativeReplyChannelRange;
174 struct nativeQueryShortChannelIdsOpaque;
175 typedef struct nativeQueryShortChannelIdsOpaque LDKnativeQueryShortChannelIds;
176 struct nativeReplyShortChannelIdsEndOpaque;
177 typedef struct nativeReplyShortChannelIdsEndOpaque LDKnativeReplyShortChannelIdsEnd;
178 struct nativeGossipTimestampFilterOpaque;
179 typedef struct nativeGossipTimestampFilterOpaque LDKnativeGossipTimestampFilter;
180 struct nativeLightningErrorOpaque;
181 typedef struct nativeLightningErrorOpaque LDKnativeLightningError;
182 struct nativeCommitmentUpdateOpaque;
183 typedef struct nativeCommitmentUpdateOpaque LDKnativeCommitmentUpdate;