summaryrefslogtreecommitdiffstats
path: root/src/librbd/journal/TypeTraits.h
blob: 51b025f6d575f0fc6746a679ff55732132581118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H
#define CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H

struct ContextWQ;

namespace journal {
class Future;
class Journaler;
class ReplayEntry;
}

namespace librbd {
namespace journal {

template <typename ImageCtxT>
struct TypeTraits {
  typedef ::journal::Journaler Journaler;
  typedef ::journal::Future Future;
  typedef ::journal::ReplayEntry ReplayEntry;
  typedef ::ContextWQ ContextWQ;
};

} // namespace journal
} // namespace librbd

#endif // CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H