1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 #ifndef CEPH_RBD_MIRROR_SERVICE_DAEMON_TYPES_H
5 #define CEPH_RBD_MIRROR_SERVICE_DAEMON_TYPES_H
7 #include "include/int_types.h"
10 #include <boost/variant.hpp>
14 namespace service_daemon {
16 typedef uint64_t CalloutId;
17 const uint64_t CALLOUT_ID_NONE {0};
21 CALLOUT_LEVEL_WARNING,
25 std::ostream& operator<<(std::ostream& os, const CalloutLevel& callout_level);
27 typedef boost::variant<bool, uint64_t, std::string> AttributeValue;
29 } // namespace service_daemon
33 #endif // CEPH_RBD_MIRROR_SERVICE_DAEMON_TYPES_H