Update auto-generated bindings
[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 alloc::string::String;
16 use core::ffi::c_void;
17 use core::convert::Infallible;
18 use bitcoin::hashes::Hash;
19 use crate::c_types::*;
20 #[cfg(feature="no-std")]
21 use alloc::{vec::Vec, boxed::Box};
22
23 pub mod offer;
24 pub mod invoice;
25 pub mod invoice_error;
26 pub mod invoice_request;
27 pub mod merkle;
28 pub mod parse;
29 pub mod refund;
30 mod payer {
31
32 use alloc::str::FromStr;
33 use alloc::string::String;
34 use core::ffi::c_void;
35 use core::convert::Infallible;
36 use bitcoin::hashes::Hash;
37 use crate::c_types::*;
38 #[cfg(feature="no-std")]
39 use alloc::{vec::Vec, boxed::Box};
40
41 }
42 mod signer {
43
44 use alloc::str::FromStr;
45 use alloc::string::String;
46 use core::ffi::c_void;
47 use core::convert::Infallible;
48 use bitcoin::hashes::Hash;
49 use crate::c_types::*;
50 #[cfg(feature="no-std")]
51 use alloc::{vec::Vec, boxed::Box};
52
53 }