Add ChannelMonitor_clone patch to bindings
[ldk-c-bindings] / lightning-c-bindings / include / lightning.h
index bdeb29858d5c9e60954c4eaebab3f4e1e0909a5f..49de1f69d65dee7c0a29d37175b4f9747da044fc 100644 (file)
@@ -10222,6 +10222,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
  */