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