]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/services/svc_quota.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / rgw / services / svc_quota.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab ft=cpp
3
4 #pragma once
5
6 #include "rgw_service.h"
7
8
9 class RGWSI_Quota : public RGWServiceInstance
10 {
11 RGWSI_Zone *zone_svc{nullptr};
12
13 public:
14 RGWSI_Quota(CephContext *cct): RGWServiceInstance(cct) {}
15
16 void init(RGWSI_Zone *_zone_svc) {
17 zone_svc = _zone_svc;
18 }
19
20 const RGWQuotaInfo& get_bucket_quota() const;
21 const RGWQuotaInfo& get_user_quota() const;
22 };