]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_notify.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / rgw / rgw_notify.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #pragma once
5
6 #include <string>
7 #include "common/ceph_time.h"
8 #include "include/common_fwd.h"
9 #include "rgw_notify_event_type.h"
10
11 // forward declarations
12 namespace rgw::sal {
13 class RGWRadosStore;
14 }
15 class RGWRados;
16 class req_state;
17 struct rgw_obj_key;
18
19 namespace rgw::notify {
20
21 // publish notification
22 int publish(const req_state* s,
23 const rgw_obj_key& key,
24 uint64_t size,
25 const ceph::real_time& mtime,
26 const std::string& etag,
27 EventType event_type,
28 rgw::sal::RGWRadosStore* store);
29
30 }
31