]> git.proxmox.com Git - ceph.git/blob - ceph/src/tools/ceph-dencoder/osd_types.cc
import 15.2.0 Octopus source
[ceph.git] / ceph / src / tools / ceph-dencoder / osd_types.cc
1 #include "acconfig.h"
2 #include <cstdint>
3 using namespace std;
4 #include "include/ceph_features.h"
5
6 #define TYPE(t)
7 #define TYPE_STRAYDATA(t)
8 #define TYPE_NONDETERMINISTIC(t)
9 #define TYPE_FEATUREFUL(t)
10 #define TYPE_FEATUREFUL_STRAYDATA(t)
11 #define TYPE_FEATUREFUL_NONDETERMINISTIC(t)
12 #define TYPE_FEATUREFUL_NOCOPY(t)
13 #define TYPE_NOCOPY(t)
14 #define MESSAGE(t)
15 #include "osd_types.h"
16 #undef TYPE
17 #undef TYPE_STRAYDATA
18 #undef TYPE_NONDETERMINISTIC
19 #undef TYPE_NOCOPY
20 #undef TYPE_FEATUREFUL
21 #undef TYPE_FEATUREFUL_STRAYDATA
22 #undef TYPE_FEATUREFUL_NONDETERMINISTIC
23 #undef TYPE_FEATUREFUL_NOCOPY
24 #undef MESSAGE
25
26 #include "denc_registry.h"
27
28 // cannot initialize dencoders when initializing static variables, as some of
29 // the types are allocated using mempool, and the mempools are initialized as
30 // static variables.
31 void register_osd_dencoders()
32 {
33 #include "osd_types.h"
34 }