]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/services/svc_bucket_types.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / rgw / services / svc_bucket_types.h
1
2 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
3 // vim: ts=8 sw=2 smarttab ft=cpp
4
5 /*
6 * Ceph - scalable distributed file system
7 *
8 * Copyright (C) 2019 Red Hat, Inc.
9 *
10 * This is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License version 2.1, as published by the Free Software
13 * Foundation. See file COPYING.
14 *
15 */
16
17
18 #pragma once
19
20 #include "common/ptr_wrapper.h"
21
22 #include "svc_meta_be.h"
23 #include "svc_meta_be_types.h"
24
25 class RGWSI_MetaBackend_Handler;
26
27 using RGWSI_Bucket_BE_Handler = ptr_wrapper<RGWSI_MetaBackend_Handler, RGWSI_META_BE_TYPES::BUCKET>;
28 using RGWSI_BucketInstance_BE_Handler = ptr_wrapper<RGWSI_MetaBackend_Handler, RGWSI_META_BE_TYPES::BI>;
29
30
31 using RGWSI_Bucket_EP_Ctx = ptr_wrapper<RGWSI_MetaBackend::Context, RGWSI_META_BE_TYPES::BUCKET>;
32 using RGWSI_Bucket_BI_Ctx = ptr_wrapper<RGWSI_MetaBackend::Context, RGWSI_META_BE_TYPES::BI>;
33
34 struct RGWSI_Bucket_X_Ctx {
35 RGWSI_Bucket_EP_Ctx ep;
36 RGWSI_Bucket_BI_Ctx bi;
37 };
38