From e514b4a40cc23667d1889424350c9819f78e48de Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 9 Mar 2016 15:43:13 -0300 Subject: [PATCH] Add Boost License --- COPYING | 23 +++++++++++++++++++++++ src/basic_buffer.hpp | 6 ++++++ src/buffer.hpp | 6 ++++++ src/error.hpp | 6 ++++++ src/linux/tipc.hpp | 6 ++++++ src/linux/tipc/opt.hpp | 6 ++++++ src/linux/tipc/print.hpp | 6 ++++++ src/socket/basic_socket.hpp | 6 ++++++ src/socket/inet.hpp | 6 ++++++ src/socket/inet/print.hpp | 6 ++++++ src/socket/opt.hpp | 6 ++++++ src/socket/unix.hpp | 6 ++++++ src/socket/unix/print.hpp | 6 ++++++ src/static_assert.hpp | 6 ++++++ test/buffer.cpp | 6 ++++++ test/error.cpp | 6 ++++++ test/linux/tipc/common.hpp | 6 ++++++ test/linux/tipc/dgram.cpp | 6 ++++++ test/linux/tipc/rdm.cpp | 6 ++++++ test/linux/tipc/seqpacket.cpp | 6 ++++++ test/linux/tipc/sockaddr.cpp | 6 ++++++ test/linux/tipc/stream.cpp | 6 ++++++ test/socket/generic_test.hpp | 6 ++++++ test/socket/generic_test_includes.hpp | 6 ++++++ test/socket/inet/common.hpp | 6 ++++++ test/socket/inet/dgram.cpp | 6 ++++++ test/socket/inet/sockaddr.cpp | 6 ++++++ test/socket/inet/stream.cpp | 6 ++++++ test/socket/unix/common.hpp | 6 ++++++ test/socket/unix/dgram.cpp | 6 ++++++ test/socket/unix/sockaddr.cpp | 6 ++++++ test/socket/unix/stream.cpp | 6 ++++++ test/test_suite.cpp | 6 ++++++ 33 files changed, 215 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..36b7cd9 --- /dev/null +++ b/COPYING @@ -0,0 +1,23 @@ +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/src/basic_buffer.hpp b/src/basic_buffer.hpp index 14b880c..0b40e2e 100644 --- a/src/basic_buffer.hpp +++ b/src/basic_buffer.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_BASIC_BUFFER_HPP_ #define POSIXX_BASIC_BUFFER_HPP_ diff --git a/src/buffer.hpp b/src/buffer.hpp index b3b8c11..af189c5 100644 --- a/src/buffer.hpp +++ b/src/buffer.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_BUFFER_HPP_ #define POSIXX_BUFFER_HPP_ diff --git a/src/error.hpp b/src/error.hpp index acea422..c944ff2 100644 --- a/src/error.hpp +++ b/src/error.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_ERROR_HPP_ #define POSIXX_ERROR_HPP_ diff --git a/src/linux/tipc.hpp b/src/linux/tipc.hpp index 0fc49fb..bd985e5 100644 --- a/src/linux/tipc.hpp +++ b/src/linux/tipc.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_LINUX_TIPC_HPP_ #define POSIXX_LINUX_TIPC_HPP_ diff --git a/src/linux/tipc/opt.hpp b/src/linux/tipc/opt.hpp index c7f9f17..f61ad65 100644 --- a/src/linux/tipc/opt.hpp +++ b/src/linux/tipc/opt.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_LINUX_TIPC_OPT_HPP_ #define POSIXX_LINUX_TIPC_OPT_HPP_ diff --git a/src/linux/tipc/print.hpp b/src/linux/tipc/print.hpp index ae067df..4df37bb 100644 --- a/src/linux/tipc/print.hpp +++ b/src/linux/tipc/print.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_LINUX_TIPC_PRINT_HPP_ #define POSIXX_LINUX_TIPC_PRINT_HPP_ diff --git a/src/socket/basic_socket.hpp b/src/socket/basic_socket.hpp index 9135f52..29fdf64 100644 --- a/src/socket/basic_socket.hpp +++ b/src/socket/basic_socket.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_SOCKET_BASIC_SOCKET_HPP_ #define POSIXX_SOCKET_BASIC_SOCKET_HPP_ diff --git a/src/socket/inet.hpp b/src/socket/inet.hpp index f86246f..5941098 100644 --- a/src/socket/inet.hpp +++ b/src/socket/inet.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_SOCKET_INET_HPP_ #define POSIXX_SOCKET_INET_HPP_ diff --git a/src/socket/inet/print.hpp b/src/socket/inet/print.hpp index 168729a..dbbfb4a 100644 --- a/src/socket/inet/print.hpp +++ b/src/socket/inet/print.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_SOCKET_INET_PRINT_HPP_ #define POSIXX_SOCKET_INET_PRINT_HPP_ diff --git a/src/socket/opt.hpp b/src/socket/opt.hpp index 854c3a5..3789654 100644 --- a/src/socket/opt.hpp +++ b/src/socket/opt.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_SOCKET_OPT_HPP_ #define POSIXX_SOCKET_OPT_HPP_ diff --git a/src/socket/unix.hpp b/src/socket/unix.hpp index 6da9dde..c949d1b 100644 --- a/src/socket/unix.hpp +++ b/src/socket/unix.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_SOCKET_UNIX_HPP_ #define POSIXX_SOCKET_UNIX_HPP_ diff --git a/src/socket/unix/print.hpp b/src/socket/unix/print.hpp index 3a540f2..ba24f75 100644 --- a/src/socket/unix/print.hpp +++ b/src/socket/unix/print.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_SOCKET_UNIX_PRINT_HPP_ #define POSIXX_SOCKET_UNIX_PRINT_HPP_ diff --git a/src/static_assert.hpp b/src/static_assert.hpp index 8689f34..56f3367 100644 --- a/src/static_assert.hpp +++ b/src/static_assert.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef POSIXX_STATIC_ASSERT_HPP_ #define POSIXX_STATIC_ASSERT_HPP_ diff --git a/test/buffer.cpp b/test/buffer.cpp index a420c2b..f8c1d1a 100644 --- a/test/buffer.cpp +++ b/test/buffer.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include // buffer #include // std::ostream diff --git a/test/error.cpp b/test/error.cpp index 7726da2..3b9a8fd 100644 --- a/test/error.cpp +++ b/test/error.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include // posixx::error diff --git a/test/linux/tipc/common.hpp b/test/linux/tipc/common.hpp index 2619663..a449bcf 100644 --- a/test/linux/tipc/common.hpp +++ b/test/linux/tipc/common.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef TEST_LINUX_TIPC_COMMON_HPP_ #define TEST_LINUX_TIPC_COMMON_HPP_ diff --git a/test/linux/tipc/dgram.cpp b/test/linux/tipc/dgram.cpp index 3b4e258..ba47592 100644 --- a/test/linux/tipc/dgram.cpp +++ b/test/linux/tipc/dgram.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // test_address1, test_address2 (for the generic test) #include // unit testing stuff diff --git a/test/linux/tipc/rdm.cpp b/test/linux/tipc/rdm.cpp index 8346758..a351add 100644 --- a/test/linux/tipc/rdm.cpp +++ b/test/linux/tipc/rdm.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // test_address1, test_address2 (for the generic test) #include // unit testing stuff diff --git a/test/linux/tipc/seqpacket.cpp b/test/linux/tipc/seqpacket.cpp index 5f7675b..481bd11 100644 --- a/test/linux/tipc/seqpacket.cpp +++ b/test/linux/tipc/seqpacket.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // test_address1, test_address2 (for the generic test) #include // unit testing stuff diff --git a/test/linux/tipc/sockaddr.cpp b/test/linux/tipc/sockaddr.cpp index b3b4d02..dcaf13f 100644 --- a/test/linux/tipc/sockaddr.cpp +++ b/test/linux/tipc/sockaddr.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // PTYPE, INST{1,2}, test_address{1,2} #include // posixx::linux::tipc diff --git a/test/linux/tipc/stream.cpp b/test/linux/tipc/stream.cpp index b00f6ef..72af380 100644 --- a/test/linux/tipc/stream.cpp +++ b/test/linux/tipc/stream.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // test_address1, test_address2 (for the generic test) #include // unit testing stuff diff --git a/test/socket/generic_test.hpp b/test/socket/generic_test.hpp index a5716f6..cb9e6b3 100644 --- a/test/socket/generic_test.hpp +++ b/test/socket/generic_test.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + /* * This file should be included from others, and the next symbols are expected diff --git a/test/socket/generic_test_includes.hpp b/test/socket/generic_test_includes.hpp index e943ef0..ff1f0b7 100644 --- a/test/socket/generic_test_includes.hpp +++ b/test/socket/generic_test_includes.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + /* * This file should be included before using generic_test.hpp, outside any * BOOST_... suite or unit test. diff --git a/test/socket/inet/common.hpp b/test/socket/inet/common.hpp index 4829557..442bb3a 100644 --- a/test/socket/inet/common.hpp +++ b/test/socket/inet/common.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef TEST_SOCKET_IP_COMMON_HPP_ #define TEST_SOCKET_IP_COMMON_HPP_ diff --git a/test/socket/inet/dgram.cpp b/test/socket/inet/dgram.cpp index 907cfab..829b174 100644 --- a/test/socket/inet/dgram.cpp +++ b/test/socket/inet/dgram.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // test_address1, test_address2 (for the generic test) #include // unit testing stuff diff --git a/test/socket/inet/sockaddr.cpp b/test/socket/inet/sockaddr.cpp index ddda234..7c54304 100644 --- a/test/socket/inet/sockaddr.cpp +++ b/test/socket/inet/sockaddr.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // IP, PORT{1,2}, test_address{1,2} #include // posixx::socket::inet diff --git a/test/socket/inet/stream.cpp b/test/socket/inet/stream.cpp index 26b9af1..5d88b5b 100644 --- a/test/socket/inet/stream.cpp +++ b/test/socket/inet/stream.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // test_address1, test_address2 (for the generic test) #include // unit testing stuff diff --git a/test/socket/unix/common.hpp b/test/socket/unix/common.hpp index 4686974..e86f8fa 100644 --- a/test/socket/unix/common.hpp +++ b/test/socket/unix/common.hpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #ifndef TEST_SOCKET_UNIX_COMMON_HPP_ #define TEST_SOCKET_UNIX_COMMON_HPP_ diff --git a/test/socket/unix/dgram.cpp b/test/socket/unix/dgram.cpp index 95b6c88..40cfb20 100644 --- a/test/socket/unix/dgram.cpp +++ b/test/socket/unix/dgram.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // test_address1, test_address2 #include // posixx::socket::unix diff --git a/test/socket/unix/sockaddr.cpp b/test/socket/unix/sockaddr.cpp index 42aabf6..9fd3cb4 100644 --- a/test/socket/unix/sockaddr.cpp +++ b/test/socket/unix/sockaddr.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // PATH{1,2}, test_address{1,2} #include // unit testing stuff diff --git a/test/socket/unix/stream.cpp b/test/socket/unix/stream.cpp index 0d16727..c07a674 100644 --- a/test/socket/unix/stream.cpp +++ b/test/socket/unix/stream.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #include "common.hpp" // test_address1, test_address2 #include // posixx::socket::unix diff --git a/test/test_suite.cpp b/test/test_suite.cpp index 0d8ade7..9154c36 100644 --- a/test/test_suite.cpp +++ b/test/test_suite.cpp @@ -1,3 +1,9 @@ +// Copyright Leandro Lucarella 2008 - 2010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file COPYING or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + #define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK -- 2.43.0