mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
[bindings] update generated code
This commit is contained in:
parent
7e18104414
commit
5988789a2d
15 changed files with 661 additions and 683 deletions
|
@ -220,8 +220,8 @@ typedef struct LDKTxOut {
|
|||
} LDKTxOut;
|
||||
|
||||
typedef struct LDKC2TupleTempl_usize__Transaction {
|
||||
uintptr_t *a;
|
||||
LDKTransaction *b;
|
||||
uintptr_t a;
|
||||
LDKTransaction b;
|
||||
} LDKC2TupleTempl_usize__Transaction;
|
||||
|
||||
typedef LDKC2TupleTempl_usize__Transaction LDKC2Tuple_usizeTransactionZ;
|
||||
|
@ -249,7 +249,7 @@ typedef LDKCResultTempl_u8__ChannelMonitorUpdateErr LDKCResult_NoneChannelMonito
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKMonitorUpdateError {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeMonitorUpdateError *inner;
|
||||
|
@ -278,7 +278,7 @@ typedef LDKCResultTempl_u8__MonitorUpdateError LDKCResult_NoneMonitorUpdateError
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKOutPoint {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeOutPoint *inner;
|
||||
|
@ -286,8 +286,8 @@ typedef struct MUST_USE_STRUCT LDKOutPoint {
|
|||
} LDKOutPoint;
|
||||
|
||||
typedef struct LDKC2TupleTempl_OutPoint__CVec_u8Z {
|
||||
LDKOutPoint *a;
|
||||
LDKCVec_u8Z *b;
|
||||
LDKOutPoint a;
|
||||
LDKCVec_u8Z b;
|
||||
} LDKC2TupleTempl_OutPoint__CVec_u8Z;
|
||||
|
||||
typedef LDKC2TupleTempl_OutPoint__CVec_u8Z LDKC2Tuple_OutPointScriptZ;
|
||||
|
@ -306,8 +306,8 @@ typedef struct LDKCVecTempl_TxOut {
|
|||
} LDKCVecTempl_TxOut;
|
||||
|
||||
typedef struct LDKC2TupleTempl_ThirtyTwoBytes__CVecTempl_TxOut {
|
||||
LDKThirtyTwoBytes *a;
|
||||
LDKCVecTempl_TxOut *b;
|
||||
LDKThirtyTwoBytes a;
|
||||
LDKCVecTempl_TxOut b;
|
||||
} LDKC2TupleTempl_ThirtyTwoBytes__CVecTempl_TxOut;
|
||||
|
||||
typedef LDKC2TupleTempl_ThirtyTwoBytes__CVecTempl_TxOut LDKC2Tuple_TxidCVec_TxOutZZ;
|
||||
|
@ -315,8 +315,8 @@ typedef LDKC2TupleTempl_ThirtyTwoBytes__CVecTempl_TxOut LDKC2Tuple_TxidCVec_TxOu
|
|||
typedef LDKCVecTempl_TxOut LDKCVec_TxOutZ;
|
||||
|
||||
typedef struct LDKC2TupleTempl_u64__u64 {
|
||||
uint64_t *a;
|
||||
uint64_t *b;
|
||||
uint64_t a;
|
||||
uint64_t b;
|
||||
} LDKC2TupleTempl_u64__u64;
|
||||
|
||||
typedef LDKC2TupleTempl_u64__u64 LDKC2Tuple_u64u64Z;
|
||||
|
@ -331,8 +331,8 @@ typedef struct LDKCVecTempl_Signature {
|
|||
} LDKCVecTempl_Signature;
|
||||
|
||||
typedef struct LDKC2TupleTempl_Signature__CVecTempl_Signature {
|
||||
LDKSignature *a;
|
||||
LDKCVecTempl_Signature *b;
|
||||
LDKSignature a;
|
||||
LDKCVecTempl_Signature b;
|
||||
} LDKC2TupleTempl_Signature__CVecTempl_Signature;
|
||||
|
||||
typedef LDKC2TupleTempl_Signature__CVecTempl_Signature LDKC2Tuple_SignatureCVec_SignatureZZ;
|
||||
|
@ -470,7 +470,7 @@ typedef LDKCResultTempl_u8__APIError LDKCResult_NoneAPIErrorZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKPaymentSendFailure {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativePaymentSendFailure *inner;
|
||||
|
@ -496,7 +496,7 @@ typedef LDKCResultTempl_u8__PaymentSendFailure LDKCResult_NonePaymentSendFailure
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelAnnouncement {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelAnnouncement *inner;
|
||||
|
@ -510,7 +510,7 @@ typedef struct MUST_USE_STRUCT LDKChannelAnnouncement {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelUpdate {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelUpdate *inner;
|
||||
|
@ -518,9 +518,9 @@ typedef struct MUST_USE_STRUCT LDKChannelUpdate {
|
|||
} LDKChannelUpdate;
|
||||
|
||||
typedef struct LDKC3TupleTempl_ChannelAnnouncement__ChannelUpdate__ChannelUpdate {
|
||||
LDKChannelAnnouncement *a;
|
||||
LDKChannelUpdate *b;
|
||||
LDKChannelUpdate *c;
|
||||
LDKChannelAnnouncement a;
|
||||
LDKChannelUpdate b;
|
||||
LDKChannelUpdate c;
|
||||
} LDKC3TupleTempl_ChannelAnnouncement__ChannelUpdate__ChannelUpdate;
|
||||
|
||||
typedef LDKC3TupleTempl_ChannelAnnouncement__ChannelUpdate__ChannelUpdate LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ;
|
||||
|
@ -536,7 +536,7 @@ typedef LDKC3TupleTempl_ChannelAnnouncement__ChannelUpdate__ChannelUpdate LDKC3T
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKPeerHandleError {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativePeerHandleError *inner;
|
||||
|
@ -562,7 +562,7 @@ typedef LDKCResultTempl_u8__PeerHandleError LDKCResult_NonePeerHandleErrorZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKHTLCOutputInCommitment {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeHTLCOutputInCommitment *inner;
|
||||
|
@ -570,8 +570,8 @@ typedef struct MUST_USE_STRUCT LDKHTLCOutputInCommitment {
|
|||
} LDKHTLCOutputInCommitment;
|
||||
|
||||
typedef struct LDKC2TupleTempl_HTLCOutputInCommitment__Signature {
|
||||
LDKHTLCOutputInCommitment *a;
|
||||
LDKSignature *b;
|
||||
LDKHTLCOutputInCommitment a;
|
||||
LDKSignature b;
|
||||
} LDKC2TupleTempl_HTLCOutputInCommitment__Signature;
|
||||
|
||||
typedef LDKC2TupleTempl_HTLCOutputInCommitment__Signature LDKC2Tuple_HTLCOutputInCommitmentSignatureZ;
|
||||
|
@ -801,7 +801,7 @@ typedef struct LDKEvent {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKAcceptChannel {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeAcceptChannel *inner;
|
||||
|
@ -815,7 +815,7 @@ typedef struct MUST_USE_STRUCT LDKAcceptChannel {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKOpenChannel {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeOpenChannel *inner;
|
||||
|
@ -829,7 +829,7 @@ typedef struct MUST_USE_STRUCT LDKOpenChannel {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKFundingCreated {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeFundingCreated *inner;
|
||||
|
@ -843,7 +843,7 @@ typedef struct MUST_USE_STRUCT LDKFundingCreated {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKFundingSigned {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeFundingSigned *inner;
|
||||
|
@ -857,7 +857,7 @@ typedef struct MUST_USE_STRUCT LDKFundingSigned {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKFundingLocked {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeFundingLocked *inner;
|
||||
|
@ -871,7 +871,7 @@ typedef struct MUST_USE_STRUCT LDKFundingLocked {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKAnnouncementSignatures {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeAnnouncementSignatures *inner;
|
||||
|
@ -886,7 +886,7 @@ typedef struct MUST_USE_STRUCT LDKAnnouncementSignatures {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKCommitmentUpdate {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeCommitmentUpdate *inner;
|
||||
|
@ -900,7 +900,7 @@ typedef struct MUST_USE_STRUCT LDKCommitmentUpdate {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKRevokeAndACK {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeRevokeAndACK *inner;
|
||||
|
@ -914,7 +914,7 @@ typedef struct MUST_USE_STRUCT LDKRevokeAndACK {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKClosingSigned {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeClosingSigned *inner;
|
||||
|
@ -928,7 +928,7 @@ typedef struct MUST_USE_STRUCT LDKClosingSigned {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKShutdown {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeShutdown *inner;
|
||||
|
@ -942,7 +942,7 @@ typedef struct MUST_USE_STRUCT LDKShutdown {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelReestablish {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelReestablish *inner;
|
||||
|
@ -956,7 +956,7 @@ typedef struct MUST_USE_STRUCT LDKChannelReestablish {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKNodeAnnouncement {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeNodeAnnouncement *inner;
|
||||
|
@ -970,7 +970,7 @@ typedef struct MUST_USE_STRUCT LDKNodeAnnouncement {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKErrorMessage {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeErrorMessage *inner;
|
||||
|
@ -1309,7 +1309,7 @@ typedef struct LDKLogger {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelHandshakeConfig {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelHandshakeConfig *inner;
|
||||
|
@ -1333,7 +1333,7 @@ typedef struct MUST_USE_STRUCT LDKChannelHandshakeConfig {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelHandshakeLimits {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelHandshakeLimits *inner;
|
||||
|
@ -1348,7 +1348,7 @@ typedef struct MUST_USE_STRUCT LDKChannelHandshakeLimits {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelConfig {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelConfig *inner;
|
||||
|
@ -1370,7 +1370,7 @@ typedef struct LDKu8slice {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUserConfig {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUserConfig *inner;
|
||||
|
@ -1413,7 +1413,7 @@ typedef struct LDKAccess {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelPublicKeys {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelPublicKeys *inner;
|
||||
|
@ -1430,7 +1430,7 @@ typedef struct MUST_USE_STRUCT LDKChannelPublicKeys {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKPreCalculatedTxCreationKeys {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativePreCalculatedTxCreationKeys *inner;
|
||||
|
@ -1453,7 +1453,7 @@ typedef LDKCVecTempl_HTLCOutputInCommitment LDKCVec_HTLCOutputInCommitmentZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKHolderCommitmentTransaction {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeHolderCommitmentTransaction *inner;
|
||||
|
@ -1467,7 +1467,7 @@ typedef struct MUST_USE_STRUCT LDKHolderCommitmentTransaction {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUnsignedChannelAnnouncement {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUnsignedChannelAnnouncement *inner;
|
||||
|
@ -1649,7 +1649,7 @@ typedef struct LDKChannelKeys {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelMonitor {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelMonitor *inner;
|
||||
|
@ -1664,7 +1664,7 @@ typedef struct MUST_USE_STRUCT LDKChannelMonitor {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelMonitorUpdate {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelMonitorUpdate *inner;
|
||||
|
@ -1678,7 +1678,7 @@ typedef struct MUST_USE_STRUCT LDKChannelMonitorUpdate {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKMonitorEvent {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeMonitorEvent *inner;
|
||||
|
@ -1836,7 +1836,7 @@ typedef struct LDKFeeEstimator {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChainMonitor {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChainMonitor *inner;
|
||||
|
@ -1861,7 +1861,7 @@ typedef LDKCVecTempl_C2TupleTempl_usize__Transaction LDKCVec_C2Tuple_usizeTransa
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKHTLCUpdate {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeHTLCUpdate *inner;
|
||||
|
@ -1924,7 +1924,7 @@ typedef struct LDKKeysInterface {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKInMemoryChannelKeys {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeInMemoryChannelKeys *inner;
|
||||
|
@ -1944,7 +1944,7 @@ typedef struct MUST_USE_STRUCT LDKInMemoryChannelKeys {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKKeysManager {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeKeysManager *inner;
|
||||
|
@ -1993,7 +1993,7 @@ typedef struct MUST_USE_STRUCT LDKKeysManager {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelManager {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelManager *inner;
|
||||
|
@ -2007,7 +2007,7 @@ typedef struct MUST_USE_STRUCT LDKChannelManager {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelDetails {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelDetails *inner;
|
||||
|
@ -2021,7 +2021,7 @@ typedef struct MUST_USE_STRUCT LDKChannelDetails {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKInitFeatures {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeInitFeatures *inner;
|
||||
|
@ -2043,7 +2043,7 @@ typedef LDKCVecTempl_ChannelDetails LDKCVec_ChannelDetailsZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKRoute {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeRoute *inner;
|
||||
|
@ -2140,7 +2140,7 @@ typedef LDKCVecTempl_NetAddress LDKCVec_NetAddressZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUpdateAddHTLC {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUpdateAddHTLC *inner;
|
||||
|
@ -2154,7 +2154,7 @@ typedef struct MUST_USE_STRUCT LDKUpdateAddHTLC {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUpdateFulfillHTLC {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUpdateFulfillHTLC *inner;
|
||||
|
@ -2168,7 +2168,7 @@ typedef struct MUST_USE_STRUCT LDKUpdateFulfillHTLC {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUpdateFailHTLC {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUpdateFailHTLC *inner;
|
||||
|
@ -2182,7 +2182,7 @@ typedef struct MUST_USE_STRUCT LDKUpdateFailHTLC {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUpdateFailMalformedHTLC {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUpdateFailMalformedHTLC *inner;
|
||||
|
@ -2196,7 +2196,7 @@ typedef struct MUST_USE_STRUCT LDKUpdateFailMalformedHTLC {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKCommitmentSigned {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeCommitmentSigned *inner;
|
||||
|
@ -2210,7 +2210,7 @@ typedef struct MUST_USE_STRUCT LDKCommitmentSigned {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUpdateFee {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUpdateFee *inner;
|
||||
|
@ -2224,7 +2224,7 @@ typedef struct MUST_USE_STRUCT LDKUpdateFee {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKInit {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeInit *inner;
|
||||
|
@ -2342,7 +2342,7 @@ typedef struct LDKChannelMessageHandler {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelManagerReadArgs {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelManagerReadArgs *inner;
|
||||
|
@ -2363,7 +2363,7 @@ typedef LDKCVecTempl_ChannelMonitor LDKCVec_ChannelMonitorZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKDecodeError {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeDecodeError *inner;
|
||||
|
@ -2377,7 +2377,7 @@ typedef struct MUST_USE_STRUCT LDKDecodeError {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKPing {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativePing *inner;
|
||||
|
@ -2391,7 +2391,7 @@ typedef struct MUST_USE_STRUCT LDKPing {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKPong {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativePong *inner;
|
||||
|
@ -2408,7 +2408,7 @@ typedef struct MUST_USE_STRUCT LDKPong {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKDataLossProtect {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeDataLossProtect *inner;
|
||||
|
@ -2422,7 +2422,7 @@ typedef struct MUST_USE_STRUCT LDKDataLossProtect {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUnsignedNodeAnnouncement {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUnsignedNodeAnnouncement *inner;
|
||||
|
@ -2436,7 +2436,7 @@ typedef struct MUST_USE_STRUCT LDKUnsignedNodeAnnouncement {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKNodeFeatures {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeNodeFeatures *inner;
|
||||
|
@ -2450,7 +2450,7 @@ typedef struct MUST_USE_STRUCT LDKNodeFeatures {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelFeatures {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelFeatures *inner;
|
||||
|
@ -2464,7 +2464,7 @@ typedef struct MUST_USE_STRUCT LDKChannelFeatures {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKUnsignedChannelUpdate {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeUnsignedChannelUpdate *inner;
|
||||
|
@ -2481,7 +2481,7 @@ typedef struct MUST_USE_STRUCT LDKUnsignedChannelUpdate {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKQueryChannelRange {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeQueryChannelRange *inner;
|
||||
|
@ -2501,7 +2501,7 @@ typedef struct MUST_USE_STRUCT LDKQueryChannelRange {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKReplyChannelRange {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeReplyChannelRange *inner;
|
||||
|
@ -2529,7 +2529,7 @@ typedef LDKCVecTempl_u64 LDKCVec_u64Z;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKQueryShortChannelIds {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeQueryShortChannelIds *inner;
|
||||
|
@ -2546,7 +2546,7 @@ typedef struct MUST_USE_STRUCT LDKQueryShortChannelIds {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKReplyShortChannelIdsEnd {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeReplyShortChannelIdsEnd *inner;
|
||||
|
@ -2562,7 +2562,7 @@ typedef struct MUST_USE_STRUCT LDKReplyShortChannelIdsEnd {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKGossipTimestampFilter {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeGossipTimestampFilter *inner;
|
||||
|
@ -2576,7 +2576,7 @@ typedef struct MUST_USE_STRUCT LDKGossipTimestampFilter {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKLightningError {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeLightningError *inner;
|
||||
|
@ -2688,7 +2688,7 @@ typedef struct LDKRoutingMessageHandler {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKMessageHandler {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeMessageHandler *inner;
|
||||
|
@ -2755,7 +2755,7 @@ typedef struct LDKSocketDescriptor {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKPeerManager {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativePeerManager *inner;
|
||||
|
@ -2834,7 +2834,7 @@ typedef LDKCResultTempl_PublicKey__Secp256k1Error LDKCResult_PublicKeySecpErrorZ
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKTxCreationKeys {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeTxCreationKeys *inner;
|
||||
|
@ -2867,7 +2867,7 @@ typedef LDKCVecTempl_C2TupleTempl_HTLCOutputInCommitment__Signature LDKCVec_C2Tu
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKRouteHop {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeRouteHop *inner;
|
||||
|
@ -2893,7 +2893,7 @@ typedef LDKCVecTempl_CVecTempl_RouteHop LDKCVec_CVec_RouteHopZZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKRouteHint {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeRouteHint *inner;
|
||||
|
@ -2907,7 +2907,7 @@ typedef struct MUST_USE_STRUCT LDKRouteHint {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKRoutingFees {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeRoutingFees *inner;
|
||||
|
@ -2933,7 +2933,7 @@ typedef LDKCResultTempl_Route__LightningError LDKCResult_RouteLightningErrorZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKNetworkGraph {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeNetworkGraph *inner;
|
||||
|
@ -2956,7 +2956,7 @@ typedef LDKCVecTempl_RouteHint LDKCVec_RouteHintZ;
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKLockedNetworkGraph {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeLockedNetworkGraph *inner;
|
||||
|
@ -2974,7 +2974,7 @@ typedef struct MUST_USE_STRUCT LDKLockedNetworkGraph {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKNetGraphMsgHandler {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeNetGraphMsgHandler *inner;
|
||||
|
@ -2989,7 +2989,7 @@ typedef struct MUST_USE_STRUCT LDKNetGraphMsgHandler {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKDirectionalChannelInfo {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeDirectionalChannelInfo *inner;
|
||||
|
@ -3004,7 +3004,7 @@ typedef struct MUST_USE_STRUCT LDKDirectionalChannelInfo {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKChannelInfo {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeChannelInfo *inner;
|
||||
|
@ -3018,7 +3018,7 @@ typedef struct MUST_USE_STRUCT LDKChannelInfo {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKNodeAnnouncementInfo {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeNodeAnnouncementInfo *inner;
|
||||
|
@ -3032,7 +3032,7 @@ typedef struct MUST_USE_STRUCT LDKNodeAnnouncementInfo {
|
|||
*/
|
||||
typedef struct MUST_USE_STRUCT LDKNodeInfo {
|
||||
/**
|
||||
* Nearly everyhwere, inner must be non-null, however in places where
|
||||
* Nearly everywhere, inner must be non-null, however in places where
|
||||
* the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
*/
|
||||
LDKnativeNodeInfo *inner;
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -19,10 +19,7 @@ pub type C2Tuple_usizeTransactionZ = crate::c_types::C2TupleTempl<usize, crate::
|
|||
pub static C2Tuple_usizeTransactionZ_free: extern "C" fn(C2Tuple_usizeTransactionZ) = crate::c_types::C2TupleTempl_free::<usize, crate::c_types::Transaction>;
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C2Tuple_usizeTransactionZ_new(a: usize, b: crate::c_types::Transaction) -> C2Tuple_usizeTransactionZ {
|
||||
C2Tuple_usizeTransactionZ {
|
||||
a: Box::into_raw(Box::new(a)),
|
||||
b: Box::into_raw(Box::new(b)),
|
||||
}
|
||||
C2Tuple_usizeTransactionZ { a, b, }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
@ -67,10 +64,7 @@ pub type C2Tuple_OutPointScriptZ = crate::c_types::C2TupleTempl<crate::chain::tr
|
|||
pub static C2Tuple_OutPointScriptZ_free: extern "C" fn(C2Tuple_OutPointScriptZ) = crate::c_types::C2TupleTempl_free::<crate::chain::transaction::OutPoint, crate::c_types::derived::CVec_u8Z>;
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C2Tuple_OutPointScriptZ_new(a: crate::chain::transaction::OutPoint, b: crate::c_types::derived::CVec_u8Z) -> C2Tuple_OutPointScriptZ {
|
||||
C2Tuple_OutPointScriptZ {
|
||||
a: Box::into_raw(Box::new(a)),
|
||||
b: Box::into_raw(Box::new(b)),
|
||||
}
|
||||
C2Tuple_OutPointScriptZ { a, b, }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
@ -89,10 +83,7 @@ pub type C2Tuple_TxidCVec_TxOutZZ = crate::c_types::C2TupleTempl<crate::c_types:
|
|||
pub static C2Tuple_TxidCVec_TxOutZZ_free: extern "C" fn(C2Tuple_TxidCVec_TxOutZZ) = crate::c_types::C2TupleTempl_free::<crate::c_types::ThirtyTwoBytes, crate::c_types::CVecTempl<crate::c_types::TxOut>>;
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C2Tuple_TxidCVec_TxOutZZ_new(a: crate::c_types::ThirtyTwoBytes, b: crate::c_types::derived::CVec_TxOutZ) -> C2Tuple_TxidCVec_TxOutZZ {
|
||||
C2Tuple_TxidCVec_TxOutZZ {
|
||||
a: Box::into_raw(Box::new(a)),
|
||||
b: Box::into_raw(Box::new(b)),
|
||||
}
|
||||
C2Tuple_TxidCVec_TxOutZZ { a, b, }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
@ -106,10 +97,7 @@ pub type C2Tuple_u64u64Z = crate::c_types::C2TupleTempl<u64, u64>;
|
|||
pub static C2Tuple_u64u64Z_free: extern "C" fn(C2Tuple_u64u64Z) = crate::c_types::C2TupleTempl_free::<u64, u64>;
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C2Tuple_u64u64Z_new(a: u64, b: u64) -> C2Tuple_u64u64Z {
|
||||
C2Tuple_u64u64Z {
|
||||
a: Box::into_raw(Box::new(a)),
|
||||
b: Box::into_raw(Box::new(b)),
|
||||
}
|
||||
C2Tuple_u64u64Z { a, b, }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
@ -128,10 +116,7 @@ pub type C2Tuple_SignatureCVec_SignatureZZ = crate::c_types::C2TupleTempl<crate:
|
|||
pub static C2Tuple_SignatureCVec_SignatureZZ_free: extern "C" fn(C2Tuple_SignatureCVec_SignatureZZ) = crate::c_types::C2TupleTempl_free::<crate::c_types::Signature, crate::c_types::CVecTempl<crate::c_types::Signature>>;
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C2Tuple_SignatureCVec_SignatureZZ_new(a: crate::c_types::Signature, b: crate::c_types::derived::CVec_SignatureZ) -> C2Tuple_SignatureCVec_SignatureZZ {
|
||||
C2Tuple_SignatureCVec_SignatureZZ {
|
||||
a: Box::into_raw(Box::new(a)),
|
||||
b: Box::into_raw(Box::new(b)),
|
||||
}
|
||||
C2Tuple_SignatureCVec_SignatureZZ { a, b, }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
@ -269,11 +254,7 @@ pub type C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ = crate::c_types
|
|||
pub static C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free: extern "C" fn(C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ) = crate::c_types::C3TupleTempl_free::<crate::ln::msgs::ChannelAnnouncement, crate::ln::msgs::ChannelUpdate, crate::ln::msgs::ChannelUpdate>;
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new(a: crate::ln::msgs::ChannelAnnouncement, b: crate::ln::msgs::ChannelUpdate, c: crate::ln::msgs::ChannelUpdate) -> C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ {
|
||||
C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ {
|
||||
a: Box::into_raw(Box::new(a)),
|
||||
b: Box::into_raw(Box::new(b)),
|
||||
c: Box::into_raw(Box::new(c)),
|
||||
}
|
||||
C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ { a, b, c, }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
@ -375,10 +356,7 @@ pub type C2Tuple_HTLCOutputInCommitmentSignatureZ = crate::c_types::C2TupleTempl
|
|||
pub static C2Tuple_HTLCOutputInCommitmentSignatureZ_free: extern "C" fn(C2Tuple_HTLCOutputInCommitmentSignatureZ) = crate::c_types::C2TupleTempl_free::<crate::ln::chan_utils::HTLCOutputInCommitment, crate::c_types::Signature>;
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C2Tuple_HTLCOutputInCommitmentSignatureZ_new(a: crate::ln::chan_utils::HTLCOutputInCommitment, b: crate::c_types::Signature) -> C2Tuple_HTLCOutputInCommitmentSignatureZ {
|
||||
C2Tuple_HTLCOutputInCommitmentSignatureZ {
|
||||
a: Box::into_raw(Box::new(a)),
|
||||
b: Box::into_raw(Box::new(b)),
|
||||
}
|
||||
C2Tuple_HTLCOutputInCommitmentSignatureZ { a, b, }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
|
|
@ -41,7 +41,7 @@ type nativeChainMonitor = nativeChainMonitorImport<crate::chain::keysinterface::
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChainMonitor {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChainMonitor,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -26,7 +26,7 @@ type nativeChannelMonitorUpdate = nativeChannelMonitorUpdateImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelMonitorUpdate {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelMonitorUpdate,
|
||||
pub is_owned: bool,
|
||||
|
@ -209,7 +209,7 @@ type nativeMonitorUpdateError = nativeMonitorUpdateErrorImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct MonitorUpdateError {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeMonitorUpdateError,
|
||||
pub is_owned: bool,
|
||||
|
@ -247,7 +247,7 @@ type nativeMonitorEvent = nativeMonitorEventImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct MonitorEvent {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeMonitorEvent,
|
||||
pub is_owned: bool,
|
||||
|
@ -289,7 +289,7 @@ type nativeHTLCUpdate = nativeHTLCUpdateImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct HTLCUpdate {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeHTLCUpdate,
|
||||
pub is_owned: bool,
|
||||
|
@ -361,7 +361,7 @@ type nativeChannelMonitor = nativeChannelMonitorImport<crate::chain::keysinterfa
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelMonitor {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelMonitor,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -548,7 +548,7 @@ type nativeInMemoryChannelKeys = nativeInMemoryChannelKeysImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct InMemoryChannelKeys {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeInMemoryChannelKeys,
|
||||
pub is_owned: bool,
|
||||
|
@ -823,7 +823,7 @@ type nativeKeysManager = nativeKeysManagerImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct KeysManager {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeKeysManager,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -15,7 +15,7 @@ type nativeOutPoint = nativeOutPointImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct OutPoint {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeOutPoint,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -90,7 +90,7 @@ type nativeTxCreationKeys = nativeTxCreationKeysImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct TxCreationKeys {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeTxCreationKeys,
|
||||
pub is_owned: bool,
|
||||
|
@ -226,7 +226,7 @@ type nativePreCalculatedTxCreationKeys = nativePreCalculatedTxCreationKeysImport
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct PreCalculatedTxCreationKeys {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativePreCalculatedTxCreationKeys,
|
||||
pub is_owned: bool,
|
||||
|
@ -289,7 +289,7 @@ type nativeChannelPublicKeys = nativeChannelPublicKeysImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelPublicKeys {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelPublicKeys,
|
||||
pub is_owned: bool,
|
||||
|
@ -454,7 +454,7 @@ type nativeHTLCOutputInCommitment = nativeHTLCOutputInCommitmentImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct HTLCOutputInCommitment {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeHTLCOutputInCommitment,
|
||||
pub is_owned: bool,
|
||||
|
@ -595,7 +595,7 @@ type nativeHolderCommitmentTransaction = nativeHolderCommitmentTransactionImport
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct HolderCommitmentTransaction {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeHolderCommitmentTransaction,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -56,7 +56,7 @@ type nativeChannelManager = nativeChannelManagerImport<crate::chain::keysinterfa
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelManager {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelManager,
|
||||
pub is_owned: bool,
|
||||
|
@ -94,7 +94,7 @@ type nativeChannelDetails = nativeChannelDetailsImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelDetails {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelDetails,
|
||||
pub is_owned: bool,
|
||||
|
@ -248,7 +248,7 @@ type nativePaymentSendFailure = nativePaymentSendFailureImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct PaymentSendFailure {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativePaymentSendFailure,
|
||||
pub is_owned: bool,
|
||||
|
@ -705,7 +705,7 @@ type nativeChannelManagerReadArgs = nativeChannelManagerReadArgsImport<'static,
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelManagerReadArgs {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelManagerReadArgs,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -28,7 +28,7 @@ type nativeInitFeatures = nativeInitFeaturesImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct InitFeatures {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeInitFeatures,
|
||||
pub is_owned: bool,
|
||||
|
@ -66,7 +66,7 @@ type nativeNodeFeatures = nativeNodeFeaturesImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct NodeFeatures {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeNodeFeatures,
|
||||
pub is_owned: bool,
|
||||
|
@ -104,7 +104,7 @@ type nativeChannelFeatures = nativeChannelFeaturesImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelFeatures {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelFeatures,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -27,7 +27,7 @@ type nativeDecodeError = nativeDecodeErrorImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct DecodeError {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeDecodeError,
|
||||
pub is_owned: bool,
|
||||
|
@ -65,7 +65,7 @@ type nativeInit = nativeInitImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct Init {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeInit,
|
||||
pub is_owned: bool,
|
||||
|
@ -103,7 +103,7 @@ type nativeErrorMessage = nativeErrorMessageImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ErrorMessage {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeErrorMessage,
|
||||
pub is_owned: bool,
|
||||
|
@ -190,7 +190,7 @@ type nativePing = nativePingImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct Ping {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativePing,
|
||||
pub is_owned: bool,
|
||||
|
@ -260,7 +260,7 @@ type nativePong = nativePongImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct Pong {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativePong,
|
||||
pub is_owned: bool,
|
||||
|
@ -318,7 +318,7 @@ type nativeOpenChannel = nativeOpenChannelImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct OpenChannel {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeOpenChannel,
|
||||
pub is_owned: bool,
|
||||
|
@ -567,7 +567,7 @@ type nativeAcceptChannel = nativeAcceptChannelImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct AcceptChannel {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeAcceptChannel,
|
||||
pub is_owned: bool,
|
||||
|
@ -772,7 +772,7 @@ type nativeFundingCreated = nativeFundingCreatedImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct FundingCreated {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeFundingCreated,
|
||||
pub is_owned: bool,
|
||||
|
@ -877,7 +877,7 @@ type nativeFundingSigned = nativeFundingSignedImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct FundingSigned {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeFundingSigned,
|
||||
pub is_owned: bool,
|
||||
|
@ -958,7 +958,7 @@ type nativeFundingLocked = nativeFundingLockedImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct FundingLocked {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeFundingLocked,
|
||||
pub is_owned: bool,
|
||||
|
@ -1039,7 +1039,7 @@ type nativeShutdown = nativeShutdownImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct Shutdown {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeShutdown,
|
||||
pub is_owned: bool,
|
||||
|
@ -1122,7 +1122,7 @@ type nativeClosingSigned = nativeClosingSignedImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ClosingSigned {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeClosingSigned,
|
||||
pub is_owned: bool,
|
||||
|
@ -1215,7 +1215,7 @@ type nativeUpdateAddHTLC = nativeUpdateAddHTLCImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UpdateAddHTLC {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUpdateAddHTLC,
|
||||
pub is_owned: bool,
|
||||
|
@ -1321,7 +1321,7 @@ type nativeUpdateFulfillHTLC = nativeUpdateFulfillHTLCImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UpdateFulfillHTLC {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUpdateFulfillHTLC,
|
||||
pub is_owned: bool,
|
||||
|
@ -1414,7 +1414,7 @@ type nativeUpdateFailHTLC = nativeUpdateFailHTLCImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UpdateFailHTLC {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUpdateFailHTLC,
|
||||
pub is_owned: bool,
|
||||
|
@ -1487,7 +1487,7 @@ type nativeUpdateFailMalformedHTLC = nativeUpdateFailMalformedHTLCImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UpdateFailMalformedHTLC {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUpdateFailMalformedHTLC,
|
||||
pub is_owned: bool,
|
||||
|
@ -1571,7 +1571,7 @@ type nativeCommitmentSigned = nativeCommitmentSignedImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct CommitmentSigned {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeCommitmentSigned,
|
||||
pub is_owned: bool,
|
||||
|
@ -1660,7 +1660,7 @@ type nativeRevokeAndACK = nativeRevokeAndACKImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct RevokeAndACK {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeRevokeAndACK,
|
||||
pub is_owned: bool,
|
||||
|
@ -1753,7 +1753,7 @@ type nativeUpdateFee = nativeUpdateFeeImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UpdateFee {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUpdateFee,
|
||||
pub is_owned: bool,
|
||||
|
@ -1837,7 +1837,7 @@ type nativeDataLossProtect = nativeDataLossProtectImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct DataLossProtect {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeDataLossProtect,
|
||||
pub is_owned: bool,
|
||||
|
@ -1920,7 +1920,7 @@ type nativeChannelReestablish = nativeChannelReestablishImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelReestablish {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelReestablish,
|
||||
pub is_owned: bool,
|
||||
|
@ -2004,7 +2004,7 @@ type nativeAnnouncementSignatures = nativeAnnouncementSignaturesImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct AnnouncementSignatures {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeAnnouncementSignatures,
|
||||
pub is_owned: bool,
|
||||
|
@ -2288,7 +2288,7 @@ type nativeUnsignedNodeAnnouncement = nativeUnsignedNodeAnnouncementImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UnsignedNodeAnnouncement {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUnsignedNodeAnnouncement,
|
||||
pub is_owned: bool,
|
||||
|
@ -2404,7 +2404,7 @@ type nativeNodeAnnouncement = nativeNodeAnnouncementImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct NodeAnnouncement {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeNodeAnnouncement,
|
||||
pub is_owned: bool,
|
||||
|
@ -2485,7 +2485,7 @@ type nativeUnsignedChannelAnnouncement = nativeUnsignedChannelAnnouncementImport
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UnsignedChannelAnnouncement {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUnsignedChannelAnnouncement,
|
||||
pub is_owned: bool,
|
||||
|
@ -2613,7 +2613,7 @@ type nativeChannelAnnouncement = nativeChannelAnnouncementImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelAnnouncement {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelAnnouncement,
|
||||
pub is_owned: bool,
|
||||
|
@ -2730,7 +2730,7 @@ type nativeUnsignedChannelUpdate = nativeUnsignedChannelUpdateImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UnsignedChannelUpdate {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUnsignedChannelUpdate,
|
||||
pub is_owned: bool,
|
||||
|
@ -2869,7 +2869,7 @@ type nativeChannelUpdate = nativeChannelUpdateImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelUpdate {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelUpdate,
|
||||
pub is_owned: bool,
|
||||
|
@ -2953,7 +2953,7 @@ type nativeQueryChannelRange = nativeQueryChannelRangeImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct QueryChannelRange {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeQueryChannelRange,
|
||||
pub is_owned: bool,
|
||||
|
@ -3052,7 +3052,7 @@ type nativeReplyChannelRange = nativeReplyChannelRangeImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ReplyChannelRange {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeReplyChannelRange,
|
||||
pub is_owned: bool,
|
||||
|
@ -3174,7 +3174,7 @@ type nativeQueryShortChannelIds = nativeQueryShortChannelIdsImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct QueryShortChannelIds {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeQueryShortChannelIds,
|
||||
pub is_owned: bool,
|
||||
|
@ -3254,7 +3254,7 @@ type nativeReplyShortChannelIdsEnd = nativeReplyShortChannelIdsEndImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ReplyShortChannelIdsEnd {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeReplyShortChannelIdsEnd,
|
||||
pub is_owned: bool,
|
||||
|
@ -3339,7 +3339,7 @@ type nativeGossipTimestampFilter = nativeGossipTimestampFilterImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct GossipTimestampFilter {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeGossipTimestampFilter,
|
||||
pub is_owned: bool,
|
||||
|
@ -3525,7 +3525,7 @@ type nativeLightningError = nativeLightningErrorImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct LightningError {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeLightningError,
|
||||
pub is_owned: bool,
|
||||
|
@ -3594,7 +3594,7 @@ type nativeCommitmentUpdate = nativeCommitmentUpdateImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct CommitmentUpdate {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeCommitmentUpdate,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -18,7 +18,7 @@ type nativeMessageHandler = nativeMessageHandlerImport<crate::ln::msgs::ChannelM
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct MessageHandler {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeMessageHandler,
|
||||
pub is_owned: bool,
|
||||
|
@ -186,7 +186,7 @@ type nativePeerHandleError = nativePeerHandleErrorImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct PeerHandleError {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativePeerHandleError,
|
||||
pub is_owned: bool,
|
||||
|
@ -251,7 +251,7 @@ type nativePeerManager = nativePeerManagerImport<crate::ln::peer_handler::Socket
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct PeerManager {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativePeerManager,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -12,7 +12,7 @@ type nativeNetworkGraph = nativeNetworkGraphImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct NetworkGraph {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeNetworkGraph,
|
||||
pub is_owned: bool,
|
||||
|
@ -52,7 +52,7 @@ type nativeLockedNetworkGraph = nativeLockedNetworkGraphImport<'static>;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct LockedNetworkGraph {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeLockedNetworkGraph,
|
||||
pub is_owned: bool,
|
||||
|
@ -94,7 +94,7 @@ type nativeNetGraphMsgHandler = nativeNetGraphMsgHandlerImport<crate::chain::Acc
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct NetGraphMsgHandler {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeNetGraphMsgHandler,
|
||||
pub is_owned: bool,
|
||||
|
@ -230,7 +230,7 @@ type nativeDirectionalChannelInfo = nativeDirectionalChannelInfoImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct DirectionalChannelInfo {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeDirectionalChannelInfo,
|
||||
pub is_owned: bool,
|
||||
|
@ -346,7 +346,7 @@ type nativeChannelInfo = nativeChannelInfoImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelInfo {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelInfo,
|
||||
pub is_owned: bool,
|
||||
|
@ -474,7 +474,7 @@ type nativeRoutingFees = nativeRoutingFeesImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct RoutingFees {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeRoutingFees,
|
||||
pub is_owned: bool,
|
||||
|
@ -569,7 +569,7 @@ type nativeNodeAnnouncementInfo = nativeNodeAnnouncementInfoImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct NodeAnnouncementInfo {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeNodeAnnouncementInfo,
|
||||
pub is_owned: bool,
|
||||
|
@ -708,7 +708,7 @@ type nativeNodeInfo = nativeNodeInfoImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct NodeInfo {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeNodeInfo,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -15,7 +15,7 @@ type nativeRouteHop = nativeRouteHopImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct RouteHop {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeRouteHop,
|
||||
pub is_owned: bool,
|
||||
|
@ -151,7 +151,7 @@ type nativeRoute = nativeRouteImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct Route {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeRoute,
|
||||
pub is_owned: bool,
|
||||
|
@ -233,7 +233,7 @@ type nativeRouteHint = nativeRouteHintImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct RouteHint {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeRouteHint,
|
||||
pub is_owned: bool,
|
||||
|
|
|
@ -15,7 +15,7 @@ type nativeChannelHandshakeConfig = nativeChannelHandshakeConfigImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelHandshakeConfig {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelHandshakeConfig,
|
||||
pub is_owned: bool,
|
||||
|
@ -165,7 +165,7 @@ type nativeChannelHandshakeLimits = nativeChannelHandshakeLimitsImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelHandshakeLimits {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelHandshakeLimits,
|
||||
pub is_owned: bool,
|
||||
|
@ -434,7 +434,7 @@ type nativeChannelConfig = nativeChannelConfigImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct ChannelConfig {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeChannelConfig,
|
||||
pub is_owned: bool,
|
||||
|
@ -595,7 +595,7 @@ type nativeUserConfig = nativeUserConfigImport;
|
|||
#[must_use]
|
||||
#[repr(C)]
|
||||
pub struct UserConfig {
|
||||
/// Nearly everyhwere, inner must be non-null, however in places where
|
||||
/// Nearly everywhere, inner must be non-null, however in places where
|
||||
/// the Rust equivalent takes an Option, it may be set to null to indicate None.
|
||||
pub inner: *mut nativeUserConfig,
|
||||
pub is_owned: bool,
|
||||
|
|
Loading…
Add table
Reference in a new issue