mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
Add forward declaration headers
This commit is contained in:
committed by
Mohammad Nejati
parent
225a25b57c
commit
0078272001
@@ -16,31 +16,43 @@ add_executable (tests-beast-http
|
||||
${EXTRAS_FILES}
|
||||
Jamfile
|
||||
any_completion_handler.cpp
|
||||
message_fuzz.hpp
|
||||
test_parser.hpp
|
||||
basic_dynamic_body_fwd.cpp
|
||||
basic_dynamic_body.cpp
|
||||
basic_file_body_fwd.cpp
|
||||
basic_file_body.cpp
|
||||
basic_parser.cpp
|
||||
buffer_body_fwd.cpp
|
||||
buffer_body.cpp
|
||||
chunk_encode.cpp
|
||||
deferred.cpp
|
||||
dynamic_body_fwd.cpp
|
||||
dynamic_body.cpp
|
||||
empty_body_fwd.cpp
|
||||
empty_body.cpp
|
||||
error.cpp
|
||||
field.cpp
|
||||
field_compiles.cpp
|
||||
field.cpp
|
||||
fields_fwd.cpp
|
||||
fields.cpp
|
||||
file_body_fwd.cpp
|
||||
file_body.cpp
|
||||
message_fwd.cpp
|
||||
message_generator_fwd.cpp
|
||||
message_generator.cpp
|
||||
message.cpp
|
||||
parser_fwd.cpp
|
||||
parser.cpp
|
||||
read.cpp
|
||||
rfc7230.cpp
|
||||
serializer_fwd.cpp
|
||||
serializer.cpp
|
||||
span_body_fwd.cpp
|
||||
span_body.cpp
|
||||
status.cpp
|
||||
string_body_fwd.cpp
|
||||
string_body.cpp
|
||||
type_traits.cpp
|
||||
vector_body_fwd.cpp
|
||||
vector_body.cpp
|
||||
verb.cpp
|
||||
write.cpp
|
||||
|
@@ -9,28 +9,43 @@
|
||||
|
||||
local SOURCES =
|
||||
any_completion_handler.cpp
|
||||
basic_dynamic_body_fwd.cpp
|
||||
basic_dynamic_body.cpp
|
||||
basic_file_body_fwd.cpp
|
||||
basic_file_body.cpp
|
||||
basic_parser.cpp
|
||||
buffer_body_fwd.cpp
|
||||
buffer_body.cpp
|
||||
chunk_encode.cpp
|
||||
deferred.cpp
|
||||
dynamic_body_fwd.cpp
|
||||
dynamic_body.cpp
|
||||
empty_body_fwd.cpp
|
||||
empty_body.cpp
|
||||
error.cpp
|
||||
field.cpp
|
||||
field_compiles.cpp
|
||||
field.cpp
|
||||
fields_fwd.cpp
|
||||
fields.cpp
|
||||
file_body_fwd.cpp
|
||||
file_body.cpp
|
||||
message_fwd.cpp
|
||||
message_generator_fwd.cpp
|
||||
message_generator.cpp
|
||||
message.cpp
|
||||
parser_fwd.cpp
|
||||
parser.cpp
|
||||
read.cpp
|
||||
rfc7230.cpp
|
||||
serializer_fwd.cpp
|
||||
serializer.cpp
|
||||
span_body_fwd.cpp
|
||||
span_body.cpp
|
||||
status.cpp
|
||||
string_body_fwd.cpp
|
||||
string_body.cpp
|
||||
type_traits.cpp
|
||||
vector_body_fwd.cpp
|
||||
vector_body.cpp
|
||||
verb.cpp
|
||||
write.cpp
|
||||
|
11
test/beast/http/basic_dynamic_body_fwd.cpp
Normal file
11
test/beast/http/basic_dynamic_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/basic_dynamic_body_fwd.hpp>
|
11
test/beast/http/basic_file_body_fwd.cpp
Normal file
11
test/beast/http/basic_file_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/basic_file_body_fwd.hpp>
|
11
test/beast/http/buffer_body_fwd.cpp
Normal file
11
test/beast/http/buffer_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/buffer_body_fwd.hpp>
|
11
test/beast/http/dynamic_body_fwd.cpp
Normal file
11
test/beast/http/dynamic_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/dynamic_body_fwd.hpp>
|
@@ -10,6 +10,8 @@
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/empty_body.hpp>
|
||||
|
||||
#include <boost/beast/http/type_traits.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
namespace http {
|
||||
|
11
test/beast/http/empty_body_fwd.cpp
Normal file
11
test/beast/http/empty_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/empty_body_fwd.hpp>
|
11
test/beast/http/fields_fwd.cpp
Normal file
11
test/beast/http/fields_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/fields_fwd.hpp>
|
11
test/beast/http/file_body_fwd.cpp
Normal file
11
test/beast/http/file_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/file_body_fwd.hpp>
|
11
test/beast/http/message_fwd.cpp
Normal file
11
test/beast/http/message_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/message_fwd.hpp>
|
11
test/beast/http/message_generator_fwd.cpp
Normal file
11
test/beast/http/message_generator_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/message_generator_fwd.hpp>
|
11
test/beast/http/parser_fwd.cpp
Normal file
11
test/beast/http/parser_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/parser_fwd.hpp>
|
11
test/beast/http/serializer_fwd.cpp
Normal file
11
test/beast/http/serializer_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/serializer_fwd.hpp>
|
@@ -10,9 +10,10 @@
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/span_body.hpp>
|
||||
|
||||
#include <boost/beast/_experimental/unit_test/suite.hpp>
|
||||
#include <boost/beast/core/buffer_traits.hpp>
|
||||
#include <boost/beast/http/message.hpp>
|
||||
#include <boost/beast/_experimental/unit_test/suite.hpp>
|
||||
#include <boost/beast/http/type_traits.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
|
11
test/beast/http/span_body_fwd.cpp
Normal file
11
test/beast/http/span_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/span_body_fwd.hpp>
|
@@ -10,6 +10,8 @@
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/string_body.hpp>
|
||||
|
||||
#include <boost/beast/http/type_traits.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
namespace http {
|
||||
|
11
test/beast/http/string_body_fwd.cpp
Normal file
11
test/beast/http/string_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/string_body_fwd.hpp>
|
@@ -11,6 +11,7 @@
|
||||
#include <boost/beast/http/type_traits.hpp>
|
||||
|
||||
#include <boost/beast/http/empty_body.hpp>
|
||||
#include <boost/beast/http/message.hpp>
|
||||
#include <boost/beast/http/string_body.hpp>
|
||||
#include <boost/beast/core/buffer_traits.hpp>
|
||||
#include <boost/beast/core/buffers_cat.hpp>
|
||||
|
@@ -9,6 +9,9 @@
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/vector_body.hpp>
|
||||
|
||||
#include <boost/beast/http/type_traits.hpp>
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace boost {
|
||||
|
11
test/beast/http/vector_body_fwd.cpp
Normal file
11
test/beast/http/vector_body_fwd.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2024 Mohammad Nejati
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/http/vector_body_fwd.hpp>
|
Reference in New Issue
Block a user