X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_http_file.hpp;h=ca220990c8ca372d14a767b06b4f237e008ef947;hb=98c084ed5dbfc41caa5fe152bf7de92151d9e03b;hp=43dc9b9ae8080fdd291f7f7beb958dcb3cfa6426;hpb=357884a3c428262e37911c9429dc122fb0243bcd;p=metaproxy-moved-to-github.git diff --git a/src/filter_http_file.hpp b/src/filter_http_file.hpp index 43dc9b9..ca22099 100644 --- a/src/filter_http_file.hpp +++ b/src/filter_http_file.hpp @@ -1,17 +1,29 @@ -/* $Id: filter_http_file.hpp,v 1.3 2006-02-02 11:33:46 adam Exp $ - Copyright (c) 2005, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 2005-2013 Index Data -%LICENSE% - */ +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 this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef FILTER_HTTP_FILE_HPP #define FILTER_HTTP_FILE_HPP #include -#include "filter.hpp" +#include -namespace yp2 { +namespace metaproxy_1 { namespace filter { class HttpFile : public Base { class Rep; @@ -21,22 +33,24 @@ namespace yp2 { public: HttpFile(); ~HttpFile(); - void process(yp2::Package & package) const; - void configure(const xmlNode * ptr); + void process(metaproxy_1::Package & package) const; + void configure(const xmlNode * ptr, bool test_only, + const char *path); }; } } extern "C" { - extern struct yp2_filter_struct yp2_filter_http_file; + extern struct metaproxy_1_filter_struct metaproxy_1_filter_http_file; } #endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +