1 // Copyright Leandro Lucarella 2008 - 2010.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file COPYING or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef TEST_LINUX_TIPC_COMMON_HPP_
8 #define TEST_LINUX_TIPC_COMMON_HPP_
10 #include <posixx/linux/tipc.hpp> // posixx::linux::tipc
11 #include <posixx/linux/tipc/print.hpp> // address output formatting
17 // no need to clean addresses
18 #define clean_test_address(socket, addr)
20 static posixx::linux::tipc::sockaddr test_address1(
21 posixx::linux::tipc::name(PTYPE, INST1));
22 static posixx::linux::tipc::sockaddr test_address2(
23 posixx::linux::tipc::name(PTYPE, INST2));
25 #endif // TEST_LINUX_TIPC_COMMON_HPP_