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 #else
4 #define MUST_USE_STRUCT
5 #endif
6 #if defined(__GNUC__)
7 #define MUST_USE_RES __attribute__((warn_unused_result))
8 #else
9 #define MUST_USE_RES
10 #endif
11 struct nativeChannelHandshakeConfigOpaque;
12 typedef struct nativeChannelHandshakeConfigOpaque LDKnativeChannelHandshakeConfig;
13 struct nativeChannelHandshakeLimitsOpaque;
14 typedef struct nativeChannelHandshakeLimitsOpaque LDKnativeChannelHandshakeLimits;
15 struct nativeChannelConfigOpaque;
16 typedef struct nativeChannelConfigOpaque LDKnativeChannelConfig;
17 struct nativeUserConfigOpaque;
18 typedef struct nativeUserConfigOpaque LDKnativeUserConfig;
19 struct nativeChainMonitorOpaque;
20 typedef struct nativeChainMonitorOpaque LDKnativeChainMonitor;
21 struct nativeChannelMonitorUpdateOpaque;
22 typedef struct nativeChannelMonitorUpdateOpaque LDKnativeChannelMonitorUpdate;
23 struct nativeMonitorUpdateErrorOpaque;
24 typedef struct nativeMonitorUpdateErrorOpaque LDKnativeMonitorUpdateError;
25 struct nativeMonitorEventOpaque;
26 typedef struct nativeMonitorEventOpaque LDKnativeMonitorEvent;
27 struct nativeHTLCUpdateOpaque;
28 typedef struct nativeHTLCUpdateOpaque LDKnativeHTLCUpdate;
29 struct nativeChannelMonitorOpaque;
30 typedef struct nativeChannelMonitorOpaque LDKnativeChannelMonitor;
31 struct nativeOutPointOpaque;
32 typedef struct nativeOutPointOpaque LDKnativeOutPoint;
33 struct LDKChannelKeys;
34 typedef struct LDKChannelKeys LDKChannelKeys;
35 struct nativeInMemoryChannelKeysOpaque;
36 typedef struct nativeInMemoryChannelKeysOpaque LDKnativeInMemoryChannelKeys;
37 struct nativeKeysManagerOpaque;
38 typedef struct nativeKeysManagerOpaque LDKnativeKeysManager;
39 struct nativeChannelManagerOpaque;
40 typedef struct nativeChannelManagerOpaque LDKnativeChannelManager;
41 struct nativeChannelDetailsOpaque;
42 typedef struct nativeChannelDetailsOpaque LDKnativeChannelDetails;
43 struct nativePaymentSendFailureOpaque;
44 typedef struct nativePaymentSendFailureOpaque LDKnativePaymentSendFailure;
45 struct nativeChannelManagerReadArgsOpaque;
46 typedef struct nativeChannelManagerReadArgsOpaque LDKnativeChannelManagerReadArgs;
47 struct nativeDecodeErrorOpaque;
48 typedef struct nativeDecodeErrorOpaque LDKnativeDecodeError;
49 struct nativeInitOpaque;
50 typedef struct nativeInitOpaque LDKnativeInit;
51 struct nativeErrorMessageOpaque;
52 typedef struct nativeErrorMessageOpaque LDKnativeErrorMessage;
53 struct nativePingOpaque;
54 typedef struct nativePingOpaque LDKnativePing;
55 struct nativePongOpaque;
56 typedef struct nativePongOpaque LDKnativePong;
57 struct nativeOpenChannelOpaque;
58 typedef struct nativeOpenChannelOpaque LDKnativeOpenChannel;
59 struct nativeAcceptChannelOpaque;
60 typedef struct nativeAcceptChannelOpaque LDKnativeAcceptChannel;
61 struct nativeFundingCreatedOpaque;
62 typedef struct nativeFundingCreatedOpaque LDKnativeFundingCreated;
63 struct nativeFundingSignedOpaque;
64 typedef struct nativeFundingSignedOpaque LDKnativeFundingSigned;
65 struct nativeFundingLockedOpaque;
66 typedef struct nativeFundingLockedOpaque LDKnativeFundingLocked;
67 struct nativeShutdownOpaque;
68 typedef struct nativeShutdownOpaque LDKnativeShutdown;
69 struct nativeClosingSignedOpaque;
70 typedef struct nativeClosingSignedOpaque LDKnativeClosingSigned;
71 struct nativeUpdateAddHTLCOpaque;
72 typedef struct nativeUpdateAddHTLCOpaque LDKnativeUpdateAddHTLC;
73 struct nativeUpdateFulfillHTLCOpaque;
74 typedef struct nativeUpdateFulfillHTLCOpaque LDKnativeUpdateFulfillHTLC;
75 struct nativeUpdateFailHTLCOpaque;
76 typedef struct nativeUpdateFailHTLCOpaque LDKnativeUpdateFailHTLC;
77 struct nativeUpdateFailMalformedHTLCOpaque;
78 typedef struct nativeUpdateFailMalformedHTLCOpaque LDKnativeUpdateFailMalformedHTLC;
79 struct nativeCommitmentSignedOpaque;
80 typedef struct nativeCommitmentSignedOpaque LDKnativeCommitmentSigned;
81 struct nativeRevokeAndACKOpaque;
82 typedef struct nativeRevokeAndACKOpaque LDKnativeRevokeAndACK;
83 struct nativeUpdateFeeOpaque;
84 typedef struct nativeUpdateFeeOpaque LDKnativeUpdateFee;
85 struct nativeDataLossProtectOpaque;
86 typedef struct nativeDataLossProtectOpaque LDKnativeDataLossProtect;
87 struct nativeChannelReestablishOpaque;
88 typedef struct nativeChannelReestablishOpaque LDKnativeChannelReestablish;
89 struct nativeAnnouncementSignaturesOpaque;
90 typedef struct nativeAnnouncementSignaturesOpaque LDKnativeAnnouncementSignatures;
91 struct nativeUnsignedNodeAnnouncementOpaque;
92 typedef struct nativeUnsignedNodeAnnouncementOpaque LDKnativeUnsignedNodeAnnouncement;
93 struct nativeNodeAnnouncementOpaque;
94 typedef struct nativeNodeAnnouncementOpaque LDKnativeNodeAnnouncement;
95 struct nativeUnsignedChannelAnnouncementOpaque;
96 typedef struct nativeUnsignedChannelAnnouncementOpaque LDKnativeUnsignedChannelAnnouncement;
97 struct nativeChannelAnnouncementOpaque;
98 typedef struct nativeChannelAnnouncementOpaque LDKnativeChannelAnnouncement;
99 struct nativeUnsignedChannelUpdateOpaque;
100 typedef struct nativeUnsignedChannelUpdateOpaque LDKnativeUnsignedChannelUpdate;
101 struct nativeChannelUpdateOpaque;
102 typedef struct nativeChannelUpdateOpaque LDKnativeChannelUpdate;
103 struct nativeQueryChannelRangeOpaque;
104 typedef struct nativeQueryChannelRangeOpaque LDKnativeQueryChannelRange;
105 struct nativeReplyChannelRangeOpaque;
106 typedef struct nativeReplyChannelRangeOpaque LDKnativeReplyChannelRange;
107 struct nativeQueryShortChannelIdsOpaque;
108 typedef struct nativeQueryShortChannelIdsOpaque LDKnativeQueryShortChannelIds;
109 struct nativeReplyShortChannelIdsEndOpaque;
110 typedef struct nativeReplyShortChannelIdsEndOpaque LDKnativeReplyShortChannelIdsEnd;
111 struct nativeGossipTimestampFilterOpaque;
112 typedef struct nativeGossipTimestampFilterOpaque LDKnativeGossipTimestampFilter;
113 struct nativeLightningErrorOpaque;
114 typedef struct nativeLightningErrorOpaque LDKnativeLightningError;
115 struct nativeCommitmentUpdateOpaque;
116 typedef struct nativeCommitmentUpdateOpaque LDKnativeCommitmentUpdate;
117 struct nativeMessageHandlerOpaque;
118 typedef struct nativeMessageHandlerOpaque LDKnativeMessageHandler;
119 typedef struct LDKSocketDescriptor LDKSocketDescriptor;
120 struct nativePeerHandleErrorOpaque;
121 typedef struct nativePeerHandleErrorOpaque LDKnativePeerHandleError;
122 struct nativePeerManagerOpaque;
123 typedef struct nativePeerManagerOpaque LDKnativePeerManager;
124 struct nativeTxCreationKeysOpaque;
125 typedef struct nativeTxCreationKeysOpaque LDKnativeTxCreationKeys;
126 struct nativePreCalculatedTxCreationKeysOpaque;
127 typedef struct nativePreCalculatedTxCreationKeysOpaque LDKnativePreCalculatedTxCreationKeys;
128 struct nativeChannelPublicKeysOpaque;
129 typedef struct nativeChannelPublicKeysOpaque LDKnativeChannelPublicKeys;
130 struct nativeHTLCOutputInCommitmentOpaque;
131 typedef struct nativeHTLCOutputInCommitmentOpaque LDKnativeHTLCOutputInCommitment;
132 struct nativeHolderCommitmentTransactionOpaque;
133 typedef struct nativeHolderCommitmentTransactionOpaque LDKnativeHolderCommitmentTransaction;
134 struct nativeInitFeaturesOpaque;
135 typedef struct nativeInitFeaturesOpaque LDKnativeInitFeatures;
136 struct nativeNodeFeaturesOpaque;
137 typedef struct nativeNodeFeaturesOpaque LDKnativeNodeFeatures;
138 struct nativeChannelFeaturesOpaque;
139 typedef struct nativeChannelFeaturesOpaque LDKnativeChannelFeatures;
140 struct nativeRouteHopOpaque;
141 typedef struct nativeRouteHopOpaque LDKnativeRouteHop;
142 struct nativeRouteOpaque;
143 typedef struct nativeRouteOpaque LDKnativeRoute;
144 struct nativeRouteHintOpaque;
145 typedef struct nativeRouteHintOpaque LDKnativeRouteHint;
146 struct nativeNetworkGraphOpaque;
147 typedef struct nativeNetworkGraphOpaque LDKnativeNetworkGraph;
148 struct nativeLockedNetworkGraphOpaque;
149 typedef struct nativeLockedNetworkGraphOpaque LDKnativeLockedNetworkGraph;
150 struct nativeNetGraphMsgHandlerOpaque;
151 typedef struct nativeNetGraphMsgHandlerOpaque LDKnativeNetGraphMsgHandler;
152 struct nativeDirectionalChannelInfoOpaque;
153 typedef struct nativeDirectionalChannelInfoOpaque LDKnativeDirectionalChannelInfo;
154 struct nativeChannelInfoOpaque;
155 typedef struct nativeChannelInfoOpaque LDKnativeChannelInfo;
156 struct nativeRoutingFeesOpaque;
157 typedef struct nativeRoutingFeesOpaque LDKnativeRoutingFees;
158 struct nativeNodeAnnouncementInfoOpaque;
159 typedef struct nativeNodeAnnouncementInfoOpaque LDKnativeNodeAnnouncementInfo;
160 struct nativeNodeInfoOpaque;
161 typedef struct nativeNodeInfoOpaque LDKnativeNodeInfo;