From 3f74cb76e9551ada587fa66a34d94ff0990792a7 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Thu, 5 Sep 2013 08:16:46 -0700 Subject: [PATCH] Rename boost_asio files --- Builds/VisualStudio2012/beast.vcxproj | 114 +++---- Builds/VisualStudio2012/beast.vcxproj.filters | 288 +++++++++--------- ...ncOperation.h => ComposedAsyncOperation.h} | 0 ...st_SharedHandler.cpp => SharedHandler.cpp} | 0 ...{beast_SharedHandler.h => SharedHandler.h} | 0 ...erAllocator.h => SharedHandlerAllocator.h} | 0 ..._SharedHandlerPtr.h => SharedHandlerPtr.h} | 0 ...haredHandlerType.h => SharedHandlerType.h} | 0 .../{beast_BufferType.h => BufferType.h} | 0 ..._FixedInputBuffer.h => FixedInputBuffer.h} | 0 .../{beast_PeerRole.cpp => PeerRole.cpp} | 0 .../basics/{beast_PeerRole.h => PeerRole.h} | 0 modules/beast_asio/beast_asio.cpp | 48 ++- modules/beast_asio/beast_asio.h | 60 ++-- .../HandshakeDetectLogic.h} | 0 .../HandshakeDetectLogicPROXY.cpp} | 0 .../HandshakeDetectLogicPROXY.h} | 0 .../HandshakeDetectLogicSSL2.h} | 0 .../HandshakeDetectLogicSSL3.h} | 0 .../HandshakeDetector.h} | 0 modules/beast_asio/protocol/HttpClient.h | 23 ++ .../InputParser.h} | 0 .../PrefilledReadStream.h} | 0 .../sockets/{beast_Socket.cpp => Socket.cpp} | 0 .../sockets/{beast_Socket.h => Socket.h} | 0 .../{beast_SocketBase.cpp => SocketBase.cpp} | 0 .../{beast_SocketBase.h => SocketBase.h} | 0 ...{beast_SocketWrapper.h => SocketWrapper.h} | 0 ..._BoostUnitTests.cpp => BoostUnitTests.cpp} | 0 ...st_OpenSSLIncludes.h => OpenSSLIncludes.h} | 0 .../{beast_PeerTest.cpp => PeerTest.cpp} | 0 .../tests/{beast_PeerTest.h => PeerTest.h} | 0 .../tests/{beast_TestPeer.h => TestPeer.h} | 0 ..._TestPeerBasics.cpp => TestPeerBasics.cpp} | 0 ...east_TestPeerBasics.h => TestPeerBasics.h} | 0 ...st_TestPeerDetails.h => TestPeerDetails.h} | 0 ...tPeerDetailsTcp.h => TestPeerDetailsTcp.h} | 0 ...st_TestPeerLogic.cpp => TestPeerLogic.cpp} | 0 ...{beast_TestPeerLogic.h => TestPeerLogic.h} | 0 ...lient.cpp => TestPeerLogicAsyncClient.cpp} | 0 ...yncClient.h => TestPeerLogicAsyncClient.h} | 0 ...erver.cpp => TestPeerLogicAsyncServer.cpp} | 0 ...yncServer.h => TestPeerLogicAsyncServer.h} | 0 ...lient.cpp => TestPeerLogicProxyClient.cpp} | 0 ...oxyClient.h => TestPeerLogicProxyClient.h} | 0 ...Client.cpp => TestPeerLogicSyncClient.cpp} | 0 ...SyncClient.h => TestPeerLogicSyncClient.h} | 0 ...Server.cpp => TestPeerLogicSyncServer.cpp} | 0 ...SyncServer.h => TestPeerLogicSyncServer.h} | 0 .../{beast_TestPeerType.h => TestPeerType.h} | 0 ...eerUnitTests.cpp => TestPeerUnitTests.cpp} | 0 51 files changed, 279 insertions(+), 254 deletions(-) rename modules/beast_asio/async/{beast_ComposedAsyncOperation.h => ComposedAsyncOperation.h} (100%) rename modules/beast_asio/async/{beast_SharedHandler.cpp => SharedHandler.cpp} (100%) rename modules/beast_asio/async/{beast_SharedHandler.h => SharedHandler.h} (100%) rename modules/beast_asio/async/{beast_SharedHandlerAllocator.h => SharedHandlerAllocator.h} (100%) rename modules/beast_asio/async/{beast_SharedHandlerPtr.h => SharedHandlerPtr.h} (100%) rename modules/beast_asio/async/{beast_SharedHandlerType.h => SharedHandlerType.h} (100%) rename modules/beast_asio/basics/{beast_BufferType.h => BufferType.h} (100%) rename modules/beast_asio/basics/{beast_FixedInputBuffer.h => FixedInputBuffer.h} (100%) rename modules/beast_asio/basics/{beast_PeerRole.cpp => PeerRole.cpp} (100%) rename modules/beast_asio/basics/{beast_PeerRole.h => PeerRole.h} (100%) rename modules/beast_asio/{handshake/beast_HandshakeDetectLogic.h => protocol/HandshakeDetectLogic.h} (100%) rename modules/beast_asio/{handshake/beast_HandshakeDetectLogicPROXY.cpp => protocol/HandshakeDetectLogicPROXY.cpp} (100%) rename modules/beast_asio/{handshake/beast_HandshakeDetectLogicPROXY.h => protocol/HandshakeDetectLogicPROXY.h} (100%) rename modules/beast_asio/{handshake/beast_HandshakeDetectLogicSSL2.h => protocol/HandshakeDetectLogicSSL2.h} (100%) rename modules/beast_asio/{handshake/beast_HandshakeDetectLogicSSL3.h => protocol/HandshakeDetectLogicSSL3.h} (100%) rename modules/beast_asio/{handshake/beast_HandshakeDetector.h => protocol/HandshakeDetector.h} (100%) create mode 100644 modules/beast_asio/protocol/HttpClient.h rename modules/beast_asio/{handshake/beast_InputParser.h => protocol/InputParser.h} (100%) rename modules/beast_asio/{handshake/beast_PrefilledReadStream.h => protocol/PrefilledReadStream.h} (100%) rename modules/beast_asio/sockets/{beast_Socket.cpp => Socket.cpp} (100%) rename modules/beast_asio/sockets/{beast_Socket.h => Socket.h} (100%) rename modules/beast_asio/sockets/{beast_SocketBase.cpp => SocketBase.cpp} (100%) rename modules/beast_asio/sockets/{beast_SocketBase.h => SocketBase.h} (100%) rename modules/beast_asio/sockets/{beast_SocketWrapper.h => SocketWrapper.h} (100%) rename modules/beast_asio/system/{beast_BoostUnitTests.cpp => BoostUnitTests.cpp} (100%) rename modules/beast_asio/system/{beast_OpenSSLIncludes.h => OpenSSLIncludes.h} (100%) rename modules/beast_asio/tests/{beast_PeerTest.cpp => PeerTest.cpp} (100%) rename modules/beast_asio/tests/{beast_PeerTest.h => PeerTest.h} (100%) rename modules/beast_asio/tests/{beast_TestPeer.h => TestPeer.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerBasics.cpp => TestPeerBasics.cpp} (100%) rename modules/beast_asio/tests/{beast_TestPeerBasics.h => TestPeerBasics.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerDetails.h => TestPeerDetails.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerDetailsTcp.h => TestPeerDetailsTcp.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogic.cpp => TestPeerLogic.cpp} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogic.h => TestPeerLogic.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicAsyncClient.cpp => TestPeerLogicAsyncClient.cpp} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicAsyncClient.h => TestPeerLogicAsyncClient.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicAsyncServer.cpp => TestPeerLogicAsyncServer.cpp} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicAsyncServer.h => TestPeerLogicAsyncServer.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicProxyClient.cpp => TestPeerLogicProxyClient.cpp} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicProxyClient.h => TestPeerLogicProxyClient.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicSyncClient.cpp => TestPeerLogicSyncClient.cpp} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicSyncClient.h => TestPeerLogicSyncClient.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicSyncServer.cpp => TestPeerLogicSyncServer.cpp} (100%) rename modules/beast_asio/tests/{beast_TestPeerLogicSyncServer.h => TestPeerLogicSyncServer.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerType.h => TestPeerType.h} (100%) rename modules/beast_asio/tests/{beast_TestPeerUnitTests.cpp => TestPeerUnitTests.cpp} (100%) diff --git a/Builds/VisualStudio2012/beast.vcxproj b/Builds/VisualStudio2012/beast.vcxproj index e880a40de6..fb8d7a3428 100644 --- a/Builds/VisualStudio2012/beast.vcxproj +++ b/Builds/VisualStudio2012/beast.vcxproj @@ -79,42 +79,44 @@ - - - - - - - - + + + + + + + + - - - - - - - + - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -342,13 +344,13 @@ - + true true true true - + true true true @@ -359,85 +361,85 @@ true - - true - true - true - true - true true true true - + true true true true - + true true true true - + true true true true - + true true true true - + true true true true - + true true true true - - true - true - true - true - - + true true true true - + + true + true + true + true + + true true true true - + true true true true - + true true true true - + + true + true + true + true + + true true true diff --git a/Builds/VisualStudio2012/beast.vcxproj.filters b/Builds/VisualStudio2012/beast.vcxproj.filters index 471d921ff4..2577937e2d 100644 --- a/Builds/VisualStudio2012/beast.vcxproj.filters +++ b/Builds/VisualStudio2012/beast.vcxproj.filters @@ -137,9 +137,6 @@ {ccdc0c8e-f77a-486e-ba2f-29c10ec97f18} - - {4856837a-fa72-4252-8e8f-a112c1dbb3d2} - {beb81776-4aad-401d-8826-81478dbbf30b} @@ -176,6 +173,9 @@ {ac367054-ddbf-4118-a41a-07bea34d32c8} + + {c0724499-ab69-40c3-90e2-65242dbd2eaa} + @@ -677,108 +677,15 @@ beast_core\diagnostic - - beast_asio\sockets - - - beast_asio\sockets - - - beast_asio\sockets - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\basics - - - beast_asio\basics - beast_core\maths beast_core\memory - - beast_asio\handshake - - - beast_asio\basics - - - beast_asio\handshake - - - beast_asio\handshake - - - beast_asio\handshake - beast_core\memory - - beast_asio\system - - - beast_asio\handshake - - - beast_asio\handshake - - - beast_asio\async - - - beast_asio\async - - - beast_asio\async - - - beast_asio\async - - - beast_asio\async - - - beast_asio\handshake - beast_core\diagnostic @@ -989,6 +896,105 @@ beast_asio\parsehttp + + beast_asio\async + + + beast_asio\async + + + beast_asio\async + + + beast_asio\async + + + beast_asio\async + + + beast_asio\basics + + + beast_asio\basics + + + beast_asio\basics + + + beast_asio\sockets + + + beast_asio\sockets + + + beast_asio\sockets + + + beast_asio\system + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio + + + beast_asio\protocol + + + beast_asio\protocol + + + beast_asio\protocol + + + beast_asio\protocol + + + beast_asio\protocol + + + beast_asio\protocol + + + beast_asio\protocol + + + beast_asio\protocol + @@ -1357,51 +1363,6 @@ beast_asio - - beast_asio\tests - - - beast_asio\sockets - - - beast_asio\sockets - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\tests - - - beast_asio\basics - - - beast_asio\handshake - - - beast_asio\system - - - beast_asio\async - beast_core\threads @@ -1477,6 +1438,51 @@ beast_asio\parsehttp + + beast_asio\async + + + beast_asio\basics + + + beast_asio\sockets + + + beast_asio\sockets + + + beast_asio\system + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\tests + + + beast_asio\protocol + diff --git a/modules/beast_asio/async/beast_ComposedAsyncOperation.h b/modules/beast_asio/async/ComposedAsyncOperation.h similarity index 100% rename from modules/beast_asio/async/beast_ComposedAsyncOperation.h rename to modules/beast_asio/async/ComposedAsyncOperation.h diff --git a/modules/beast_asio/async/beast_SharedHandler.cpp b/modules/beast_asio/async/SharedHandler.cpp similarity index 100% rename from modules/beast_asio/async/beast_SharedHandler.cpp rename to modules/beast_asio/async/SharedHandler.cpp diff --git a/modules/beast_asio/async/beast_SharedHandler.h b/modules/beast_asio/async/SharedHandler.h similarity index 100% rename from modules/beast_asio/async/beast_SharedHandler.h rename to modules/beast_asio/async/SharedHandler.h diff --git a/modules/beast_asio/async/beast_SharedHandlerAllocator.h b/modules/beast_asio/async/SharedHandlerAllocator.h similarity index 100% rename from modules/beast_asio/async/beast_SharedHandlerAllocator.h rename to modules/beast_asio/async/SharedHandlerAllocator.h diff --git a/modules/beast_asio/async/beast_SharedHandlerPtr.h b/modules/beast_asio/async/SharedHandlerPtr.h similarity index 100% rename from modules/beast_asio/async/beast_SharedHandlerPtr.h rename to modules/beast_asio/async/SharedHandlerPtr.h diff --git a/modules/beast_asio/async/beast_SharedHandlerType.h b/modules/beast_asio/async/SharedHandlerType.h similarity index 100% rename from modules/beast_asio/async/beast_SharedHandlerType.h rename to modules/beast_asio/async/SharedHandlerType.h diff --git a/modules/beast_asio/basics/beast_BufferType.h b/modules/beast_asio/basics/BufferType.h similarity index 100% rename from modules/beast_asio/basics/beast_BufferType.h rename to modules/beast_asio/basics/BufferType.h diff --git a/modules/beast_asio/basics/beast_FixedInputBuffer.h b/modules/beast_asio/basics/FixedInputBuffer.h similarity index 100% rename from modules/beast_asio/basics/beast_FixedInputBuffer.h rename to modules/beast_asio/basics/FixedInputBuffer.h diff --git a/modules/beast_asio/basics/beast_PeerRole.cpp b/modules/beast_asio/basics/PeerRole.cpp similarity index 100% rename from modules/beast_asio/basics/beast_PeerRole.cpp rename to modules/beast_asio/basics/PeerRole.cpp diff --git a/modules/beast_asio/basics/beast_PeerRole.h b/modules/beast_asio/basics/PeerRole.h similarity index 100% rename from modules/beast_asio/basics/beast_PeerRole.h rename to modules/beast_asio/basics/PeerRole.h diff --git a/modules/beast_asio/beast_asio.cpp b/modules/beast_asio/beast_asio.cpp index 574925eb90..78f3542e1d 100644 --- a/modules/beast_asio/beast_asio.cpp +++ b/modules/beast_asio/beast_asio.cpp @@ -19,53 +19,47 @@ #include "BeastConfig.h" -#include "system/beast_OpenSSLIncludes.h" +#include "system/OpenSSLIncludes.h" #include "beast_asio.h" -namespace http_parser -{ -#include "parsehttp/http_parser.h" -} - namespace beast { -#include "async/beast_SharedHandler.cpp" +#include "async/SharedHandler.cpp" -#include "basics/beast_PeerRole.cpp" +#include "basics/PeerRole.cpp" #include "basics/SSLContext.cpp" -#include "sockets/beast_SocketBase.cpp" -#include "sockets/beast_Socket.cpp" +#include "sockets/SocketBase.cpp" +#include "sockets/Socket.cpp" -#include "handshake/beast_HandshakeDetectLogicPROXY.cpp" +#include "protocol/HandshakeDetectLogicPROXY.cpp" -#include "tests/beast_PeerTest.cpp" -#include "tests/beast_TestPeerBasics.cpp" -#include "tests/beast_TestPeerLogic.cpp" -#include "tests/beast_TestPeerLogicProxyClient.cpp" -#include "tests/beast_TestPeerLogicSyncServer.cpp" -#include "tests/beast_TestPeerLogicSyncClient.cpp" -#include "tests/beast_TestPeerLogicAsyncServer.cpp" -#include "tests/beast_TestPeerLogicAsyncClient.cpp" -#include "tests/beast_TestPeerUnitTests.cpp" +#include "parsehttp/http_parser.h" -#include "system/beast_BoostUnitTests.cpp" +#include "tests/PeerTest.cpp" +#include "tests/TestPeerBasics.cpp" +#include "tests/TestPeerLogic.cpp" +#include "tests/TestPeerLogicProxyClient.cpp" +#include "tests/TestPeerLogicSyncServer.cpp" +#include "tests/TestPeerLogicSyncClient.cpp" +#include "tests/TestPeerLogicAsyncServer.cpp" +#include "tests/TestPeerLogicAsyncClient.cpp" +#include "tests/TestPeerUnitTests.cpp" -} - -//------------------------------------------------------------------------------ +#include "system/BoostUnitTests.cpp" #ifdef _MSC_VER #pragma warning (push) #pragma warning (disable: 4127) // conditional expression is constant #pragma warning (disable: 4244) // integer conversion, possible loss of data #endif -namespace http_parser -{ #include "parsehttp/http_parser.c" -} #ifdef _MSC_VER #pragma warning (pop) #endif + +} + +//------------------------------------------------------------------------------ diff --git a/modules/beast_asio/beast_asio.h b/modules/beast_asio/beast_asio.h index 66cd28ab4e..3ab4bf176f 100644 --- a/modules/beast_asio/beast_asio.h +++ b/modules/beast_asio/beast_asio.h @@ -64,42 +64,42 @@ namespace beast { // Order matters - #include "async/beast_SharedHandler.h" - #include "async/beast_SharedHandlerType.h" - #include "async/beast_SharedHandlerPtr.h" - #include "async/beast_ComposedAsyncOperation.h" -#include "async/beast_SharedHandlerAllocator.h" +# include "async/SharedHandler.h" +# include "async/SharedHandlerType.h" +# include "async/SharedHandlerPtr.h" +# include "async/ComposedAsyncOperation.h" +#include "async/SharedHandlerAllocator.h" -#include "basics/beast_BufferType.h" -#include "basics/beast_FixedInputBuffer.h" -#include "basics/beast_PeerRole.h" +#include "basics/BufferType.h" +#include "basics/FixedInputBuffer.h" +#include "basics/PeerRole.h" #include "basics/SSLContext.h" - #include "sockets/beast_SocketBase.h" - #include "sockets/beast_Socket.h" - #include "sockets/beast_SocketWrapper.h" +# include "sockets/SocketBase.h" +# include "sockets/Socket.h" +# include "sockets/SocketWrapper.h" #include "sockets/SocketWrapperStrand.h" - #include "handshake/beast_InputParser.h" - #include "handshake/beast_HandshakeDetectLogic.h" -#include "handshake/beast_HandshakeDetectLogicPROXY.h" -#include "handshake/beast_HandshakeDetectLogicSSL2.h" -#include "handshake/beast_HandshakeDetectLogicSSL3.h" -#include "handshake/beast_HandshakeDetector.h" -#include "handshake/beast_PrefilledReadStream.h" +# include "protocol/InputParser.h" +# include "protocol/HandshakeDetectLogic.h" +#include "protocol/HandshakeDetectLogicPROXY.h" +#include "protocol/HandshakeDetectLogicSSL2.h" +#include "protocol/HandshakeDetectLogicSSL3.h" +#include "protocol/HandshakeDetector.h" +#include "protocol/PrefilledReadStream.h" -#include "tests/beast_TestPeerBasics.h" -#include "tests/beast_TestPeer.h" -#include "tests/beast_TestPeerDetails.h" -#include "tests/beast_TestPeerLogic.h" -#include "tests/beast_TestPeerLogicSyncServer.h" -#include "tests/beast_TestPeerLogicSyncClient.h" -#include "tests/beast_TestPeerLogicProxyClient.h" -#include "tests/beast_TestPeerLogicAsyncServer.h" -#include "tests/beast_TestPeerLogicAsyncClient.h" -#include "tests/beast_TestPeerType.h" -#include "tests/beast_TestPeerDetailsTcp.h" -#include "tests/beast_PeerTest.h" +#include "tests/TestPeerBasics.h" +#include "tests/TestPeer.h" +#include "tests/TestPeerDetails.h" +#include "tests/TestPeerLogic.h" +#include "tests/TestPeerLogicSyncServer.h" +#include "tests/TestPeerLogicSyncClient.h" +#include "tests/TestPeerLogicProxyClient.h" +#include "tests/TestPeerLogicAsyncServer.h" +#include "tests/TestPeerLogicAsyncClient.h" +#include "tests/TestPeerType.h" +#include "tests/TestPeerDetailsTcp.h" +#include "tests/PeerTest.h" } diff --git a/modules/beast_asio/handshake/beast_HandshakeDetectLogic.h b/modules/beast_asio/protocol/HandshakeDetectLogic.h similarity index 100% rename from modules/beast_asio/handshake/beast_HandshakeDetectLogic.h rename to modules/beast_asio/protocol/HandshakeDetectLogic.h diff --git a/modules/beast_asio/handshake/beast_HandshakeDetectLogicPROXY.cpp b/modules/beast_asio/protocol/HandshakeDetectLogicPROXY.cpp similarity index 100% rename from modules/beast_asio/handshake/beast_HandshakeDetectLogicPROXY.cpp rename to modules/beast_asio/protocol/HandshakeDetectLogicPROXY.cpp diff --git a/modules/beast_asio/handshake/beast_HandshakeDetectLogicPROXY.h b/modules/beast_asio/protocol/HandshakeDetectLogicPROXY.h similarity index 100% rename from modules/beast_asio/handshake/beast_HandshakeDetectLogicPROXY.h rename to modules/beast_asio/protocol/HandshakeDetectLogicPROXY.h diff --git a/modules/beast_asio/handshake/beast_HandshakeDetectLogicSSL2.h b/modules/beast_asio/protocol/HandshakeDetectLogicSSL2.h similarity index 100% rename from modules/beast_asio/handshake/beast_HandshakeDetectLogicSSL2.h rename to modules/beast_asio/protocol/HandshakeDetectLogicSSL2.h diff --git a/modules/beast_asio/handshake/beast_HandshakeDetectLogicSSL3.h b/modules/beast_asio/protocol/HandshakeDetectLogicSSL3.h similarity index 100% rename from modules/beast_asio/handshake/beast_HandshakeDetectLogicSSL3.h rename to modules/beast_asio/protocol/HandshakeDetectLogicSSL3.h diff --git a/modules/beast_asio/handshake/beast_HandshakeDetector.h b/modules/beast_asio/protocol/HandshakeDetector.h similarity index 100% rename from modules/beast_asio/handshake/beast_HandshakeDetector.h rename to modules/beast_asio/protocol/HandshakeDetector.h diff --git a/modules/beast_asio/protocol/HttpClient.h b/modules/beast_asio/protocol/HttpClient.h new file mode 100644 index 0000000000..97febde47b --- /dev/null +++ b/modules/beast_asio/protocol/HttpClient.h @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +/* + This file is part of Beast: https://github.com/vinniefalco/Beast + Copyright 2013, Vinnie Falco + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ +//============================================================================== + +#ifndef BEAST_ASIO_PROTOCOL_HTTPCLIENT_H_INCLUDED +#define BEAST_ASIO_PROTOCOL_HTTPCLIENT_H_INCLUDED + +#endif diff --git a/modules/beast_asio/handshake/beast_InputParser.h b/modules/beast_asio/protocol/InputParser.h similarity index 100% rename from modules/beast_asio/handshake/beast_InputParser.h rename to modules/beast_asio/protocol/InputParser.h diff --git a/modules/beast_asio/handshake/beast_PrefilledReadStream.h b/modules/beast_asio/protocol/PrefilledReadStream.h similarity index 100% rename from modules/beast_asio/handshake/beast_PrefilledReadStream.h rename to modules/beast_asio/protocol/PrefilledReadStream.h diff --git a/modules/beast_asio/sockets/beast_Socket.cpp b/modules/beast_asio/sockets/Socket.cpp similarity index 100% rename from modules/beast_asio/sockets/beast_Socket.cpp rename to modules/beast_asio/sockets/Socket.cpp diff --git a/modules/beast_asio/sockets/beast_Socket.h b/modules/beast_asio/sockets/Socket.h similarity index 100% rename from modules/beast_asio/sockets/beast_Socket.h rename to modules/beast_asio/sockets/Socket.h diff --git a/modules/beast_asio/sockets/beast_SocketBase.cpp b/modules/beast_asio/sockets/SocketBase.cpp similarity index 100% rename from modules/beast_asio/sockets/beast_SocketBase.cpp rename to modules/beast_asio/sockets/SocketBase.cpp diff --git a/modules/beast_asio/sockets/beast_SocketBase.h b/modules/beast_asio/sockets/SocketBase.h similarity index 100% rename from modules/beast_asio/sockets/beast_SocketBase.h rename to modules/beast_asio/sockets/SocketBase.h diff --git a/modules/beast_asio/sockets/beast_SocketWrapper.h b/modules/beast_asio/sockets/SocketWrapper.h similarity index 100% rename from modules/beast_asio/sockets/beast_SocketWrapper.h rename to modules/beast_asio/sockets/SocketWrapper.h diff --git a/modules/beast_asio/system/beast_BoostUnitTests.cpp b/modules/beast_asio/system/BoostUnitTests.cpp similarity index 100% rename from modules/beast_asio/system/beast_BoostUnitTests.cpp rename to modules/beast_asio/system/BoostUnitTests.cpp diff --git a/modules/beast_asio/system/beast_OpenSSLIncludes.h b/modules/beast_asio/system/OpenSSLIncludes.h similarity index 100% rename from modules/beast_asio/system/beast_OpenSSLIncludes.h rename to modules/beast_asio/system/OpenSSLIncludes.h diff --git a/modules/beast_asio/tests/beast_PeerTest.cpp b/modules/beast_asio/tests/PeerTest.cpp similarity index 100% rename from modules/beast_asio/tests/beast_PeerTest.cpp rename to modules/beast_asio/tests/PeerTest.cpp diff --git a/modules/beast_asio/tests/beast_PeerTest.h b/modules/beast_asio/tests/PeerTest.h similarity index 100% rename from modules/beast_asio/tests/beast_PeerTest.h rename to modules/beast_asio/tests/PeerTest.h diff --git a/modules/beast_asio/tests/beast_TestPeer.h b/modules/beast_asio/tests/TestPeer.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeer.h rename to modules/beast_asio/tests/TestPeer.h diff --git a/modules/beast_asio/tests/beast_TestPeerBasics.cpp b/modules/beast_asio/tests/TestPeerBasics.cpp similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerBasics.cpp rename to modules/beast_asio/tests/TestPeerBasics.cpp diff --git a/modules/beast_asio/tests/beast_TestPeerBasics.h b/modules/beast_asio/tests/TestPeerBasics.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerBasics.h rename to modules/beast_asio/tests/TestPeerBasics.h diff --git a/modules/beast_asio/tests/beast_TestPeerDetails.h b/modules/beast_asio/tests/TestPeerDetails.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerDetails.h rename to modules/beast_asio/tests/TestPeerDetails.h diff --git a/modules/beast_asio/tests/beast_TestPeerDetailsTcp.h b/modules/beast_asio/tests/TestPeerDetailsTcp.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerDetailsTcp.h rename to modules/beast_asio/tests/TestPeerDetailsTcp.h diff --git a/modules/beast_asio/tests/beast_TestPeerLogic.cpp b/modules/beast_asio/tests/TestPeerLogic.cpp similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogic.cpp rename to modules/beast_asio/tests/TestPeerLogic.cpp diff --git a/modules/beast_asio/tests/beast_TestPeerLogic.h b/modules/beast_asio/tests/TestPeerLogic.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogic.h rename to modules/beast_asio/tests/TestPeerLogic.h diff --git a/modules/beast_asio/tests/beast_TestPeerLogicAsyncClient.cpp b/modules/beast_asio/tests/TestPeerLogicAsyncClient.cpp similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicAsyncClient.cpp rename to modules/beast_asio/tests/TestPeerLogicAsyncClient.cpp diff --git a/modules/beast_asio/tests/beast_TestPeerLogicAsyncClient.h b/modules/beast_asio/tests/TestPeerLogicAsyncClient.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicAsyncClient.h rename to modules/beast_asio/tests/TestPeerLogicAsyncClient.h diff --git a/modules/beast_asio/tests/beast_TestPeerLogicAsyncServer.cpp b/modules/beast_asio/tests/TestPeerLogicAsyncServer.cpp similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicAsyncServer.cpp rename to modules/beast_asio/tests/TestPeerLogicAsyncServer.cpp diff --git a/modules/beast_asio/tests/beast_TestPeerLogicAsyncServer.h b/modules/beast_asio/tests/TestPeerLogicAsyncServer.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicAsyncServer.h rename to modules/beast_asio/tests/TestPeerLogicAsyncServer.h diff --git a/modules/beast_asio/tests/beast_TestPeerLogicProxyClient.cpp b/modules/beast_asio/tests/TestPeerLogicProxyClient.cpp similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicProxyClient.cpp rename to modules/beast_asio/tests/TestPeerLogicProxyClient.cpp diff --git a/modules/beast_asio/tests/beast_TestPeerLogicProxyClient.h b/modules/beast_asio/tests/TestPeerLogicProxyClient.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicProxyClient.h rename to modules/beast_asio/tests/TestPeerLogicProxyClient.h diff --git a/modules/beast_asio/tests/beast_TestPeerLogicSyncClient.cpp b/modules/beast_asio/tests/TestPeerLogicSyncClient.cpp similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicSyncClient.cpp rename to modules/beast_asio/tests/TestPeerLogicSyncClient.cpp diff --git a/modules/beast_asio/tests/beast_TestPeerLogicSyncClient.h b/modules/beast_asio/tests/TestPeerLogicSyncClient.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicSyncClient.h rename to modules/beast_asio/tests/TestPeerLogicSyncClient.h diff --git a/modules/beast_asio/tests/beast_TestPeerLogicSyncServer.cpp b/modules/beast_asio/tests/TestPeerLogicSyncServer.cpp similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicSyncServer.cpp rename to modules/beast_asio/tests/TestPeerLogicSyncServer.cpp diff --git a/modules/beast_asio/tests/beast_TestPeerLogicSyncServer.h b/modules/beast_asio/tests/TestPeerLogicSyncServer.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerLogicSyncServer.h rename to modules/beast_asio/tests/TestPeerLogicSyncServer.h diff --git a/modules/beast_asio/tests/beast_TestPeerType.h b/modules/beast_asio/tests/TestPeerType.h similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerType.h rename to modules/beast_asio/tests/TestPeerType.h diff --git a/modules/beast_asio/tests/beast_TestPeerUnitTests.cpp b/modules/beast_asio/tests/TestPeerUnitTests.cpp similarity index 100% rename from modules/beast_asio/tests/beast_TestPeerUnitTests.cpp rename to modules/beast_asio/tests/TestPeerUnitTests.cpp