-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrust_types.h
146 lines (146 loc) · 6.28 KB
/
rust_types.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#if defined(__GNUC__)
#define MUST_USE_STRUCT __attribute__((warn_unused))
#else
#define MUST_USE_STRUCT
#endif
#if defined(__GNUC__)
#define MUST_USE_RES __attribute__((warn_unused_result))
#else
#define MUST_USE_RES
#endif
struct lnChannelHandshakeConfigOpaque;
typedef struct lnChannelHandshakeConfigOpaque LDKlnChannelHandshakeConfig;
struct lnChannelHandshakeLimitsOpaque;
typedef struct lnChannelHandshakeLimitsOpaque LDKlnChannelHandshakeLimits;
struct lnChannelConfigOpaque;
typedef struct lnChannelConfigOpaque LDKlnChannelConfig;
struct lnUserConfigOpaque;
typedef struct lnUserConfigOpaque LDKlnUserConfig;
struct lnChainWatchedUtilOpaque;
typedef struct lnChainWatchedUtilOpaque LDKlnChainWatchedUtil;
struct lnBlockNotifierOpaque;
typedef struct lnBlockNotifierOpaque LDKlnBlockNotifier;
struct lnChainWatchInterfaceUtilOpaque;
typedef struct lnChainWatchInterfaceUtilOpaque LDKlnChainWatchInterfaceUtil;
struct lnOutPointOpaque;
typedef struct lnOutPointOpaque LDKlnOutPoint;
struct lnSpendableOutputDescriptorOpaque;
typedef struct lnSpendableOutputDescriptorOpaque LDKlnSpendableOutputDescriptor;
struct LDKChannelKeys;
typedef struct LDKChannelKeys LDKChannelKeys;
struct LDKChannelKeys;
typedef struct LDKChannelKeys LDKChannelKeys;
struct lnInMemoryChannelKeysOpaque;
typedef struct lnInMemoryChannelKeysOpaque LDKlnInMemoryChannelKeys;
struct lnKeysManagerOpaque;
typedef struct lnKeysManagerOpaque LDKlnKeysManager;
struct lnChannelManagerOpaque;
typedef struct lnChannelManagerOpaque LDKlnChannelManager;
struct lnChannelDetailsOpaque;
typedef struct lnChannelDetailsOpaque LDKlnChannelDetails;
struct lnPaymentSendFailureOpaque;
typedef struct lnPaymentSendFailureOpaque LDKlnPaymentSendFailure;
struct lnChannelMonitorUpdateOpaque;
typedef struct lnChannelMonitorUpdateOpaque LDKlnChannelMonitorUpdate;
struct lnMonitorUpdateErrorOpaque;
typedef struct lnMonitorUpdateErrorOpaque LDKlnMonitorUpdateError;
struct lnHTLCUpdateOpaque;
typedef struct lnHTLCUpdateOpaque LDKlnHTLCUpdate;
struct lnChannelMonitorOpaque;
typedef struct lnChannelMonitorOpaque LDKlnChannelMonitor;
struct lnDecodeErrorOpaque;
typedef struct lnDecodeErrorOpaque LDKlnDecodeError;
struct lnInitOpaque;
typedef struct lnInitOpaque LDKlnInit;
struct lnErrorMessageOpaque;
typedef struct lnErrorMessageOpaque LDKlnErrorMessage;
struct lnPingOpaque;
typedef struct lnPingOpaque LDKlnPing;
struct lnPongOpaque;
typedef struct lnPongOpaque LDKlnPong;
struct lnOpenChannelOpaque;
typedef struct lnOpenChannelOpaque LDKlnOpenChannel;
struct lnAcceptChannelOpaque;
typedef struct lnAcceptChannelOpaque LDKlnAcceptChannel;
struct lnFundingCreatedOpaque;
typedef struct lnFundingCreatedOpaque LDKlnFundingCreated;
struct lnFundingSignedOpaque;
typedef struct lnFundingSignedOpaque LDKlnFundingSigned;
struct lnFundingLockedOpaque;
typedef struct lnFundingLockedOpaque LDKlnFundingLocked;
struct lnShutdownOpaque;
typedef struct lnShutdownOpaque LDKlnShutdown;
struct lnClosingSignedOpaque;
typedef struct lnClosingSignedOpaque LDKlnClosingSigned;
struct lnUpdateAddHTLCOpaque;
typedef struct lnUpdateAddHTLCOpaque LDKlnUpdateAddHTLC;
struct lnUpdateFulfillHTLCOpaque;
typedef struct lnUpdateFulfillHTLCOpaque LDKlnUpdateFulfillHTLC;
struct lnUpdateFailHTLCOpaque;
typedef struct lnUpdateFailHTLCOpaque LDKlnUpdateFailHTLC;
struct lnUpdateFailMalformedHTLCOpaque;
typedef struct lnUpdateFailMalformedHTLCOpaque LDKlnUpdateFailMalformedHTLC;
struct lnCommitmentSignedOpaque;
typedef struct lnCommitmentSignedOpaque LDKlnCommitmentSigned;
struct lnRevokeAndACKOpaque;
typedef struct lnRevokeAndACKOpaque LDKlnRevokeAndACK;
struct lnUpdateFeeOpaque;
typedef struct lnUpdateFeeOpaque LDKlnUpdateFee;
struct lnChannelReestablishOpaque;
typedef struct lnChannelReestablishOpaque LDKlnChannelReestablish;
struct lnAnnouncementSignaturesOpaque;
typedef struct lnAnnouncementSignaturesOpaque LDKlnAnnouncementSignatures;
struct lnUnsignedNodeAnnouncementOpaque;
typedef struct lnUnsignedNodeAnnouncementOpaque LDKlnUnsignedNodeAnnouncement;
struct lnNodeAnnouncementOpaque;
typedef struct lnNodeAnnouncementOpaque LDKlnNodeAnnouncement;
struct lnUnsignedChannelAnnouncementOpaque;
typedef struct lnUnsignedChannelAnnouncementOpaque LDKlnUnsignedChannelAnnouncement;
struct lnChannelAnnouncementOpaque;
typedef struct lnChannelAnnouncementOpaque LDKlnChannelAnnouncement;
struct lnChannelUpdateOpaque;
typedef struct lnChannelUpdateOpaque LDKlnChannelUpdate;
struct lnLightningErrorOpaque;
typedef struct lnLightningErrorOpaque LDKlnLightningError;
struct lnCommitmentUpdateOpaque;
typedef struct lnCommitmentUpdateOpaque LDKlnCommitmentUpdate;
struct lnMessageHandlerOpaque;
typedef struct lnMessageHandlerOpaque LDKlnMessageHandler;
struct lnPeerHandleErrorOpaque;
typedef struct lnPeerHandleErrorOpaque LDKlnPeerHandleError;
struct lnPeerManagerOpaque;
typedef struct lnPeerManagerOpaque LDKlnPeerManager;
struct lnTxCreationKeysOpaque;
typedef struct lnTxCreationKeysOpaque LDKlnTxCreationKeys;
struct lnChannelPublicKeysOpaque;
typedef struct lnChannelPublicKeysOpaque LDKlnChannelPublicKeys;
struct lnHTLCOutputInCommitmentOpaque;
typedef struct lnHTLCOutputInCommitmentOpaque LDKlnHTLCOutputInCommitment;
struct lnLocalCommitmentTransactionOpaque;
typedef struct lnLocalCommitmentTransactionOpaque LDKlnLocalCommitmentTransaction;
struct lnInitFeaturesOpaque;
typedef struct lnInitFeaturesOpaque LDKlnInitFeatures;
struct lnNodeFeaturesOpaque;
typedef struct lnNodeFeaturesOpaque LDKlnNodeFeatures;
struct lnChannelFeaturesOpaque;
typedef struct lnChannelFeaturesOpaque LDKlnChannelFeatures;
struct lnRouteHopOpaque;
typedef struct lnRouteHopOpaque LDKlnRouteHop;
struct lnRouteOpaque;
typedef struct lnRouteOpaque LDKlnRoute;
struct lnRouteHintOpaque;
typedef struct lnRouteHintOpaque LDKlnRouteHint;
struct lnNetworkGraphOpaque;
typedef struct lnNetworkGraphOpaque LDKlnNetworkGraph;
struct lnNetGraphMsgHandlerOpaque;
typedef struct lnNetGraphMsgHandlerOpaque LDKlnNetGraphMsgHandler;
struct lnDirectionalChannelInfoOpaque;
typedef struct lnDirectionalChannelInfoOpaque LDKlnDirectionalChannelInfo;
struct lnChannelInfoOpaque;
typedef struct lnChannelInfoOpaque LDKlnChannelInfo;
struct lnRoutingFeesOpaque;
typedef struct lnRoutingFeesOpaque LDKlnRoutingFees;
struct lnNodeAnnouncementInfoOpaque;
typedef struct lnNodeAnnouncementInfoOpaque LDKlnNodeAnnouncementInfo;
struct lnNodeInfoOpaque;
typedef struct lnNodeInfoOpaque LDKlnNodeInfo;