+ // void BlindedPath_free(struct LDKBlindedPath this_obj);
+ public static native void BlindedPath_free(long this_obj);
+ // uint64_t BlindedPath_clone_ptr(LDKBlindedPath *NONNULL_PTR arg);
+ public static native long BlindedPath_clone_ptr(long arg);
+ // struct LDKBlindedPath BlindedPath_clone(const struct LDKBlindedPath *NONNULL_PTR orig);
+ public static native long BlindedPath_clone(long orig);
+ // uint64_t BlindedPath_hash(const struct LDKBlindedPath *NONNULL_PTR o);
+ public static native long BlindedPath_hash(long o);
+ // bool BlindedPath_eq(const struct LDKBlindedPath *NONNULL_PTR a, const struct LDKBlindedPath *NONNULL_PTR b);
+ public static native boolean BlindedPath_eq(long a, long b);
+ // void BlindedHop_free(struct LDKBlindedHop this_obj);
+ public static native void BlindedHop_free(long this_obj);
+ // uint64_t BlindedHop_clone_ptr(LDKBlindedHop *NONNULL_PTR arg);
+ public static native long BlindedHop_clone_ptr(long arg);
+ // struct LDKBlindedHop BlindedHop_clone(const struct LDKBlindedHop *NONNULL_PTR orig);
+ public static native long BlindedHop_clone(long orig);
+ // uint64_t BlindedHop_hash(const struct LDKBlindedHop *NONNULL_PTR o);
+ public static native long BlindedHop_hash(long o);
+ // bool BlindedHop_eq(const struct LDKBlindedHop *NONNULL_PTR a, const struct LDKBlindedHop *NONNULL_PTR b);
+ public static native boolean BlindedHop_eq(long a, long b);
+ // MUST_USE_RES struct LDKCResult_BlindedPathNoneZ BlindedPath_new_for_message(struct LDKCVec_PublicKeyZ node_pks, const struct LDKEntropySource *NONNULL_PTR entropy_source);
+ public static native long BlindedPath_new_for_message(byte[][] node_pks, long entropy_source);
+ // struct LDKCVec_u8Z BlindedPath_write(const struct LDKBlindedPath *NONNULL_PTR obj);
+ public static native byte[] BlindedPath_write(long obj);
+ // struct LDKCResult_BlindedPathDecodeErrorZ BlindedPath_read(struct LDKu8slice ser);
+ public static native long BlindedPath_read(byte[] ser);
+ // struct LDKCVec_u8Z BlindedHop_write(const struct LDKBlindedHop *NONNULL_PTR obj);
+ public static native byte[] BlindedHop_write(long obj);
+ // struct LDKCResult_BlindedHopDecodeErrorZ BlindedHop_read(struct LDKu8slice ser);
+ public static native long BlindedHop_read(byte[] ser);
+ // void PaymentPurpose_free(struct LDKPaymentPurpose this_ptr);
+ public static native void PaymentPurpose_free(long this_ptr);
+ // uint64_t PaymentPurpose_clone_ptr(LDKPaymentPurpose *NONNULL_PTR arg);
+ public static native long PaymentPurpose_clone_ptr(long arg);
+ // struct LDKPaymentPurpose PaymentPurpose_clone(const struct LDKPaymentPurpose *NONNULL_PTR orig);
+ public static native long PaymentPurpose_clone(long orig);
+ // struct LDKPaymentPurpose PaymentPurpose_invoice_payment(struct LDKThirtyTwoBytes payment_preimage, struct LDKThirtyTwoBytes payment_secret);
+ public static native long PaymentPurpose_invoice_payment(byte[] payment_preimage, byte[] payment_secret);
+ // struct LDKPaymentPurpose PaymentPurpose_spontaneous_payment(struct LDKThirtyTwoBytes a);
+ public static native long PaymentPurpose_spontaneous_payment(byte[] a);
+ // bool PaymentPurpose_eq(const struct LDKPaymentPurpose *NONNULL_PTR a, const struct LDKPaymentPurpose *NONNULL_PTR b);
+ public static native boolean PaymentPurpose_eq(long a, long b);
+ // struct LDKCVec_u8Z PaymentPurpose_write(const struct LDKPaymentPurpose *NONNULL_PTR obj);
+ public static native byte[] PaymentPurpose_write(long obj);
+ // struct LDKCResult_PaymentPurposeDecodeErrorZ PaymentPurpose_read(struct LDKu8slice ser);
+ public static native long PaymentPurpose_read(byte[] ser);
+ // void PathFailure_free(struct LDKPathFailure this_ptr);
+ public static native void PathFailure_free(long this_ptr);
+ // uint64_t PathFailure_clone_ptr(LDKPathFailure *NONNULL_PTR arg);
+ public static native long PathFailure_clone_ptr(long arg);
+ // struct LDKPathFailure PathFailure_clone(const struct LDKPathFailure *NONNULL_PTR orig);
+ public static native long PathFailure_clone(long orig);
+ // struct LDKPathFailure PathFailure_initial_send(struct LDKAPIError err);
+ public static native long PathFailure_initial_send(long err);
+ // struct LDKPathFailure PathFailure_on_path(struct LDKCOption_NetworkUpdateZ network_update);
+ public static native long PathFailure_on_path(long network_update);
+ // bool PathFailure_eq(const struct LDKPathFailure *NONNULL_PTR a, const struct LDKPathFailure *NONNULL_PTR b);
+ public static native boolean PathFailure_eq(long a, long b);
+ // struct LDKCVec_u8Z PathFailure_write(const struct LDKPathFailure *NONNULL_PTR obj);
+ public static native byte[] PathFailure_write(long obj);
+ // struct LDKCResult_COption_PathFailureZDecodeErrorZ PathFailure_read(struct LDKu8slice ser);
+ public static native long PathFailure_read(byte[] ser);
+ // void ClosureReason_free(struct LDKClosureReason this_ptr);
+ public static native void ClosureReason_free(long this_ptr);
+ // uint64_t ClosureReason_clone_ptr(LDKClosureReason *NONNULL_PTR arg);
+ public static native long ClosureReason_clone_ptr(long arg);
+ // struct LDKClosureReason ClosureReason_clone(const struct LDKClosureReason *NONNULL_PTR orig);
+ public static native long ClosureReason_clone(long orig);
+ // struct LDKClosureReason ClosureReason_counterparty_force_closed(struct LDKUntrustedString peer_msg);
+ public static native long ClosureReason_counterparty_force_closed(long peer_msg);
+ // struct LDKClosureReason ClosureReason_holder_force_closed(void);
+ public static native long ClosureReason_holder_force_closed();
+ // struct LDKClosureReason ClosureReason_cooperative_closure(void);
+ public static native long ClosureReason_cooperative_closure();
+ // struct LDKClosureReason ClosureReason_commitment_tx_confirmed(void);
+ public static native long ClosureReason_commitment_tx_confirmed();
+ // struct LDKClosureReason ClosureReason_funding_timed_out(void);
+ public static native long ClosureReason_funding_timed_out();
+ // struct LDKClosureReason ClosureReason_processing_error(struct LDKStr err);
+ public static native long ClosureReason_processing_error(String err);
+ // struct LDKClosureReason ClosureReason_disconnected_peer(void);
+ public static native long ClosureReason_disconnected_peer();
+ // struct LDKClosureReason ClosureReason_outdated_channel_manager(void);
+ public static native long ClosureReason_outdated_channel_manager();
+ // bool ClosureReason_eq(const struct LDKClosureReason *NONNULL_PTR a, const struct LDKClosureReason *NONNULL_PTR b);
+ public static native boolean ClosureReason_eq(long a, long b);
+ // struct LDKCVec_u8Z ClosureReason_write(const struct LDKClosureReason *NONNULL_PTR obj);
+ public static native byte[] ClosureReason_write(long obj);
+ // struct LDKCResult_COption_ClosureReasonZDecodeErrorZ ClosureReason_read(struct LDKu8slice ser);
+ public static native long ClosureReason_read(byte[] ser);
+ // void HTLCDestination_free(struct LDKHTLCDestination this_ptr);
+ public static native void HTLCDestination_free(long this_ptr);
+ // uint64_t HTLCDestination_clone_ptr(LDKHTLCDestination *NONNULL_PTR arg);
+ public static native long HTLCDestination_clone_ptr(long arg);
+ // struct LDKHTLCDestination HTLCDestination_clone(const struct LDKHTLCDestination *NONNULL_PTR orig);
+ public static native long HTLCDestination_clone(long orig);
+ // struct LDKHTLCDestination HTLCDestination_next_hop_channel(struct LDKPublicKey node_id, struct LDKThirtyTwoBytes channel_id);
+ public static native long HTLCDestination_next_hop_channel(byte[] node_id, byte[] channel_id);
+ // struct LDKHTLCDestination HTLCDestination_unknown_next_hop(uint64_t requested_forward_scid);
+ public static native long HTLCDestination_unknown_next_hop(long requested_forward_scid);
+ // struct LDKHTLCDestination HTLCDestination_invalid_forward(uint64_t requested_forward_scid);
+ public static native long HTLCDestination_invalid_forward(long requested_forward_scid);
+ // struct LDKHTLCDestination HTLCDestination_failed_payment(struct LDKThirtyTwoBytes payment_hash);
+ public static native long HTLCDestination_failed_payment(byte[] payment_hash);
+ // bool HTLCDestination_eq(const struct LDKHTLCDestination *NONNULL_PTR a, const struct LDKHTLCDestination *NONNULL_PTR b);
+ public static native boolean HTLCDestination_eq(long a, long b);
+ // struct LDKCVec_u8Z HTLCDestination_write(const struct LDKHTLCDestination *NONNULL_PTR obj);
+ public static native byte[] HTLCDestination_write(long obj);
+ // struct LDKCResult_COption_HTLCDestinationZDecodeErrorZ HTLCDestination_read(struct LDKu8slice ser);
+ public static native long HTLCDestination_read(byte[] ser);
+ // enum LDKPaymentFailureReason PaymentFailureReason_clone(const enum LDKPaymentFailureReason *NONNULL_PTR orig);
+ public static native PaymentFailureReason PaymentFailureReason_clone(long orig);
+ // enum LDKPaymentFailureReason PaymentFailureReason_recipient_rejected(void);
+ public static native PaymentFailureReason PaymentFailureReason_recipient_rejected();
+ // enum LDKPaymentFailureReason PaymentFailureReason_user_abandoned(void);
+ public static native PaymentFailureReason PaymentFailureReason_user_abandoned();
+ // enum LDKPaymentFailureReason PaymentFailureReason_retries_exhausted(void);
+ public static native PaymentFailureReason PaymentFailureReason_retries_exhausted();
+ // enum LDKPaymentFailureReason PaymentFailureReason_payment_expired(void);
+ public static native PaymentFailureReason PaymentFailureReason_payment_expired();
+ // enum LDKPaymentFailureReason PaymentFailureReason_route_not_found(void);
+ public static native PaymentFailureReason PaymentFailureReason_route_not_found();
+ // enum LDKPaymentFailureReason PaymentFailureReason_unexpected_error(void);
+ public static native PaymentFailureReason PaymentFailureReason_unexpected_error();
+ // bool PaymentFailureReason_eq(const enum LDKPaymentFailureReason *NONNULL_PTR a, const enum LDKPaymentFailureReason *NONNULL_PTR b);
+ public static native boolean PaymentFailureReason_eq(long a, long b);
+ // struct LDKCVec_u8Z PaymentFailureReason_write(const enum LDKPaymentFailureReason *NONNULL_PTR obj);
+ public static native byte[] PaymentFailureReason_write(long obj);
+ // struct LDKCResult_PaymentFailureReasonDecodeErrorZ PaymentFailureReason_read(struct LDKu8slice ser);
+ public static native long PaymentFailureReason_read(byte[] ser);
+ // void Event_free(struct LDKEvent this_ptr);
+ public static native void Event_free(long this_ptr);
+ // uint64_t Event_clone_ptr(LDKEvent *NONNULL_PTR arg);
+ public static native long Event_clone_ptr(long arg);
+ // struct LDKEvent Event_clone(const struct LDKEvent *NONNULL_PTR orig);
+ public static native long Event_clone(long orig);
+ // struct LDKEvent Event_funding_generation_ready(struct LDKThirtyTwoBytes temporary_channel_id, struct LDKPublicKey counterparty_node_id, uint64_t channel_value_satoshis, struct LDKCVec_u8Z output_script, struct LDKU128 user_channel_id);
+ public static native long Event_funding_generation_ready(byte[] temporary_channel_id, byte[] counterparty_node_id, long channel_value_satoshis, byte[] output_script, byte[] user_channel_id);
+ // struct LDKEvent Event_payment_claimable(struct LDKPublicKey receiver_node_id, struct LDKThirtyTwoBytes payment_hash, struct LDKRecipientOnionFields onion_fields, uint64_t amount_msat, struct LDKPaymentPurpose purpose, struct LDKThirtyTwoBytes via_channel_id, struct LDKCOption_u128Z via_user_channel_id, struct LDKCOption_u32Z claim_deadline);
+ public static native long Event_payment_claimable(byte[] receiver_node_id, byte[] payment_hash, long onion_fields, long amount_msat, long purpose, byte[] via_channel_id, long via_user_channel_id, long claim_deadline);
+ // struct LDKEvent Event_payment_claimed(struct LDKPublicKey receiver_node_id, struct LDKThirtyTwoBytes payment_hash, uint64_t amount_msat, struct LDKPaymentPurpose purpose);
+ public static native long Event_payment_claimed(byte[] receiver_node_id, byte[] payment_hash, long amount_msat, long purpose);
+ // struct LDKEvent Event_payment_sent(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_preimage, struct LDKThirtyTwoBytes payment_hash, struct LDKCOption_u64Z fee_paid_msat);
+ public static native long Event_payment_sent(byte[] payment_id, byte[] payment_preimage, byte[] payment_hash, long fee_paid_msat);
+ // struct LDKEvent Event_payment_failed(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKCOption_PaymentFailureReasonZ reason);
+ public static native long Event_payment_failed(byte[] payment_id, byte[] payment_hash, long reason);
+ // struct LDKEvent Event_payment_path_successful(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKPath path);
+ public static native long Event_payment_path_successful(byte[] payment_id, byte[] payment_hash, long path);
+ // struct LDKEvent Event_payment_path_failed(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, bool payment_failed_permanently, struct LDKPathFailure failure, struct LDKPath path, struct LDKCOption_u64Z short_channel_id);
+ public static native long Event_payment_path_failed(byte[] payment_id, byte[] payment_hash, boolean payment_failed_permanently, long failure, long path, long short_channel_id);
+ // struct LDKEvent Event_probe_successful(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKPath path);
+ public static native long Event_probe_successful(byte[] payment_id, byte[] payment_hash, long path);
+ // struct LDKEvent Event_probe_failed(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKPath path, struct LDKCOption_u64Z short_channel_id);
+ public static native long Event_probe_failed(byte[] payment_id, byte[] payment_hash, long path, long short_channel_id);
+ // struct LDKEvent Event_pending_htlcs_forwardable(uint64_t time_forwardable);
+ public static native long Event_pending_htlcs_forwardable(long time_forwardable);
+ // struct LDKEvent Event_htlcintercepted(struct LDKThirtyTwoBytes intercept_id, uint64_t requested_next_hop_scid, struct LDKThirtyTwoBytes payment_hash, uint64_t inbound_amount_msat, uint64_t expected_outbound_amount_msat);
+ public static native long Event_htlcintercepted(byte[] intercept_id, long requested_next_hop_scid, byte[] payment_hash, long inbound_amount_msat, long expected_outbound_amount_msat);
+ // struct LDKEvent Event_spendable_outputs(struct LDKCVec_SpendableOutputDescriptorZ outputs);
+ public static native long Event_spendable_outputs(long[] outputs);
+ // struct LDKEvent Event_payment_forwarded(struct LDKThirtyTwoBytes prev_channel_id, struct LDKThirtyTwoBytes next_channel_id, struct LDKCOption_u64Z fee_earned_msat, bool claim_from_onchain_tx, struct LDKCOption_u64Z outbound_amount_forwarded_msat);
+ public static native long Event_payment_forwarded(byte[] prev_channel_id, byte[] next_channel_id, long fee_earned_msat, boolean claim_from_onchain_tx, long outbound_amount_forwarded_msat);
+ // struct LDKEvent Event_channel_pending(struct LDKThirtyTwoBytes channel_id, struct LDKU128 user_channel_id, struct LDKThirtyTwoBytes former_temporary_channel_id, struct LDKPublicKey counterparty_node_id, struct LDKOutPoint funding_txo);
+ public static native long Event_channel_pending(byte[] channel_id, byte[] user_channel_id, byte[] former_temporary_channel_id, byte[] counterparty_node_id, long funding_txo);
+ // struct LDKEvent Event_channel_ready(struct LDKThirtyTwoBytes channel_id, struct LDKU128 user_channel_id, struct LDKPublicKey counterparty_node_id, struct LDKChannelTypeFeatures channel_type);
+ public static native long Event_channel_ready(byte[] channel_id, byte[] user_channel_id, byte[] counterparty_node_id, long channel_type);
+ // struct LDKEvent Event_channel_closed(struct LDKThirtyTwoBytes channel_id, struct LDKU128 user_channel_id, struct LDKClosureReason reason);
+ public static native long Event_channel_closed(byte[] channel_id, byte[] user_channel_id, long reason);
+ // struct LDKEvent Event_discard_funding(struct LDKThirtyTwoBytes channel_id, struct LDKTransaction transaction);
+ public static native long Event_discard_funding(byte[] channel_id, byte[] transaction);
+ // struct LDKEvent Event_open_channel_request(struct LDKThirtyTwoBytes temporary_channel_id, struct LDKPublicKey counterparty_node_id, uint64_t funding_satoshis, uint64_t push_msat, struct LDKChannelTypeFeatures channel_type);
+ public static native long Event_open_channel_request(byte[] temporary_channel_id, byte[] counterparty_node_id, long funding_satoshis, long push_msat, long channel_type);
+ // struct LDKEvent Event_htlchandling_failed(struct LDKThirtyTwoBytes prev_channel_id, struct LDKHTLCDestination failed_next_destination);
+ public static native long Event_htlchandling_failed(byte[] prev_channel_id, long failed_next_destination);
+ // bool Event_eq(const struct LDKEvent *NONNULL_PTR a, const struct LDKEvent *NONNULL_PTR b);
+ public static native boolean Event_eq(long a, long b);
+ // struct LDKCVec_u8Z Event_write(const struct LDKEvent *NONNULL_PTR obj);
+ public static native byte[] Event_write(long obj);
+ // struct LDKCResult_COption_EventZDecodeErrorZ Event_read(struct LDKu8slice ser);
+ public static native long Event_read(byte[] ser);
+ // void MessageSendEvent_free(struct LDKMessageSendEvent this_ptr);
+ public static native void MessageSendEvent_free(long this_ptr);
+ // uint64_t MessageSendEvent_clone_ptr(LDKMessageSendEvent *NONNULL_PTR arg);
+ public static native long MessageSendEvent_clone_ptr(long arg);
+ // struct LDKMessageSendEvent MessageSendEvent_clone(const struct LDKMessageSendEvent *NONNULL_PTR orig);
+ public static native long MessageSendEvent_clone(long orig);
+ // struct LDKMessageSendEvent MessageSendEvent_send_accept_channel(struct LDKPublicKey node_id, struct LDKAcceptChannel msg);
+ public static native long MessageSendEvent_send_accept_channel(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_open_channel(struct LDKPublicKey node_id, struct LDKOpenChannel msg);
+ public static native long MessageSendEvent_send_open_channel(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_funding_created(struct LDKPublicKey node_id, struct LDKFundingCreated msg);
+ public static native long MessageSendEvent_send_funding_created(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_funding_signed(struct LDKPublicKey node_id, struct LDKFundingSigned msg);
+ public static native long MessageSendEvent_send_funding_signed(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_channel_ready(struct LDKPublicKey node_id, struct LDKChannelReady msg);
+ public static native long MessageSendEvent_send_channel_ready(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_announcement_signatures(struct LDKPublicKey node_id, struct LDKAnnouncementSignatures msg);
+ public static native long MessageSendEvent_send_announcement_signatures(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_update_htlcs(struct LDKPublicKey node_id, struct LDKCommitmentUpdate updates);
+ public static native long MessageSendEvent_update_htlcs(byte[] node_id, long updates);
+ // struct LDKMessageSendEvent MessageSendEvent_send_revoke_and_ack(struct LDKPublicKey node_id, struct LDKRevokeAndACK msg);
+ public static native long MessageSendEvent_send_revoke_and_ack(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_closing_signed(struct LDKPublicKey node_id, struct LDKClosingSigned msg);
+ public static native long MessageSendEvent_send_closing_signed(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_shutdown(struct LDKPublicKey node_id, struct LDKShutdown msg);
+ public static native long MessageSendEvent_send_shutdown(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_channel_reestablish(struct LDKPublicKey node_id, struct LDKChannelReestablish msg);
+ public static native long MessageSendEvent_send_channel_reestablish(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_channel_announcement(struct LDKPublicKey node_id, struct LDKChannelAnnouncement msg, struct LDKChannelUpdate update_msg);
+ public static native long MessageSendEvent_send_channel_announcement(byte[] node_id, long msg, long update_msg);
+ // struct LDKMessageSendEvent MessageSendEvent_broadcast_channel_announcement(struct LDKChannelAnnouncement msg, struct LDKChannelUpdate update_msg);
+ public static native long MessageSendEvent_broadcast_channel_announcement(long msg, long update_msg);
+ // struct LDKMessageSendEvent MessageSendEvent_broadcast_channel_update(struct LDKChannelUpdate msg);
+ public static native long MessageSendEvent_broadcast_channel_update(long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_broadcast_node_announcement(struct LDKNodeAnnouncement msg);
+ public static native long MessageSendEvent_broadcast_node_announcement(long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_channel_update(struct LDKPublicKey node_id, struct LDKChannelUpdate msg);
+ public static native long MessageSendEvent_send_channel_update(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_handle_error(struct LDKPublicKey node_id, struct LDKErrorAction action);
+ public static native long MessageSendEvent_handle_error(byte[] node_id, long action);
+ // struct LDKMessageSendEvent MessageSendEvent_send_channel_range_query(struct LDKPublicKey node_id, struct LDKQueryChannelRange msg);
+ public static native long MessageSendEvent_send_channel_range_query(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_short_ids_query(struct LDKPublicKey node_id, struct LDKQueryShortChannelIds msg);
+ public static native long MessageSendEvent_send_short_ids_query(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_reply_channel_range(struct LDKPublicKey node_id, struct LDKReplyChannelRange msg);
+ public static native long MessageSendEvent_send_reply_channel_range(byte[] node_id, long msg);
+ // struct LDKMessageSendEvent MessageSendEvent_send_gossip_timestamp_filter(struct LDKPublicKey node_id, struct LDKGossipTimestampFilter msg);
+ public static native long MessageSendEvent_send_gossip_timestamp_filter(byte[] node_id, long msg);
+ // void MessageSendEventsProvider_free(struct LDKMessageSendEventsProvider this_ptr);
+ public static native void MessageSendEventsProvider_free(long this_ptr);
+ // void OnionMessageProvider_free(struct LDKOnionMessageProvider this_ptr);
+ public static native void OnionMessageProvider_free(long this_ptr);
+ // void EventsProvider_free(struct LDKEventsProvider this_ptr);
+ public static native void EventsProvider_free(long this_ptr);
+ // void EventHandler_free(struct LDKEventHandler this_ptr);
+ public static native void EventHandler_free(long this_ptr);