]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_pubsub_push.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rgw / rgw_pubsub_push.h
index 5a2f752c876b1a1d9216ff594fc4fd250a8f30a3..6cb3db74b332a12bb4ab48b4f802e3021db4a951 100644 (file)
@@ -14,7 +14,7 @@ class RGWDataSyncEnv;
 class RGWCoroutine;
 class RGWHTTPArgs;
 struct rgw_pubsub_event;
-struct rgw_pubsub_s3_record;
+struct rgw_pubsub_s3_event;
 
 // endpoint base class all endpoint  - types should derive from it
 class RGWPubSubEndpoint {
@@ -37,11 +37,11 @@ public:
 
   // this method is used in order to send notification (S3 compliant) and wait for completion 
   // in async manner via a coroutine when invoked in the data sync environment
-  virtual RGWCoroutine* send_to_completion_async(const rgw_pubsub_s3_record& record, RGWDataSyncEnv* env) = 0;
+  virtual RGWCoroutine* send_to_completion_async(const rgw_pubsub_s3_event& event, RGWDataSyncEnv* env) = 0;
 
   // this method is used in order to send notification (S3 compliant) and wait for completion 
   // in async manner via a coroutine when invoked in the frontend environment
-  virtual int send_to_completion_async(CephContext* cct, const rgw_pubsub_s3_record& record, optional_yield y) = 0;
+  virtual int send_to_completion_async(CephContext* cct, const rgw_pubsub_s3_event& event, optional_yield y) = 0;
 
   // present as string
   virtual std::string to_str() const { return ""; }