]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/services/svc_quota.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / rgw / services / svc_quota.h
1 #ifndef CEPH_RGW_SERVICES_QUOTA_H
2 #define CEPH_RGW_SERVICES_QUOTA_H
3
4
5 #include "rgw/rgw_service.h"
6
7
8 class RGWSI_Quota : public RGWServiceInstance
9 {
10 RGWSI_Zone *zone_svc{nullptr};
11
12 public:
13 RGWSI_Quota(CephContext *cct): RGWServiceInstance(cct) {}
14
15 void init(RGWSI_Zone *_zone_svc) {
16 zone_svc = _zone_svc;
17 }
18
19 const RGWQuotaInfo& get_bucket_quota() const;
20 const RGWQuotaInfo& get_user_quota() const;
21 };
22
23 #endif