Added files and initial auth_simple filter
[metaproxy-moved-to-github.git] / src / filter_auth_simple.hpp
1 /* $Id: filter_auth_simple.hpp,v 1.1 2006-01-12 10:04:34 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_AUTH_SIMPLE_HPP
8 #define FILTER_AUTH_SIMPLE_HPP
9
10 #include <boost/scoped_ptr.hpp>
11
12 #include "filter.hpp"
13
14 namespace yp2 {
15     namespace filter {
16         class AuthSimple : public Base {
17             class Rep;
18             boost::scoped_ptr<Rep> m_p;
19         public:
20             AuthSimple();
21             ~AuthSimple();
22             void process(yp2::Package & package) const;
23             void configure(const xmlNode * ptr);
24         };
25     }
26 }
27
28 extern "C" {
29     extern struct yp2_filter_struct yp2_filter_auth_simple;
30 }
31
32 #endif
33 /*
34  * Local variables:
35  * c-basic-offset: 4
36  * indent-tabs-mode: nil
37  * c-file-style: "stroustrup"
38  * End:
39  * vim: shiftwidth=4 tabstop=8 expandtab
40  */