]>
Commit | Line | Data |
---|---|---|
eafe8130 TL |
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" | |
9f95a23c | 8 | #include "include/common_fwd.h" |
eafe8130 TL |
9 | #include "rgw_notify_event_type.h" |
10 | ||
11 | // forward declarations | |
9f95a23c TL |
12 | namespace rgw::sal { |
13 | class RGWRadosStore; | |
14 | } | |
eafe8130 TL |
15 | class RGWRados; |
16 | class req_state; | |
9f95a23c | 17 | struct rgw_obj_key; |
eafe8130 TL |
18 | |
19 | namespace rgw::notify { | |
20 | ||
21 | // publish notification | |
22 | int publish(const req_state* s, | |
9f95a23c TL |
23 | const rgw_obj_key& key, |
24 | uint64_t size, | |
eafe8130 TL |
25 | const ceph::real_time& mtime, |
26 | const std::string& etag, | |
27 | EventType event_type, | |
9f95a23c | 28 | rgw::sal::RGWRadosStore* store); |
eafe8130 TL |
29 | |
30 | } | |
31 |