Boost logo

Boost-Commit :

From: drrngrvy_at_[hidden]
Date: 2007-07-12 14:19:34


Author: drrngrvy
Date: 2007-07-12 14:19:33 EDT (Thu, 12 Jul 2007)
New Revision: 7419
URL: http://svn.boost.org/trac/boost/changeset/7419

Log:
Removing file fluff (~5 files)

Added:
   sandbox/SOC/2007/cgi/boost/cgi/request_role.hpp
      - copied unchanged from r7418, /sandbox/SOC/2007/cgi/boost/cgi/role_type.hpp
Removed:
   sandbox/SOC/2007/cgi/boost/cgi/detail/protocol_traits.hpp
   sandbox/SOC/2007/cgi/boost/cgi/detail/request_impl.hpp
   sandbox/SOC/2007/cgi/boost/cgi/detail/take_buffer.hpp
   sandbox/SOC/2007/cgi/boost/cgi/protocol_traits.hpp
   sandbox/SOC/2007/cgi/boost/cgi/request_impl/request_impl.hpp
   sandbox/SOC/2007/cgi/boost/cgi/request_impl/request_service_impl.hpp
   sandbox/SOC/2007/cgi/boost/cgi/role_type.hpp

Deleted: sandbox/SOC/2007/cgi/boost/cgi/detail/protocol_traits.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/boost/cgi/detail/protocol_traits.hpp 2007-07-12 14:19:33 EDT (Thu, 12 Jul 2007)
+++ (empty file)
@@ -1,19 +0,0 @@
-#ifndef CGI_PROTOCOL_TRAITS_HPP_INCLUDED__
-#define CGI_PROTOCOL_TRAITS_HPP_INCLUDED__
-
-namespace cgi { namespace detail {
-
- template<typename Protocol>
- struct protocol_traits
- {
- typedef Protocol protocol_type;
- typedef basic_request<Protocol> request_type;
- typedef gateway<Protocol> gateway_type;
- typedef basic_service<Protocol> service_type;
- typedef service_options<Protocol> service_options; // just an idea
- };
-
-} // namespace detail
-} // namespace cgi
-
-#endif // CGI_PROTOCOL_TRAITS_HPP_INCLUDED__

Deleted: sandbox/SOC/2007/cgi/boost/cgi/detail/request_impl.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/boost/cgi/detail/request_impl.hpp 2007-07-12 14:19:33 EDT (Thu, 12 Jul 2007)
+++ (empty file)
@@ -1,31 +0,0 @@
-#ifndef CGI_REQUEST_IMPL_HPP_INCLUDED
-#define CGI_REQUEST_IMPL_HPP_INCLUDED
-
-/// The data structure holding the request details
-
-namespace cgi {
-
- template<typename CommonGatewayRequest>
- class request_impl
- {
- public:
- typedef std::map<std::string,std::string> header_type;
- typedef CommonGatewayRequest request_type;
- typedef request_type::buffer_type buffer_type;
-
- request_impl(
- /// Reset the object so it can be used again
- //void reset()
- //{
- //
- //}
-
- private:
- header_type headers_;
- buffer_type stdin_buf_;
- };
-
-} // namespace cgi
-
-#endif // CGI_REQUEST_IMPL_HPP_INCLUDED
-

Deleted: sandbox/SOC/2007/cgi/boost/cgi/detail/take_buffer.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/boost/cgi/detail/take_buffer.hpp 2007-07-12 14:19:33 EDT (Thu, 12 Jul 2007)
+++ (empty file)
@@ -1,23 +0,0 @@
-// -- take_buffer.hpp --
-//
-// Copyright (c) Darren Garvey 2007.
-// 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)
-//
-////////////////////////////////////////////////////////////////
-#ifndef CGI_TAKE_BUFFER_HPP_INCLUDED__
-#define CGI_TAKE_BUFFER_HPP_INCLUDED__
-
-namespace cgi {
- namespace detail {
-
- /// Take a buffer from t
- template<typename T>
- std::streambuf* take_buffer(T& t)
- {}
-
- } // namespace detail
-} // namespace cgi
-
-#endif // CGI_TAKE_BUFFER_HPP_INCLUDED__

Deleted: sandbox/SOC/2007/cgi/boost/cgi/protocol_traits.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/boost/cgi/protocol_traits.hpp 2007-07-12 14:19:33 EDT (Thu, 12 Jul 2007)
+++ (empty file)
@@ -1,18 +0,0 @@
-#ifndef CGI_PROTOCOL_TRAITS_HPP_INCLUDED__
-#define CGI_PROTOCOL_TRAITS_HPP_INCLUDED__
-
-namespace cgi {
-
- template<Protocol>
- struct protocol_traits
- {
- typedef Protocol protocol_type;
- typedef basic_request<Protocol> request_type;
- typedef gateway<Protocol> gateway_type;
- typedef basic_service<Protocol> service_type;
- typedef service_options<Protocol> service_options; // just an idea
- };
-
-} // namespace cgi
-
-#endif // CGI_PROTOCOL_TRAITS_HPP_INCLUDED__

Deleted: sandbox/SOC/2007/cgi/boost/cgi/request_impl/request_impl.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/boost/cgi/request_impl/request_impl.hpp 2007-07-12 14:19:33 EDT (Thu, 12 Jul 2007)
+++ (empty file)
@@ -1,61 +0,0 @@
-#ifndef CGI_REQUEST_IMPL_HPP_INCLUDED__
-#define CGI_REQUEST_IMPL_HPP_INCLUDED__
-
-namespace cgi {
-
- template<typename Protocol, typename RequestType = request_type::responder>
- class request_impl
- {
- };
-
- /////////////////////////////////////////////////////////////////////////////
- // FastCGI traits
- template<>
- class request_impl<protocol::fcgi>
- {
- public:
- typedef fcgi_responder_request_impl type;
- };
-
- template<>
- class request_impl<protocol::fcgi, request_type::filter>
- {
- public:
- typedef fcgi_filter_request_impl type;
- };
-
- template<>
- class request_impl<protocol::fcgi, request_type::authorizer>
- {
- public:
- typedef fcgi_authorizer_request_impl type;
- };
-
- /////////////////////////////////////////////////////////////////////////////
- // CGI traits
- template<>
- class request_impl<protocol::cgi>
- {
- public:
- typedef cgi_request_impl type;
- };
-
- template<>
- class request_impl<protocol::async_cgi>
- {
- public:
- typedef cgi_async_request_impl type;
- };
-
- /////////////////////////////////////////////////////////////////////////////
- // SCGI traits
- template<>
- class request_impl<protocol::scgi>
- {
- public:
- typedef scgi_request_impl type;
- };
-
-} // namespace cgi
-
-#endif // CGI_REQUEST_IMPL_HPP_INCLUDED__

Deleted: sandbox/SOC/2007/cgi/boost/cgi/request_impl/request_service_impl.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/boost/cgi/request_impl/request_service_impl.hpp 2007-07-12 14:19:33 EDT (Thu, 12 Jul 2007)
+++ (empty file)
@@ -1,48 +0,0 @@
-#ifndef CGI_REQUEST_SERVICE_IMPL_HPP_INCLUDED__
-#define CGI_REQUEST_SERVICE_IMPL_HPP_INCLUDED__
-
-namespace cgi {
-
- template<typename Protocol>
- class request_service_impl
- {
- typedef request_service_impl type;
- };
-
- /////////////////////////////////////////////////////////////////////////////
- // FastCGI traits
- template<>
- class request_service_impl<protocol::fcgi>
- {
- public:
- typedef fcgi_request_service_impl type;
- };
-
- /////////////////////////////////////////////////////////////////////////////
- // CGI traits
- template<>
- class request_service_impl<protocol::cgi, false>
- {
- public:
- typedef cgi_request_service_impl type;
- };
-
- //template<>
- //class request_service_impl<protocol::cgi, request_type::responder, true>
- //{
- //public:
- // typedef cgi_arequest_service_impl type;
- //};
-
- /////////////////////////////////////////////////////////////////////////////
- // SCGI traits
- //template<>
- //class request_service_impl<protocol::scgi>
- //{
- //public:
- // typedef scgi_request_service_impl type;
- //};
-
-} // namespace cgi
-
-#endif // CGI_REQUEST_SERVICE_IMPL_HPP_INCLUDED__

Deleted: sandbox/SOC/2007/cgi/boost/cgi/role_type.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/boost/cgi/role_type.hpp 2007-07-12 14:19:33 EDT (Thu, 12 Jul 2007)
+++ (empty file)
@@ -1,27 +0,0 @@
-// -- role_type.hpp --
-//
-// Copyright (c) Darren Garvey 2007.
-// 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)
-//
-////////////////////////////////////////////////////////////////
-#ifndef CGI_ROLE_TYPE_HPP_INCLUDED__
-#define CGI_ROLE_TYPE_HPP_INCLUDED__
-
-namespace cgi {
-
- /// The 'role' of the request
- /**
- * See the section on 'role types' in the Design notes for more information.
- * @code responder @endcode is by far the most common type.
- */
- enum role_type { responder
- , authorizer
- , filter
- , undefined = responder // CGI programs default to responder
- };
-
-} // namespace cgi
-
-#endif // CGI_ROLE_TYPE_HPP_INCLUDED__


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk