X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_query_rewrite.cpp;h=1d405a5260718f6c070419885d23e452a9207a5b;hb=3e5cfd27a2ad6b68e0a09f44379b14ce54685c0d;hp=09e6f001113fcedd26c2afbe6bcf389f0cffd560;hpb=e9530d6289df9b848e4901d7c73f5a2f27706d66;p=metaproxy-moved-to-github.git diff --git a/src/filter_query_rewrite.cpp b/src/filter_query_rewrite.cpp index 09e6f00..1d405a5 100644 --- a/src/filter_query_rewrite.cpp +++ b/src/filter_query_rewrite.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2008 Index Data + Copyright (C) 2005-2011 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 @@ -17,11 +17,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include "config.hpp" -#include "filter.hpp" -#include "package.hpp" +#include +#include -#include "util.hpp" -#include "xmlutil.hpp" +#include #include "filter_query_rewrite.hpp" #include @@ -72,7 +71,8 @@ void yf::QueryRewrite::process(mp::Package &package) const m_p->process(package); } -void mp::filter::QueryRewrite::configure(const xmlNode *ptr, bool test_only) +void mp::filter::QueryRewrite::configure(const xmlNode *ptr, bool test_only, + const char *path) { m_p->configure(ptr); } @@ -199,8 +199,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 */ +