X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffilter_bounce.cpp;h=503dd65e412aa03ea74c5dafc94ffc8611d6be62;hb=50597d2f7d3607e91c94601eb8eb495d73be3eae;hp=ab553b5ccc1d282db061f936a5fe8eec92d8ce2c;hpb=637a685d61a9ff0e3f398a59da426979815c4d68;p=metaproxy-moved-to-github.git diff --git a/src/filter_bounce.cpp b/src/filter_bounce.cpp index ab553b5..503dd65 100644 --- a/src/filter_bounce.cpp +++ b/src/filter_bounce.cpp @@ -1,7 +1,5 @@ -/* $Id: filter_bounce.cpp,v 1.4 2007-05-09 21:23:09 adam Exp $ - Copyright (c) 2005-2007, Index Data. - -This file is part of Metaproxy. +/* This file is part of Metaproxy. + Copyright (C) 2005-2012 Index Data 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 @@ -14,29 +12,19 @@ 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. - */ +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #include "filter_bounce.hpp" -#include "package.hpp" -#include "util.hpp" +#include +#include #include "gduutil.hpp" #include #include -//#include "config.hpp" -//#include "filter.hpp" - -//#include - - - - - namespace mp = metaproxy_1; namespace yf = mp::filter; @@ -103,6 +91,12 @@ void yf::Bounce::process(mp::Package &package) const return; } +void mp::filter::Bounce::configure(const xmlNode * ptr, bool test_only, + const char *path) +{ + mp::xml::check_empty(ptr); +} + static mp::filter::Base* filter_creator() { return new mp::filter::Bounce; @@ -120,8 +114,9 @@ extern "C" { /* * 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 */ +