*** empty log message ***
[metaproxy-moved-to-github.git] / src / filter_query_rewrite.hpp
1 /* $Id: filter_query_rewrite.hpp,v 1.3 2006-03-15 14:55:17 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 // Filter that rewrites RPN queries using Regular Expressions
8 #ifndef FILTER_QUERY_REWRITE_HPP
9 #define FILTER_QUERY_REWRITE_HPP
10
11 #include <boost/scoped_ptr.hpp>
12
13 #include "filter.hpp"
14
15 namespace yp2 {
16     namespace filter {
17         class QueryRewrite : public Base {
18             class Rep;
19             boost::scoped_ptr<Rep> m_p;
20         public:
21             QueryRewrite();
22             ~QueryRewrite();
23             void process(yp2::Package & package) const;
24             void configure(const xmlNode * ptr);
25         };
26     }
27 }
28
29 extern "C" {
30     extern struct yp2_filter_struct yp2_filter_query_rewrite;
31 }
32
33 #endif
34 /*
35  * Local variables:
36  * c-basic-offset: 4
37  * indent-tabs-mode: nil
38  * c-file-style: "stroustrup"
39  * End:
40  * vim: shiftwidth=4 tabstop=8 expandtab
41  */