]> git.proxmox.com Git - ceph.git/blob - ceph/src/librbd/journal/TypeTraits.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / librbd / journal / TypeTraits.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #ifndef CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H
5 #define CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H
6
7 struct ContextWQ;
8
9 namespace journal {
10 class Future;
11 class Journaler;
12 class ReplayEntry;
13 }
14
15 namespace librbd {
16 namespace journal {
17
18 template <typename ImageCtxT>
19 struct TypeTraits {
20 typedef ::journal::Journaler Journaler;
21 typedef ::journal::Future Future;
22 typedef ::journal::ReplayEntry ReplayEntry;
23 typedef ::ContextWQ ContextWQ;
24 };
25
26 } // namespace journal
27 } // namespace librbd
28
29 #endif // CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H