pub mod channelmonitor;
pub mod transaction;
pub mod keysinterface;
+mod onchaintx {
+
+use std::str::FromStr;
+use std::ffi::c_void;
+use bitcoin::hashes::Hash;
+use crate::c_types::*;
+
+}
+mod package {
+
+use std::str::FromStr;
+use std::ffi::c_void;
+use bitcoin::hashes::Hash;
+use crate::c_types::*;
+
+}
/// An error when accessing the chain via [`Access`].
#[must_use]
#[derive(Clone)]
/// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed.
pub free: Option<extern "C" fn(this_arg: *mut c_void)>,
}
+unsafe impl Send for Access {}
+unsafe impl Sync for Access {}
use lightning::chain::Access as rustAccess;
impl rustAccess for Access {
/// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed.
pub free: Option<extern "C" fn(this_arg: *mut c_void)>,
}
+unsafe impl Send for Listen {}
+unsafe impl Sync for Listen {}
use lightning::chain::Listen as rustListen;
impl rustListen for Listen {
/// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed.
pub free: Option<extern "C" fn(this_arg: *mut c_void)>,
}
+unsafe impl Send for Confirm {}
+unsafe impl Sync for Confirm {}
use lightning::chain::Confirm as rustConfirm;
impl rustConfirm for Confirm {
/// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed.
pub free: Option<extern "C" fn(this_arg: *mut c_void)>,
}
+unsafe impl Send for Watch {}
+unsafe impl Sync for Watch {}
use lightning::chain::Watch as rustWatch;
impl rustWatch<crate::lightning::chain::keysinterface::Sign> for Watch {
/// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed.
pub free: Option<extern "C" fn(this_arg: *mut c_void)>,
}
+unsafe impl Send for Filter {}
+unsafe impl Sync for Filter {}
use lightning::chain::Filter as rustFilter;
impl rustFilter for Filter {