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