Regenerate with ChannelMonitor (and more) clone patch
[ldk-c-bindings] / lightning-c-bindings / include / lightning.h
index 8d27f343936b3071c1a28a4cce38d788ae88a072..1689dcd86a717fcaa8c729bd1f18500a7150323a 100644 (file)
@@ -12308,6 +12308,11 @@ struct LDKCResult_HTLCUpdateDecodeErrorZ HTLCUpdate_read(struct LDKu8slice ser);
  */
 void ChannelMonitor_free(struct LDKChannelMonitor this_obj);
 
+/**
+ * Creates a copy of the ChannelMonitor
+ */
+struct LDKChannelMonitor ChannelMonitor_clone(const struct LDKChannelMonitor *NONNULL_PTR orig);
+
 /**
  * Serialize the ChannelMonitor object into a byte array which can be read by ChannelMonitor_read
  */