]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/cls/user/cls_user_client.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / cls / user / cls_user_client.h
index 077c15dced7702b0c867a8dc1f8ad65ffcc6c722..03d975c59cb5107202d53e3ca5978b739307bf6a 100644 (file)
@@ -1,4 +1,4 @@
-// -*- mode:C; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
 #ifndef CEPH_CLS_USER_CLIENT_H
@@ -18,19 +18,19 @@ public:
  * user objclass
  */
 
-void cls_user_set_buckets(librados::ObjectWriteOperation& op, list<cls_user_bucket_entry>& entries, bool add);
+void cls_user_set_buckets(librados::ObjectWriteOperation& op, std::list<cls_user_bucket_entry>& entries, bool add);
 void cls_user_complete_stats_sync(librados::ObjectWriteOperation& op);
 void cls_user_remove_bucket(librados::ObjectWriteOperation& op,  const cls_user_bucket& bucket);
 void cls_user_bucket_list(librados::ObjectReadOperation& op,
-                       const string& in_marker,
-                       const string& end_marker,
-                       int max_entries,
-                       list<cls_user_bucket_entry>& entries,
-                       string *out_marker,
-                       bool *truncated,
-                       int *pret);
+                         const std::string& in_marker,
+                         const std::string& end_marker,
+                         int max_entries,
+                         std::list<cls_user_bucket_entry>& entries,
+                         std::string *out_marker,
+                         bool *truncated,
+                         int *pret);
 void cls_user_get_header(librados::ObjectReadOperation& op, cls_user_header *header, int *pret);
-int cls_user_get_header_async(librados::IoCtx& io_ctx, string& oid, RGWGetUserHeader_CB *ctx);
+int cls_user_get_header_async(librados::IoCtx& io_ctx, std::string& oid, RGWGetUserHeader_CB *ctx);
 void cls_user_reset_stats(librados::ObjectWriteOperation& op);
 
 #endif