constant.hpp 502 B

123456789101112131415161718192021222324
  1. // Copyright Wouter van Kleunen 2022
  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. #if !defined(MQTT_BROKER_CONSTANT_HPP)
  7. #define MQTT_BROKER_CONSTANT_HPP
  8. #include <mqtt/namespace.hpp>
  9. #include <mqtt/type.hpp>
  10. namespace MQTT_NS {
  11. namespace broker {
  12. static constexpr std::size_t max_cn_size = 0xffff;
  13. } // namespace broker
  14. } // namespace MQTT_NS
  15. #endif // MQTT_BROKER_CONSTANT_HPP