]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_usage.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab ft=cpp
4 #ifndef CEPH_RGW_USAGE_H
5 #define CEPH_RGW_USAGE_H
10 #include "common/Formatter.h"
11 #include "common/dout.h"
12 #include "rgw_formats.h"
21 static int show(const DoutPrefixProvider
*dpp
, RGWRados
*store
, const rgw_user
& uid
, const string
& bucket_name
, uint64_t start_epoch
,
22 uint64_t end_epoch
, bool show_log_entries
, bool show_log_sum
,
23 std::map
<std::string
, bool> *categories
, RGWFormatterFlusher
& flusher
);
25 static int trim(const DoutPrefixProvider
*dpp
, RGWRados
*store
, const rgw_user
& uid
, const string
& bucket_name
, uint64_t start_epoch
,
28 static int clear(const DoutPrefixProvider
*dpp
, RGWRados
*store
);