+ // void ForwardNode_free(struct LDKForwardNode this_obj);
+ public static native void ForwardNode_free(long this_obj);
+ // struct LDKForwardTlvs ForwardNode_get_tlvs(const struct LDKForwardNode *NONNULL_PTR this_ptr);
+ public static native long ForwardNode_get_tlvs(long this_ptr);
+ // void ForwardNode_set_tlvs(struct LDKForwardNode *NONNULL_PTR this_ptr, struct LDKForwardTlvs val);
+ public static native void ForwardNode_set_tlvs(long this_ptr, long val);
+ // struct LDKPublicKey ForwardNode_get_node_id(const struct LDKForwardNode *NONNULL_PTR this_ptr);
+ public static native byte[] ForwardNode_get_node_id(long this_ptr);
+ // void ForwardNode_set_node_id(struct LDKForwardNode *NONNULL_PTR this_ptr, struct LDKPublicKey val);
+ public static native void ForwardNode_set_node_id(long this_ptr, byte[] val);
+ // uint64_t ForwardNode_get_htlc_maximum_msat(const struct LDKForwardNode *NONNULL_PTR this_ptr);
+ public static native long ForwardNode_get_htlc_maximum_msat(long this_ptr);
+ // void ForwardNode_set_htlc_maximum_msat(struct LDKForwardNode *NONNULL_PTR this_ptr, uint64_t val);
+ public static native void ForwardNode_set_htlc_maximum_msat(long this_ptr, long val);
+ // MUST_USE_RES struct LDKForwardNode ForwardNode_new(struct LDKForwardTlvs tlvs_arg, struct LDKPublicKey node_id_arg, uint64_t htlc_maximum_msat_arg);
+ public static native long ForwardNode_new(long tlvs_arg, byte[] node_id_arg, long htlc_maximum_msat_arg);
+ // uint64_t ForwardNode_clone_ptr(LDKForwardNode *NONNULL_PTR arg);
+ public static native long ForwardNode_clone_ptr(long arg);
+ // struct LDKForwardNode ForwardNode_clone(const struct LDKForwardNode *NONNULL_PTR orig);
+ public static native long ForwardNode_clone(long orig);
+ // void ForwardTlvs_free(struct LDKForwardTlvs this_obj);
+ public static native void ForwardTlvs_free(long this_obj);
+ // uint64_t ForwardTlvs_get_short_channel_id(const struct LDKForwardTlvs *NONNULL_PTR this_ptr);
+ public static native long ForwardTlvs_get_short_channel_id(long this_ptr);
+ // void ForwardTlvs_set_short_channel_id(struct LDKForwardTlvs *NONNULL_PTR this_ptr, uint64_t val);
+ public static native void ForwardTlvs_set_short_channel_id(long this_ptr, long val);
+ // struct LDKPaymentRelay ForwardTlvs_get_payment_relay(const struct LDKForwardTlvs *NONNULL_PTR this_ptr);
+ public static native long ForwardTlvs_get_payment_relay(long this_ptr);
+ // void ForwardTlvs_set_payment_relay(struct LDKForwardTlvs *NONNULL_PTR this_ptr, struct LDKPaymentRelay val);
+ public static native void ForwardTlvs_set_payment_relay(long this_ptr, long val);
+ // struct LDKPaymentConstraints ForwardTlvs_get_payment_constraints(const struct LDKForwardTlvs *NONNULL_PTR this_ptr);
+ public static native long ForwardTlvs_get_payment_constraints(long this_ptr);
+ // void ForwardTlvs_set_payment_constraints(struct LDKForwardTlvs *NONNULL_PTR this_ptr, struct LDKPaymentConstraints val);
+ public static native void ForwardTlvs_set_payment_constraints(long this_ptr, long val);
+ // struct LDKBlindedHopFeatures ForwardTlvs_get_features(const struct LDKForwardTlvs *NONNULL_PTR this_ptr);
+ public static native long ForwardTlvs_get_features(long this_ptr);
+ // void ForwardTlvs_set_features(struct LDKForwardTlvs *NONNULL_PTR this_ptr, struct LDKBlindedHopFeatures val);
+ public static native void ForwardTlvs_set_features(long this_ptr, long val);
+ // MUST_USE_RES struct LDKForwardTlvs ForwardTlvs_new(uint64_t short_channel_id_arg, struct LDKPaymentRelay payment_relay_arg, struct LDKPaymentConstraints payment_constraints_arg, struct LDKBlindedHopFeatures features_arg);
+ public static native long ForwardTlvs_new(long short_channel_id_arg, long payment_relay_arg, long payment_constraints_arg, long features_arg);
+ // uint64_t ForwardTlvs_clone_ptr(LDKForwardTlvs *NONNULL_PTR arg);
+ public static native long ForwardTlvs_clone_ptr(long arg);
+ // struct LDKForwardTlvs ForwardTlvs_clone(const struct LDKForwardTlvs *NONNULL_PTR orig);
+ public static native long ForwardTlvs_clone(long orig);
+ // void ReceiveTlvs_free(struct LDKReceiveTlvs this_obj);
+ public static native void ReceiveTlvs_free(long this_obj);
+ // const uint8_t (*ReceiveTlvs_get_payment_secret(const struct LDKReceiveTlvs *NONNULL_PTR this_ptr))[32];
+ public static native byte[] ReceiveTlvs_get_payment_secret(long this_ptr);
+ // void ReceiveTlvs_set_payment_secret(struct LDKReceiveTlvs *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
+ public static native void ReceiveTlvs_set_payment_secret(long this_ptr, byte[] val);
+ // struct LDKPaymentConstraints ReceiveTlvs_get_payment_constraints(const struct LDKReceiveTlvs *NONNULL_PTR this_ptr);
+ public static native long ReceiveTlvs_get_payment_constraints(long this_ptr);
+ // void ReceiveTlvs_set_payment_constraints(struct LDKReceiveTlvs *NONNULL_PTR this_ptr, struct LDKPaymentConstraints val);
+ public static native void ReceiveTlvs_set_payment_constraints(long this_ptr, long val);
+ // MUST_USE_RES struct LDKReceiveTlvs ReceiveTlvs_new(struct LDKThirtyTwoBytes payment_secret_arg, struct LDKPaymentConstraints payment_constraints_arg);
+ public static native long ReceiveTlvs_new(byte[] payment_secret_arg, long payment_constraints_arg);
+ // uint64_t ReceiveTlvs_clone_ptr(LDKReceiveTlvs *NONNULL_PTR arg);
+ public static native long ReceiveTlvs_clone_ptr(long arg);
+ // struct LDKReceiveTlvs ReceiveTlvs_clone(const struct LDKReceiveTlvs *NONNULL_PTR orig);
+ public static native long ReceiveTlvs_clone(long orig);
+ // void PaymentRelay_free(struct LDKPaymentRelay this_obj);
+ public static native void PaymentRelay_free(long this_obj);
+ // uint16_t PaymentRelay_get_cltv_expiry_delta(const struct LDKPaymentRelay *NONNULL_PTR this_ptr);
+ public static native short PaymentRelay_get_cltv_expiry_delta(long this_ptr);
+ // void PaymentRelay_set_cltv_expiry_delta(struct LDKPaymentRelay *NONNULL_PTR this_ptr, uint16_t val);
+ public static native void PaymentRelay_set_cltv_expiry_delta(long this_ptr, short val);
+ // uint32_t PaymentRelay_get_fee_proportional_millionths(const struct LDKPaymentRelay *NONNULL_PTR this_ptr);
+ public static native int PaymentRelay_get_fee_proportional_millionths(long this_ptr);
+ // void PaymentRelay_set_fee_proportional_millionths(struct LDKPaymentRelay *NONNULL_PTR this_ptr, uint32_t val);
+ public static native void PaymentRelay_set_fee_proportional_millionths(long this_ptr, int val);
+ // uint32_t PaymentRelay_get_fee_base_msat(const struct LDKPaymentRelay *NONNULL_PTR this_ptr);
+ public static native int PaymentRelay_get_fee_base_msat(long this_ptr);
+ // void PaymentRelay_set_fee_base_msat(struct LDKPaymentRelay *NONNULL_PTR this_ptr, uint32_t val);
+ public static native void PaymentRelay_set_fee_base_msat(long this_ptr, int val);
+ // MUST_USE_RES struct LDKPaymentRelay PaymentRelay_new(uint16_t cltv_expiry_delta_arg, uint32_t fee_proportional_millionths_arg, uint32_t fee_base_msat_arg);
+ public static native long PaymentRelay_new(short cltv_expiry_delta_arg, int fee_proportional_millionths_arg, int fee_base_msat_arg);
+ // uint64_t PaymentRelay_clone_ptr(LDKPaymentRelay *NONNULL_PTR arg);
+ public static native long PaymentRelay_clone_ptr(long arg);
+ // struct LDKPaymentRelay PaymentRelay_clone(const struct LDKPaymentRelay *NONNULL_PTR orig);
+ public static native long PaymentRelay_clone(long orig);
+ // void PaymentConstraints_free(struct LDKPaymentConstraints this_obj);
+ public static native void PaymentConstraints_free(long this_obj);
+ // uint32_t PaymentConstraints_get_max_cltv_expiry(const struct LDKPaymentConstraints *NONNULL_PTR this_ptr);
+ public static native int PaymentConstraints_get_max_cltv_expiry(long this_ptr);
+ // void PaymentConstraints_set_max_cltv_expiry(struct LDKPaymentConstraints *NONNULL_PTR this_ptr, uint32_t val);
+ public static native void PaymentConstraints_set_max_cltv_expiry(long this_ptr, int val);
+ // uint64_t PaymentConstraints_get_htlc_minimum_msat(const struct LDKPaymentConstraints *NONNULL_PTR this_ptr);
+ public static native long PaymentConstraints_get_htlc_minimum_msat(long this_ptr);
+ // void PaymentConstraints_set_htlc_minimum_msat(struct LDKPaymentConstraints *NONNULL_PTR this_ptr, uint64_t val);
+ public static native void PaymentConstraints_set_htlc_minimum_msat(long this_ptr, long val);
+ // MUST_USE_RES struct LDKPaymentConstraints PaymentConstraints_new(uint32_t max_cltv_expiry_arg, uint64_t htlc_minimum_msat_arg);
+ public static native long PaymentConstraints_new(int max_cltv_expiry_arg, long htlc_minimum_msat_arg);
+ // uint64_t PaymentConstraints_clone_ptr(LDKPaymentConstraints *NONNULL_PTR arg);
+ public static native long PaymentConstraints_clone_ptr(long arg);
+ // struct LDKPaymentConstraints PaymentConstraints_clone(const struct LDKPaymentConstraints *NONNULL_PTR orig);
+ public static native long PaymentConstraints_clone(long orig);
+ // struct LDKCVec_u8Z ForwardTlvs_write(const struct LDKForwardTlvs *NONNULL_PTR obj);
+ public static native byte[] ForwardTlvs_write(long obj);
+ // struct LDKCVec_u8Z ReceiveTlvs_write(const struct LDKReceiveTlvs *NONNULL_PTR obj);
+ public static native byte[] ReceiveTlvs_write(long obj);
+ // struct LDKCResult_ReceiveTlvsDecodeErrorZ ReceiveTlvs_read(struct LDKu8slice ser);
+ public static native long ReceiveTlvs_read(byte[] ser);
+ // struct LDKCVec_u8Z PaymentRelay_write(const struct LDKPaymentRelay *NONNULL_PTR obj);
+ public static native byte[] PaymentRelay_write(long obj);
+ // struct LDKCResult_PaymentRelayDecodeErrorZ PaymentRelay_read(struct LDKu8slice ser);
+ public static native long PaymentRelay_read(byte[] ser);
+ // struct LDKCVec_u8Z PaymentConstraints_write(const struct LDKPaymentConstraints *NONNULL_PTR obj);
+ public static native byte[] PaymentConstraints_write(long obj);
+ // struct LDKCResult_PaymentConstraintsDecodeErrorZ PaymentConstraints_read(struct LDKu8slice ser);
+ public static native long PaymentConstraints_read(byte[] ser);