Allow timeout to be specified for filter z3950_client
[metaproxy-moved-to-github.git] / src / filter_z3950_client.hpp
1 /* $Id: filter_z3950_client.hpp,v 1.8 2006-01-09 18:19:09 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_Z3950_CLIENT_HPP
8 #define FILTER_Z3950_CLIENT_HPP
9
10 #include <boost/scoped_ptr.hpp>
11
12 #include "filter.hpp"
13
14 namespace yp2 {
15     namespace filter {
16         class Z3950Client : public Base {
17             class Rep;
18             class Assoc;
19         public:
20             ~Z3950Client();
21             Z3950Client();
22             void process(yp2::Package & package) const;
23             void configure(const xmlNode * ptr);
24         private:
25             boost::scoped_ptr<Rep> m_p;
26         };
27     }
28 }
29
30 extern "C" {
31     extern struct yp2_filter_struct yp2_filter_z3950_client;
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  */