]> git.proxmox.com Git - ceph.git/blame - ceph/src/rgw/services/svc_quota.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / rgw / services / svc_quota.h
CommitLineData
9f95a23c
TL
1// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2// vim: ts=8 sw=2 smarttab ft=cpp
11fdf7f2 3
9f95a23c 4#pragma once
11fdf7f2 5
1e59de90 6#include "rgw_service.h"
11fdf7f2
TL
7
8
9class RGWSI_Quota : public RGWServiceInstance
10{
11 RGWSI_Zone *zone_svc{nullptr};
12
13public:
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};