mqtt_cpp
constant.hpp
Go to the documentation of this file.
1 // Copyright Takatoshi Kondo 2020
2 //
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 
7 #if !defined(MQTT_CONSTANT_HPP)
8 #define MQTT_CONSTANT_HPP
9 
10 #include <mqtt/namespace.hpp>
11 #include <mqtt/type.hpp>
12 
13 namespace MQTT_NS {
14 
15 static constexpr session_expiry_interval_t session_never_expire = 0xffffffffUL;
16 static constexpr topic_alias_t topic_alias_max = 0xffff;
17 
18 } // namespace MQTT_NS
19 
20 #endif // MQTT_CONSTANT_HPP
Definition: any.hpp:27
std::uint16_t topic_alias_t
Definition: type.hpp:17
std::uint32_t session_expiry_interval_t
Definition: type.hpp:16