X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2Finclude%2Fldk_rust_types.h;h=97f76fbe937b4240d6b8538c6256eeb8d0cf799c;hb=f10bdbea94cd8c638a42ab637a52e86a7cfd8157;hp=a68b1dd31432eacadb549ec880e0a32051011096;hpb=5271372bfe3ddc870c806f7b7ee13c4a7660e7e5;p=ldk-c-bindings diff --git a/lightning-c-bindings/include/ldk_rust_types.h b/lightning-c-bindings/include/ldk_rust_types.h index a68b1dd..97f76fb 100644 --- a/lightning-c-bindings/include/ldk_rust_types.h +++ b/lightning-c-bindings/include/ldk_rust_types.h @@ -10,6 +10,8 @@ #else #define NONNULL_PTR #endif +struct nativeCounterpartyCommitmentSecretsOpaque; +typedef struct nativeCounterpartyCommitmentSecretsOpaque LDKnativeCounterpartyCommitmentSecrets; struct nativeTxCreationKeysOpaque; typedef struct nativeTxCreationKeysOpaque LDKnativeTxCreationKeys; struct nativeChannelPublicKeysOpaque; @@ -46,8 +48,8 @@ struct nativeRouteOpaque; typedef struct nativeRouteOpaque LDKnativeRoute; struct nativeRouteParametersOpaque; typedef struct nativeRouteParametersOpaque LDKnativeRouteParameters; -struct nativePayeeOpaque; -typedef struct nativePayeeOpaque LDKnativePayee; +struct nativePaymentParametersOpaque; +typedef struct nativePaymentParametersOpaque LDKnativePaymentParameters; struct nativeRouteHintOpaque; typedef struct nativeRouteHintOpaque LDKnativeRouteHint; struct nativeRouteHintHopOpaque; @@ -56,8 +58,16 @@ struct nativeBestBlockOpaque; typedef struct nativeBestBlockOpaque LDKnativeBestBlock; struct nativeWatchedOutputOpaque; typedef struct nativeWatchedOutputOpaque LDKnativeWatchedOutput; -struct nativeLockableScoreOpaque; -typedef struct nativeLockableScoreOpaque LDKnativeLockableScore; +struct nativeMultiThreadedLockableScoreOpaque; +typedef struct nativeMultiThreadedLockableScoreOpaque LDKnativeMultiThreadedLockableScore; +struct nativeChannelUsageOpaque; +typedef struct nativeChannelUsageOpaque LDKnativeChannelUsage; +struct nativeFixedPenaltyScorerOpaque; +typedef struct nativeFixedPenaltyScorerOpaque LDKnativeFixedPenaltyScorer; +struct nativeProbabilisticScorerOpaque; +typedef struct nativeProbabilisticScorerOpaque LDKnativeProbabilisticScorer; +struct nativeProbabilisticScoringParametersOpaque; +typedef struct nativeProbabilisticScoringParametersOpaque LDKnativeProbabilisticScoringParameters; struct nativeInitFeaturesOpaque; typedef struct nativeInitFeaturesOpaque LDKnativeInitFeatures; struct nativeNodeFeaturesOpaque; @@ -66,10 +76,30 @@ struct nativeChannelFeaturesOpaque; typedef struct nativeChannelFeaturesOpaque LDKnativeChannelFeatures; struct nativeInvoiceFeaturesOpaque; typedef struct nativeInvoiceFeaturesOpaque LDKnativeInvoiceFeatures; -struct nativeScorerOpaque; -typedef struct nativeScorerOpaque LDKnativeScorer; -struct nativeScoringParametersOpaque; -typedef struct nativeScoringParametersOpaque LDKnativeScoringParameters; +struct nativeChannelTypeFeaturesOpaque; +typedef struct nativeChannelTypeFeaturesOpaque LDKnativeChannelTypeFeatures; +struct nativeNodeIdOpaque; +typedef struct nativeNodeIdOpaque LDKnativeNodeId; +struct nativeNetworkGraphOpaque; +typedef struct nativeNetworkGraphOpaque LDKnativeNetworkGraph; +struct nativeReadOnlyNetworkGraphOpaque; +typedef struct nativeReadOnlyNetworkGraphOpaque LDKnativeReadOnlyNetworkGraph; +struct nativeP2PGossipSyncOpaque; +typedef struct nativeP2PGossipSyncOpaque LDKnativeP2PGossipSync; +struct nativeChannelUpdateInfoOpaque; +typedef struct nativeChannelUpdateInfoOpaque LDKnativeChannelUpdateInfo; +struct nativeChannelInfoOpaque; +typedef struct nativeChannelInfoOpaque LDKnativeChannelInfo; +struct nativeDirectedChannelInfoOpaque; +typedef struct nativeDirectedChannelInfoOpaque LDKnativeDirectedChannelInfo; +struct nativeRoutingFeesOpaque; +typedef struct nativeRoutingFeesOpaque LDKnativeRoutingFees; +struct nativeNodeAnnouncementInfoOpaque; +typedef struct nativeNodeAnnouncementInfoOpaque LDKnativeNodeAnnouncementInfo; +struct nativeNodeAliasOpaque; +typedef struct nativeNodeAliasOpaque LDKnativeNodeAlias; +struct nativeNodeInfoOpaque; +typedef struct nativeNodeInfoOpaque LDKnativeNodeInfo; struct nativeDelayedPaymentOutputDescriptorOpaque; typedef struct nativeDelayedPaymentOutputDescriptorOpaque LDKnativeDelayedPaymentOutputDescriptor; struct nativeStaticPaymentOutputDescriptorOpaque; @@ -79,6 +109,8 @@ struct nativeInMemorySignerOpaque; typedef struct nativeInMemorySignerOpaque LDKnativeInMemorySigner; struct nativeKeysManagerOpaque; typedef struct nativeKeysManagerOpaque LDKnativeKeysManager; +struct nativePhantomKeysManagerOpaque; +typedef struct nativePhantomKeysManagerOpaque LDKnativePhantomKeysManager; struct nativeFilesystemPersisterOpaque; typedef struct nativeFilesystemPersisterOpaque LDKnativeFilesystemPersister; struct nativeChannelManagerOpaque; @@ -91,6 +123,8 @@ struct nativeChannelCounterpartyOpaque; typedef struct nativeChannelCounterpartyOpaque LDKnativeChannelCounterparty; struct nativeChannelDetailsOpaque; typedef struct nativeChannelDetailsOpaque LDKnativeChannelDetails; +struct nativePhantomRouteHintsOpaque; +typedef struct nativePhantomRouteHintsOpaque LDKnativePhantomRouteHints; struct nativeChannelManagerReadArgsOpaque; typedef struct nativeChannelManagerReadArgsOpaque LDKnativeChannelManagerReadArgs; struct nativeChannelHandshakeConfigOpaque; @@ -101,12 +135,14 @@ struct nativeChannelConfigOpaque; typedef struct nativeChannelConfigOpaque LDKnativeChannelConfig; struct nativeUserConfigOpaque; typedef struct nativeUserConfigOpaque LDKnativeUserConfig; +struct nativeBigSizeOpaque; +typedef struct nativeBigSizeOpaque LDKnativeBigSize; +struct nativeHostnameOpaque; +typedef struct nativeHostnameOpaque LDKnativeHostname; struct nativeOutPointOpaque; typedef struct nativeOutPointOpaque LDKnativeOutPoint; struct nativeInvoicePayerOpaque; typedef struct nativeInvoicePayerOpaque LDKnativeInvoicePayer; -struct nativeRetryAttemptsOpaque; -typedef struct nativeRetryAttemptsOpaque LDKnativeRetryAttempts; struct nativeInvoiceOpaque; typedef struct nativeInvoiceOpaque LDKnativeInvoice; struct nativeSignedRawInvoiceOpaque; @@ -133,12 +169,12 @@ struct nativePrivateRouteOpaque; typedef struct nativePrivateRouteOpaque LDKnativePrivateRoute; struct nativeChannelMonitorUpdateOpaque; typedef struct nativeChannelMonitorUpdateOpaque LDKnativeChannelMonitorUpdate; -struct nativeMonitorUpdateErrorOpaque; -typedef struct nativeMonitorUpdateErrorOpaque LDKnativeMonitorUpdateError; struct nativeHTLCUpdateOpaque; typedef struct nativeHTLCUpdateOpaque LDKnativeHTLCUpdate; struct nativeChannelMonitorOpaque; typedef struct nativeChannelMonitorOpaque LDKnativeChannelMonitor; +struct nativeExpandedKeyOpaque; +typedef struct nativeExpandedKeyOpaque LDKnativeExpandedKey; struct nativeIgnoringMessageHandlerOpaque; typedef struct nativeIgnoringMessageHandlerOpaque LDKnativeIgnoringMessageHandler; struct nativeErroringMessageHandlerOpaque; @@ -149,30 +185,16 @@ struct nativePeerHandleErrorOpaque; typedef struct nativePeerHandleErrorOpaque LDKnativePeerHandleError; struct nativePeerManagerOpaque; typedef struct nativePeerManagerOpaque LDKnativePeerManager; -struct nativeNodeIdOpaque; -typedef struct nativeNodeIdOpaque LDKnativeNodeId; -struct nativeNetworkGraphOpaque; -typedef struct nativeNetworkGraphOpaque LDKnativeNetworkGraph; -struct nativeReadOnlyNetworkGraphOpaque; -typedef struct nativeReadOnlyNetworkGraphOpaque LDKnativeReadOnlyNetworkGraph; -struct nativeNetGraphMsgHandlerOpaque; -typedef struct nativeNetGraphMsgHandlerOpaque LDKnativeNetGraphMsgHandler; -struct nativeDirectionalChannelInfoOpaque; -typedef struct nativeDirectionalChannelInfoOpaque LDKnativeDirectionalChannelInfo; -struct nativeChannelInfoOpaque; -typedef struct nativeChannelInfoOpaque LDKnativeChannelInfo; -struct nativeRoutingFeesOpaque; -typedef struct nativeRoutingFeesOpaque LDKnativeRoutingFees; -struct nativeNodeAnnouncementInfoOpaque; -typedef struct nativeNodeAnnouncementInfoOpaque LDKnativeNodeAnnouncementInfo; -struct nativeNodeInfoOpaque; -typedef struct nativeNodeInfoOpaque LDKnativeNodeInfo; +struct nativeRapidGossipSyncOpaque; +typedef struct nativeRapidGossipSyncOpaque LDKnativeRapidGossipSync; struct nativeDecodeErrorOpaque; typedef struct nativeDecodeErrorOpaque LDKnativeDecodeError; struct nativeInitOpaque; typedef struct nativeInitOpaque LDKnativeInit; struct nativeErrorMessageOpaque; typedef struct nativeErrorMessageOpaque LDKnativeErrorMessage; +struct nativeWarningMessageOpaque; +typedef struct nativeWarningMessageOpaque LDKnativeWarningMessage; struct nativePingOpaque; typedef struct nativePingOpaque LDKnativePing; struct nativePongOpaque; @@ -185,8 +207,8 @@ struct nativeFundingCreatedOpaque; typedef struct nativeFundingCreatedOpaque LDKnativeFundingCreated; struct nativeFundingSignedOpaque; typedef struct nativeFundingSignedOpaque LDKnativeFundingSigned; -struct nativeFundingLockedOpaque; -typedef struct nativeFundingLockedOpaque LDKnativeFundingLocked; +struct nativeChannelReadyOpaque; +typedef struct nativeChannelReadyOpaque LDKnativeChannelReady; struct nativeShutdownOpaque; typedef struct nativeShutdownOpaque LDKnativeShutdown; struct nativeClosingSignedFeeRangeOpaque; @@ -241,6 +263,8 @@ struct nativeCommitmentUpdateOpaque; typedef struct nativeCommitmentUpdateOpaque LDKnativeCommitmentUpdate; struct nativeDefaultRouterOpaque; typedef struct nativeDefaultRouterOpaque LDKnativeDefaultRouter; +struct nativeRecordOpaque; +typedef struct nativeRecordOpaque LDKnativeRecord; struct nativeMonitorUpdateIdOpaque; typedef struct nativeMonitorUpdateIdOpaque LDKnativeMonitorUpdateId; struct nativeLockedChannelMonitorOpaque;