Skip to content

Commit

Permalink
Replace boost/asio.hpp header with specific ones.
Browse files Browse the repository at this point in the history
  • Loading branch information
glynos authored and deanberris committed Feb 10, 2010
1 parent 12c62f7 commit 6791826
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion boost/network/protocol/http/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <boost/network/protocol/http/response.hpp>
#include <boost/network/protocol/http/request.hpp>
#include <boost/network/protocol/http/traits/connection_policy.hpp>
#include <boost/asio.hpp>
#include <boost/asio/io_service.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
Expand Down
7 changes: 6 additions & 1 deletion boost/network/protocol/http/connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
#include <boost/network/protocol/http/request.hpp>
#include <boost/network/protocol/http/header.hpp>
#include <boost/network/protocol/http/response.hpp>
#include <boost/asio.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/buffer.hpp>
#include <boost/asio/write.hpp>
#include <boost/asio/read.hpp>
#include <boost/asio/strand.hpp>
#include <boost/asio/placeholders.hpp>
#include <boost/array.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string/case_conv.hpp>
Expand Down
1 change: 1 addition & 0 deletions boost/network/protocol/http/detail/connection_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <boost/network/version.hpp>
#include <boost/foreach.hpp>
#include <boost/network/protocol/http/traits/connection_keepalive.hpp>
#include <boost/asio/streambuf.hpp>

namespace boost { namespace network { namespace http { namespace detail {

Expand Down
2 changes: 1 addition & 1 deletion boost/network/protocol/http/impl/response.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef BOOST_NETWORK_PROTOCOL_HTTP_IMPL_RESPONSE_RESPONSE_IPP
#define BOOST_NETWORK_PROTOCOL_HTTP_IMPL_RESPONSE_RESPONSE_IPP

#include <boost/asio.hpp>
#include <boost/asio/buffer.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/network/traits/string.hpp>
#include <boost/network/traits/vector.hpp>
Expand Down
3 changes: 3 additions & 0 deletions boost/network/protocol/http/impl/sync_connection_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
#include <boost/network/traits/ostringstream.hpp>
#include <boost/network/traits/istringstream.hpp>
#include <boost/asio/ssl.hpp>
#include <boost/asio/streambuf.hpp>
#include <boost/asio/read.hpp>
#include <boost/asio/read_until.hpp>
#include <boost/tuple/tuple.hpp>

namespace boost { namespace network { namespace http { namespace impl {
Expand Down
1 change: 0 additions & 1 deletion boost/network/protocol/http/policies/sync_resolver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// http://www.boost.org/LICENSE_1_0.txt)

#include <utility>
#include <boost/asio.hpp>
#include <boost/network/protocol/http/traits/resolver.hpp>
#include <boost/fusion/adapted/std_pair.hpp>

Expand Down
2 changes: 1 addition & 1 deletion boost/network/protocol/http/server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/bind.hpp>
#include <string>
#include <boost/asio.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/network/protocol/http/connection.hpp>

namespace boost { namespace network { namespace http {
Expand Down
2 changes: 2 additions & 0 deletions boost/network/protocol/http/traits/resolver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/network/tags.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/ip/udp.hpp>

namespace boost { namespace network { namespace http {

Expand Down
6 changes: 3 additions & 3 deletions libs/network/doc/network.qbk
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[/
(C) Copyright 2008, 2009 Glyn Matthews.
(C) Copyright 2008, 2009, 2010 Glyn Matthews.
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).
]

[article C++ Network Library
[quickbook 1.4]
[version 0.5]
[version 0.6]
[authors [Matthews, Glyn], [Berris, Dean Michael]]
[copyright 2008, 2009, 2010 Glyn Matthews, Dean Michael Berris]
[purpose C++ library for general network programming]
Expand All @@ -34,7 +34,7 @@
[def __libcurl__ [@http://curl.haxx.se/ libcurl]]
[def __mozilla_netlib__ [@http://www.mozilla.org/projects/netlib/ mozilla-netlib]]
[def __sf_cpp_netlib__ [@http://sourceforge.net/projects/cpp-netlib/ sourceforge]]
[def __github__ [@http://github.com/mikhailberis/cpp-netlib github]]
[def __github__ [@http://github.com/cpp-netlib/cpp-netlib github]]
[def __default_constructible__ [@http://www.boost.org/doc/html/DefaultConstructible.html DefaultConstructible]]
[def __copy_constructible__ [@http://www.boost.org/doc/html/CopyConstructible.html CopyConstructible]]
[def __assignable__ [@http://www.boost.org/doc/html/Assignable.html Assignable]]
Expand Down
2 changes: 1 addition & 1 deletion libs/network/doc/tags_and_directives.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ functions. To able to do this, the __cnl__ uses directives.
Directives are already familiar in the C++ world as part of the I/O
streams in the standard library (`std::endl`, `std::flush` etc.).
For the __cnl__, directives are used to manipulate the message class.
A tag aware directive might be implemented as such:
A tag aware directive might be implemented like this:

namespace boost {
namespace network {
Expand Down
1 change: 0 additions & 1 deletion libs/network/doc/uri.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ as well as a very liberal HTTP URI parser. The HTTP URI object only
supports absolute URIs that start with either 'http' or 'https'.

[endsect] [/uri]

0 comments on commit 6791826

Please sign in to comment.