X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2Fsrc%2Futil%2Fser.rs;h=e0c561f6504583cbc69805072000732cb4abd918;hb=b2f0ccc7e0ef8b31567cb017d0b7cce9f7204803;hp=db9549c658dd594fd8ed0d529282666632cc6b70;hpb=1495575b517c90da925698da14f627bf0d5b313f;p=ldk-c-bindings diff --git a/lightning-c-bindings/src/util/ser.rs b/lightning-c-bindings/src/util/ser.rs index db9549c..e0c561f 100644 --- a/lightning-c-bindings/src/util/ser.rs +++ b/lightning-c-bindings/src/util/ser.rs @@ -1,3 +1,11 @@ +// This file is Copyright its original authors, visible in version control +// history and in the source files from which this was generated. +// +// This file is licensed under the license available in the LICENSE or LICENSE.md +// file in the root of this repository or, if no such file exists, the same +// license as that which applies to the original source files from which this +// source was automatically generated. + //! A very simple serialization framework which is used to serialize/deserialize messages as well //! as ChannelsManagers and ChannelMonitors. @@ -5,6 +13,7 @@ use std::ffi::c_void; use bitcoin::hashes::Hash; use crate::c_types::*; +/// serialization buffer size #[no_mangle] pub static MAX_BUF_SIZE: usize = lightning::util::ser::MAX_BUF_SIZE;