X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_http_file.hpp;h=8fcee4c99640f972896c217607d4c77109f4e03f;hb=85189f2d04df4cfc8b16ee78187fb89d00dfe3ff;hp=b0ebdd48f0e8de48d92a5d68b7268ccd1b9346a8;hpb=1751782d8e3c9d4574754463ffd43373cf92133a;p=metaproxy-moved-to-github.git diff --git a/src/filter_http_file.hpp b/src/filter_http_file.hpp index b0ebdd4..8fcee4c 100644 --- a/src/filter_http_file.hpp +++ b/src/filter_http_file.hpp @@ -1,7 +1,22 @@ -/* $Id: filter_http_file.hpp,v 1.1 2006-01-19 21:44:26 adam Exp $ - Copyright (c) 2005, Index Data. +/* $Id: filter_http_file.hpp,v 1.8 2008-02-20 15:07:52 adam Exp $ + Copyright (c) 2005-2007, Index Data. -%LICENSE% +This file is part of Metaproxy. + +Metaproxy is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Metaproxy; see the file LICENSE. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ #ifndef FILTER_HTTP_FILE_HPP @@ -11,23 +26,24 @@ #include "filter.hpp" -namespace yp2 { +namespace metaproxy_1 { namespace filter { class HttpFile : public Base { class Rep; - class Area; + struct Area; class Mime; boost::scoped_ptr m_p; public: HttpFile(); ~HttpFile(); - void process(yp2::Package & package) const; + void process(metaproxy_1::Package & package) const; + void configure(const xmlNode * ptr, bool test_only); }; } } extern "C" { - extern struct yp2_filter_struct yp2_filter_http_file; + extern struct metaproxy_1_filter_struct metaproxy_1_filter_http_file; } #endif