]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/api/Image.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / librbd / api / Image.h
index 15a071de8f5b890e449abb61eb1cd3801fbf9f6c..192f9b7a79983750548e0f62d93448c0042f0b50 100644 (file)
@@ -70,6 +70,13 @@ struct Image {
 
   static int flatten_children(ImageCtxT *ictx, const char* snap_name, ProgressContext& pctx);
 
+  static int encryption_format(ImageCtxT *ictx, encryption_format_t format,
+                               encryption_options_t opts, size_t opts_size,
+                               bool c_api);
+  static int encryption_load(ImageCtxT *ictx, encryption_format_t format,
+                             encryption_options_t opts, size_t opts_size,
+                             bool c_api);
+
 };
 
 } // namespace api