X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=sidebyside;f=include%2Fmetaproxy%2Ffilter.hpp;h=2d5495ff0b79eff3d5dcd10480cf006d0f572b40;hb=aff78cecdb2c7292899ae15ee8a5fd41accef2b5;hp=0fbd0199135c85934c4c5a04577199c630b912cf;hpb=74d5524719194de5dc96abd552562fa473088677;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/filter.hpp b/include/metaproxy/filter.hpp index 0fbd019..2d5495f 100644 --- a/include/metaproxy/filter.hpp +++ b/include/metaproxy/filter.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2010 Index Data + 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 @@ -37,9 +37,12 @@ namespace metaproxy_1 { virtual void process(Package & package) const = 0; /// configuration during filter load - virtual void configure(const xmlNode * ptr, bool test_only); + virtual void configure(const xmlNode * ptr, bool test_only, + const char *path) = 0; virtual void start() const; + + virtual void stop() const; }; class FilterException : public std::runtime_error {