]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/api/Snapshot.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / librbd / api / Snapshot.h
index ce5252c78d8f698e72c1a16ac30a2af5cb47848a..7e06a5a8d0772b81c13e79ba60d88aa3521a679b 100644 (file)
@@ -41,6 +41,9 @@ struct Snapshot {
   static int exists(ImageCtxT *ictx, const cls::rbd::SnapshotNamespace& snap_namespace,
                    const char *snap_name, bool *exists);
 
+  static int create(ImageCtxT *ictx, const char *snap_name, uint32_t flags,
+                    ProgressContext& pctx);
+
   static int remove(ImageCtxT *ictx, const char *snap_name, uint32_t flags, ProgressContext& pctx);
 
   static int get_limit(ImageCtxT *ictx, uint64_t *limit);