Commit e098785c authored by Marian Triebe's avatar Marian Triebe

Fix some header guard names

parent 2594a3e5
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CONTINUE_HELPER_HPP #ifndef CAF_CONTINUE_HELPER_HPP
#define CONTINUE_HELPER_HPP #define CAF_CONTINUE_HELPER_HPP
#include <functional> #include <functional>
...@@ -49,4 +49,4 @@ private: ...@@ -49,4 +49,4 @@ private:
} // namespace caf } // namespace caf
#endif // CONTINUE_HELPER_HPP #endif // CAF_CONTINUE_HELPER_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_LEFT_OR_RIGHT_HPP #ifndef CAF_DETAIL_LEFT_OR_RIGHT_HPP
#define CAF_LEFT_OR_RIGHT_HPP #define CAF_DETAIL_LEFT_OR_RIGHT_HPP
#include "caf/unit.hpp" #include "caf/unit.hpp"
...@@ -60,4 +60,4 @@ struct if_not_left<unit_t, Right> { ...@@ -60,4 +60,4 @@ struct if_not_left<unit_t, Right> {
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_LEFT_OR_RIGHT_HPP #endif // CAF_DETAIL_LEFT_OR_RIGHT_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_LOGGING_HPP #ifndef CAF_DETAIL_LOGGING_HPP
#define CAF_LOGGING_HPP #define CAF_DETAIL_LOGGING_HPP
#include <thread> #include <thread>
#include <cstring> #include <cstring>
...@@ -306,4 +306,4 @@ inline caf::actor_id caf_set_aid_dummy() { return 0; } ...@@ -306,4 +306,4 @@ inline caf::actor_id caf_set_aid_dummy() { return 0; }
#define CAF_LOGF_INFO_IF(stmt, msg) CAF_LOGF_IF(stmt, CAF_INFO, msg) #define CAF_LOGF_INFO_IF(stmt, msg) CAF_LOGF_IF(stmt, CAF_INFO, msg)
#define CAF_LOGF_TRACE_IF(stmt, msg) CAF_LOGF_IF(stmt, CAF_TRACE, msg) #define CAF_LOGF_TRACE_IF(stmt, msg) CAF_LOGF_IF(stmt, CAF_TRACE, msg)
#endif // CAF_LOGGING_HPP #endif // CAF_DETAIL_LOGGING_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_DETAIL_MESSAGE_CASE_BUILDER_HPP #ifndef CAF_DETAIL_MATCH_CASE_BUILDER_HPP
#define CAF_DETAIL_MESSAGE_CASE_BUILDER_HPP #define CAF_DETAIL_MATCH_CASE_BUILDER_HPP
#include <type_traits> #include <type_traits>
...@@ -296,4 +296,4 @@ operator||(Left l, Right r) { ...@@ -296,4 +296,4 @@ operator||(Left l, Right r) {
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_DETAIL_MESSAGE_CASE_BUILDER_HPP #endif // CAF_DETAIL_MATCH_CASE_BUILDER_HPP
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
******************************************************************************/ ******************************************************************************/
#ifndef CAF_DETAIL_MEMORY_CACHE_FLAG_TYPE #ifndef CAF_DETAIL_MEMORY_CACHE_FLAG_TYPE_HPP
#define CAF_DETAIL_MEMORY_CACHE_FLAG_TYPE #define CAF_DETAIL_MEMORY_CACHE_FLAG_TYPE_HPP
namespace caf { namespace caf {
namespace detail { namespace detail {
...@@ -32,4 +32,4 @@ enum memory_cache_flag_type { ...@@ -32,4 +32,4 @@ enum memory_cache_flag_type {
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_DETAIL_MEMORY_CACHE_FLAG_TYPE #endif // CAF_DETAIL_MEMORY_CACHE_FLAG_TYPE_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_PSEUDO_TUPLE_HPP #ifndef CAF_DETAIL_PSEUDO_TUPLE_HPP
#define CAF_PSEUDO_TUPLE_HPP #define CAF_DETAIL_PSEUDO_TUPLE_HPP
#include <cstddef> #include <cstddef>
...@@ -63,4 +63,4 @@ typename detail::type_at<N, Ts...>::type& get(detail::pseudo_tuple<Ts...>& tv) { ...@@ -63,4 +63,4 @@ typename detail::type_at<N, Ts...>::type& get(detail::pseudo_tuple<Ts...>& tv) {
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_PSEUDO_TUPLE_HPP #endif // CAF_DETAIL_PSEUDO_TUPLE_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_PURGE_REFS_HPP #ifndef CAF_DETAIL_PURGE_REFS_HPP
#define CAF_PURGE_REFS_HPP #define CAF_DETAIL_PURGE_REFS_HPP
#include <functional> #include <functional>
...@@ -54,4 +54,4 @@ struct purge_refs { ...@@ -54,4 +54,4 @@ struct purge_refs {
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_PURGE_REFS_HPP #endif // CAF_DETAIL_PURGE_REFS_HPP
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <string> #include <string>
namespace caf { namespace caf {
namespace detail { namespace detail {
std::thread run_program_impl(caf::actor, const char*, std::vector<std::string>); std::thread run_program_impl(caf::actor, const char*, std::vector<std::string>);
...@@ -42,7 +41,6 @@ std::thread run_program(caf::actor listener, const char* path, Ts&&... args) { ...@@ -42,7 +41,6 @@ std::thread run_program(caf::actor listener, const char* path, Ts&&... args) {
} }
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_DETAIL_RUN_PROGRAM_HPP #endif // CAF_DETAIL_RUN_PROGRAM_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_SHARED_SPINLOCK_HPP #ifndef CAF_DETAIL_SHARED_SPINLOCK_HPP
#define CAF_SHARED_SPINLOCK_HPP #define CAF_DETAIL_SHARED_SPINLOCK_HPP
#include <atomic> #include <atomic>
#include <cstddef> #include <cstddef>
...@@ -53,4 +53,4 @@ public: ...@@ -53,4 +53,4 @@ public:
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_SHARED_SPINLOCK_HPP #endif // CAF_DETAIL_SHARED_SPINLOCK_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_SINGLE_READER_QUEUE_HPP #ifndef CAF_DETAIL_SINGLE_READER_QUEUE_HPP
#define CAF_SINGLE_READER_QUEUE_HPP #define CAF_DETAIL_SINGLE_READER_QUEUE_HPP
#include <list> #include <list>
#include <deque> #include <deque>
...@@ -320,4 +320,4 @@ private: ...@@ -320,4 +320,4 @@ private:
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_SINGLE_READER_QUEUE_HPP #endif // CAF_DETAIL_SINGLE_READER_QUEUE_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_SINGLETON_MIXIN_HPP #ifndef CAF_DETAIL_SINGLETON_MIXIN_HPP
#define CAF_SINGLETON_MIXIN_HPP #define CAF_DETAIL_SINGLETON_MIXIN_HPP
#include <utility> #include <utility>
...@@ -92,4 +92,4 @@ protected: ...@@ -92,4 +92,4 @@ protected:
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_SINGLETON_MIXIN_HPP #endif // CAF_DETAIL_SINGLETON_MIXIN_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_DETAIL_TAIL_ARGUMENT_TOKEN #ifndef CAF_DETAIL_TAIL_ARGUMENT_TOKEN_HPP
#define CAF_DETAIL_TAIL_ARGUMENT_TOKEN #define CAF_DETAIL_TAIL_ARGUMENT_TOKEN_HPP
namespace caf { namespace caf {
namespace detail { namespace detail {
...@@ -28,4 +28,4 @@ struct tail_argument_token { }; ...@@ -28,4 +28,4 @@ struct tail_argument_token { };
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_DETAIL_TAIL_ARGUMENT_TOKEN #endif // CAF_DETAIL_TAIL_ARGUMENT_TOKEN_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_TYPED_ACTOR_DETAIL_HPP #ifndef CAF_DETAIL_TYPED_ACTOR_DETAIL_HPP
#define CAF_TYPED_ACTOR_DETAIL_HPP #define CAF_DETAIL_TYPED_ACTOR_DETAIL_HPP
#include <tuple> #include <tuple>
...@@ -269,4 +269,4 @@ struct sender_signature_checker<OrigSigs, DestSigs, detail::type_list<>> { ...@@ -269,4 +269,4 @@ struct sender_signature_checker<OrigSigs, DestSigs, detail::type_list<>> {
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_TYPED_ACTOR_DETAIL_HPP #endif // CAF_DETAIL_TYPED_ACTOR_DETAIL_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_UNIFORM_TYPE_INFO_MAP_HPP #ifndef CAF_DETAIL_UNIFORM_TYPE_INFO_MAP_HPP
#define CAF_UNIFORM_TYPE_INFO_MAP_HPP #define CAF_DETAIL_UNIFORM_TYPE_INFO_MAP_HPP
#include <set> #include <set>
#include <map> #include <map>
...@@ -90,4 +90,4 @@ public: ...@@ -90,4 +90,4 @@ public:
} // namespace detail } // namespace detail
} // namespace caf } // namespace caf
#endif // CAF_UNIFORM_TYPE_INFO_MAP_HPP #endif // CAF_DETAIL_UNIFORM_TYPE_INFO_MAP_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_DETAIL_EXECUTION_UNIT_HPP #ifndef CAF_EXECUTION_UNIT_HPP
#define CAF_DETAIL_EXECUTION_UNIT_HPP #define CAF_EXECUTION_UNIT_HPP
namespace caf { namespace caf {
...@@ -40,4 +40,4 @@ public: ...@@ -40,4 +40,4 @@ public:
} // namespace caf } // namespace caf
#endif // CAF_DETAIL_EXECUTION_UNIT_HPP #endif // CAF_EXECUTION_UNIT_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_MIXED_HPP #ifndef CAF_EXTEND_HPP
#define CAF_MIXED_HPP #define CAF_EXTEND_HPP
namespace caf { namespace caf {
...@@ -57,4 +57,4 @@ struct extend { ...@@ -57,4 +57,4 @@ struct extend {
} // namespace caf } // namespace caf
#endif // CAF_MIXED_HPP #endif // CAF_EXTEND_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_DETAIL_LOCKS_HPP #ifndef CAF_LOCKS_HPP
#define CAF_DETAIL_LOCKS_HPP #define CAF_LOCKS_HPP
#include <mutex> #include <mutex>
...@@ -96,4 +96,4 @@ private: ...@@ -96,4 +96,4 @@ private:
} // namespace caf } // namespace caf
#endif // CAF_DETAIL_LOCKS_HPP #endif // CAF_LOCKS_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef MAY_HAVE_TIMEOUT_HPP #ifndef CAF_MAY_HAVE_TIMEOUT_HPP
#define MAY_HAVE_TIMEOUT_HPP #define CAF_MAY_HAVE_TIMEOUT_HPP
namespace caf { namespace caf {
...@@ -47,4 +47,4 @@ struct may_have_timeout<timeout_definition<F>> { ...@@ -47,4 +47,4 @@ struct may_have_timeout<timeout_definition<F>> {
} // namespace caf } // namespace caf
#endif // MAY_HAVE_TIMEOUT_HPP #endif // CAF_MAY_HAVE_TIMEOUT_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef PRIORITY_HPP #ifndef CAF_PRIORITY_HPP
#define PRIORITY_HPP #define CAF_PRIORITY_HPP
#include <cstdint> #include <cstdint>
...@@ -31,4 +31,4 @@ enum class message_priority : uint32_t { ...@@ -31,4 +31,4 @@ enum class message_priority : uint32_t {
} // namespace caf } // namespace caf
#endif // PRIORITY_HPP #endif // CAF_PRIORITY_HPP
/******************************************************************************\ /******************************************************************************
* ___ __ * * ____ _ _____ *
* /\_ \ __/\ \ * * / ___| / \ | ___| C++ *
* \//\ \ /\_\ \ \____ ___ _____ _____ __ * * | | / _ \ | |_ Actor *
* \ \ \ \/\ \ \ '__`\ /'___\/\ '__`\/\ '__`\ /'__`\ * * | |___ / ___ \| _| Framework *
* \_\ \_\ \ \ \ \L\ \/\ \__/\ \ \L\ \ \ \L\ \/\ \L\.\_ * * \____/_/ \_|_| *
* /\____\\ \_\ \_,__/\ \____\\ \ ,__/\ \ ,__/\ \__/.\_\ *
* \/____/ \/_/\/___/ \/____/ \ \ \/ \ \ \/ \/__/\/_/ *
* \ \_\ \ \_\ *
* \/_/ \/_/ *
* * * *
* Copyright (C) 2011-2013 * * Copyright (C) 2011 - 2015 *
* Dominik Charousset <dominik.charousset@haw-hamburg.de> * * Dominik Charousset <dominik.charousset (at) haw-hamburg.de> *
* * * *
* This file is part of libcaf. * * Distributed under the terms and conditions of the BSD 3-Clause License or *
* libcaf is free software: you can redistribute it and/or modify it under * * (at your option) under the terms and conditions of the Boost Software *
* the terms of the GNU Lesser General Public License as published by the * * License 1.0. See accompanying files LICENSE and LICENSE_ALTERNATIVE. *
* Free Software Foundation; either version 2.1 of the License, *
* or (at your option) any later version. *
* * * *
* libcaf is distributed in the hope that it will be useful, * * If you did not receive a copy of the license files, see *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * http://opensource.org/licenses/BSD-3-Clause and *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * http://www.boost.org/LICENSE_1_0.txt. *
* See the GNU Lesser General Public License for more details. * ******************************************************************************/
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with libcaf. If not, see <http://www.gnu.org/licenses/>. *
\******************************************************************************/
#ifndef CPPA_ACTOR_WIDGET_MIXIN_HPP #ifndef CAF_MIXIN_ACTOR_WIDGET_HPP
#define CPPA_ACTOR_WIDGET_MIXIN_HPP #define CAF_MIXIN_ACTOR_WIDGET_HPP
#include "caf/config.hpp" #include "caf/config.hpp"
#include "caf/make_counted.hpp" #include "caf/make_counted.hpp"
...@@ -94,4 +83,4 @@ private: ...@@ -94,4 +83,4 @@ private:
} // namespace mixin } // namespace mixin
} // namespace caf } // namespace caf
#endif // CPPA_ACTOR_WIDGET_MIXIN_HPP #endif // CAF_MIXIN_ACTOR_WIDGET_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_PROCESS_INFORMATION_HPP #ifndef CAF_NODE_ID_HPP
#define CAF_PROCESS_INFORMATION_HPP #define CAF_NODE_ID_HPP
#include <array> #include <array>
#include <string> #include <string>
...@@ -137,4 +137,4 @@ private: ...@@ -137,4 +137,4 @@ private:
} // namespace caf } // namespace caf
#endif // CAF_PROCESS_INFORMATION_HPP #endif // CAF_NODE_ID_HPP
...@@ -36,7 +36,6 @@ public: ...@@ -36,7 +36,6 @@ public:
// A thead-safe queue implementation. // A thead-safe queue implementation.
using queue_type = std::list<resumable*>; using queue_type = std::list<resumable*>;
// The coordinator has only a counter for round-robin enqueue to its workers.
struct coordinator_data { struct coordinator_data {
queue_type queue; queue_type queue;
std::mutex lock; std::mutex lock;
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_FSM_ACTOR_HPP #ifndef CAF_SB_ACTOR_HPP
#define CAF_FSM_ACTOR_HPP #define CAF_SB_ACTOR_HPP
#include <utility> #include <utility>
#include <type_traits> #include <type_traits>
...@@ -51,4 +51,4 @@ protected: ...@@ -51,4 +51,4 @@ protected:
} // namespace caf } // namespace caf
#endif // CAF_FSM_ACTOR_HPP #endif // CAF_SB_ACTOR_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_IO_SHUTDOWN_HPP #ifndef CAF_SHUTDOWN_HPP
#define CAF_IO_SHUTDOWN_HPP #define CAF_SHUTDOWN_HPP
namespace caf { namespace caf {
...@@ -31,4 +31,4 @@ void shutdown(); ...@@ -31,4 +31,4 @@ void shutdown();
} // namespace caf } // namespace caf
#endif // CAF_IO_SHUTDOWN_HPP #endif // CAF_SHUTDOWN_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_MATCH_HINT_HPP #ifndef CAF_SKIP_MESSAGE_HPP
#define CAF_MATCH_HINT_HPP #define CAF_SKIP_MESSAGE_HPP
#include <ostream> #include <ostream>
...@@ -44,4 +44,4 @@ std::ostream& operator<<(std::ostream&, skip_message_t); ...@@ -44,4 +44,4 @@ std::ostream& operator<<(std::ostream&, skip_message_t);
} // namespace caf } // namespace caf
#endif // CAF_MATCH_HINT_HPP #endif // CAF_SKIP_MESSAGE_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_UTIL_ALGORITHM_HPP #ifndef CAF_STRING_ALGORITHMS_HPP
#define CAF_UTIL_ALGORITHM_HPP #define CAF_STRING_ALGORITHMS_HPP
#include <cmath> // fabs #include <cmath> // fabs
#include <string> #include <string>
...@@ -141,4 +141,4 @@ caf::optional<T> spro(const std::string& str) { ...@@ -141,4 +141,4 @@ caf::optional<T> spro(const std::string& str) {
} // namespace caf } // namespace caf
#endif // CAF_UTIL_ALGORITHM_HPP #endif // CAF_STRING_ALGORITHMS_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_ACCEPT_HANDLE_HPP #ifndef CAF_IO_ACCEPT_HANDLE_HPP
#define CAF_ACCEPT_HANDLE_HPP #define CAF_IO_ACCEPT_HANDLE_HPP
#include "caf/io/handle.hpp" #include "caf/io/handle.hpp"
...@@ -45,4 +45,4 @@ private: ...@@ -45,4 +45,4 @@ private:
} // namespace ios } // namespace ios
} // namespace caf } // namespace caf
#endif // CAF_ACCEPT_HANDLE_HPP #endif // CAF_IO_ACCEPT_HANDLE_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_CONNECTION_HANDLE_HPP #ifndef CAF_IO_CONNECTION_HANDLE_HPP
#define CAF_CONNECTION_HANDLE_HPP #define CAF_IO_CONNECTION_HANDLE_HPP
#include "caf/io/handle.hpp" #include "caf/io/handle.hpp"
...@@ -44,4 +44,4 @@ private: ...@@ -44,4 +44,4 @@ private:
} // namespace io } // namespace io
} // namespace caf } // namespace caf
#endif // CAF_CONNECTION_HANDLE_HPP #endif // CAF_IO_CONNECTION_HANDLE_HPP
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. * * http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/ ******************************************************************************/
#ifndef CAF_DETAIL_HANDLE_HPP #ifndef CAF_IO_HANDLE_HPP
#define CAF_DETAIL_HANDLE_HPP #define CAF_IO_HANDLE_HPP
#include <cstdint> #include <cstdint>
...@@ -82,4 +82,4 @@ private: ...@@ -82,4 +82,4 @@ private:
} // namespace caf } // namespace caf
#endif // CAF_DETAIL_HANDLE_HPP #endif // CAF_IO_HANDLE_HPP
#ifndef RECEIVE_POLICY_H /******************************************************************************
#define RECEIVE_POLICY_H * ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
* | |___ / ___ \| _| Framework *
* \____/_/ \_|_| *
* *
* Copyright (C) 2011 - 2015 *
* Dominik Charousset <dominik.charousset (at) haw-hamburg.de> *
* *
* Distributed under the terms and conditions of the BSD 3-Clause License or *
* (at your option) under the terms and conditions of the Boost Software *
* License 1.0. See accompanying files LICENSE and LICENSE_ALTERNATIVE. *
* *
* If you did not receive a copy of the license files, see *
* http://opensource.org/licenses/BSD-3-Clause and *
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef CAF_IO_RECEIVE_POLICY_HPP
#define CAF_IO_RECEIVE_POLICY_HPP
#include <cstddef> #include <cstddef>
#include <utility> #include <utility>
...@@ -43,4 +62,4 @@ public: ...@@ -43,4 +62,4 @@ public:
} // namespace io } // namespace io
} // namespace caf } // namespace caf
#endif // RECEIVE_POLICY_H #endif // CAF_IO_RECEIVE_POLICY_HPP
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment