permissions.hpp 961 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright Andrey Semashev 2016.
  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. /*!
  8. * \file keywords/permissions.hpp
  9. * \author Andrey Semashev
  10. * \date 23.02.2016
  11. *
  12. * The header contains the \c permissions keyword declaration.
  13. */
  14. #ifndef BOOST_LOG_KEYWORDS_PERMISSIONS_HPP_INCLUDED_
  15. #define BOOST_LOG_KEYWORDS_PERMISSIONS_HPP_INCLUDED_
  16. #include <boost/parameter/keyword.hpp>
  17. #include <boost/log/detail/config.hpp>
  18. #ifdef BOOST_HAS_PRAGMA_ONCE
  19. #pragma once
  20. #endif
  21. namespace boost {
  22. BOOST_LOG_OPEN_NAMESPACE
  23. namespace keywords {
  24. //! The keyword allows to pass interprocess queue permissions to the queue constructor
  25. BOOST_PARAMETER_KEYWORD(tag, permissions)
  26. } // namespace keywords
  27. BOOST_LOG_CLOSE_NAMESPACE // namespace log
  28. } // namespace boost
  29. #endif // BOOST_LOG_KEYWORDS_PERMISSIONS_HPP_INCLUDED_