Update auto-generated bindings for LDK 0.0.115
[ldk-c-bindings] / lightning-c-bindings / src / lightning / offers / mod.rs
1 // This file is Copyright its original authors, visible in version control
2 // history and in the source files from which this was generated.
3 //
4 // This file is licensed under the license available in the LICENSE or LICENSE.md
5 // file in the root of this repository or, if no such file exists, the same
6 // license as that which applies to the original source files from which this
7 // source was automatically generated.
8
9 //! Implementation of Lightning Offers
10 //! ([BOLT 12](https://github.com/lightning/bolts/blob/master/12-offer-encoding.md)).
11 //!
12 //! Offers are a flexible protocol for Lightning payments.
13
14 use alloc::str::FromStr;
15 use core::ffi::c_void;
16 use core::convert::Infallible;
17 use bitcoin::hashes::Hash;
18 use crate::c_types::*;
19 #[cfg(feature="no-std")]
20 use alloc::{vec::Vec, boxed::Box};
21
22 pub mod invoice;
23 pub mod invoice_request;
24 pub mod offer;
25 pub mod parse;
26 pub mod refund;
27 mod merkle {
28
29 use alloc::str::FromStr;
30 use core::ffi::c_void;
31 use core::convert::Infallible;
32 use bitcoin::hashes::Hash;
33 use crate::c_types::*;
34 #[cfg(feature="no-std")]
35 use alloc::{vec::Vec, boxed::Box};
36
37 }
38 mod payer {
39
40 use alloc::str::FromStr;
41 use core::ffi::c_void;
42 use core::convert::Infallible;
43 use bitcoin::hashes::Hash;
44 use crate::c_types::*;
45 #[cfg(feature="no-std")]
46 use alloc::{vec::Vec, boxed::Box};
47
48 }
49 mod signer {
50
51 use alloc::str::FromStr;
52 use core::ffi::c_void;
53 use core::convert::Infallible;
54 use bitcoin::hashes::Hash;
55 use crate::c_types::*;
56 #[cfg(feature="no-std")]
57 use alloc::{vec::Vec, boxed::Box};
58
59 }