X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_log.hpp;h=dc18af6a7970cf4a095e6b66cb58bb4349ec6db7;hb=6bae168228128b1c87b5c531f559050b7e5603cf;hp=60d1425594987381c22421f0fe890b9232f3f20b;hpb=c5f2b2f7158164cc047cdaf9935e27a33dcf4e5a;p=metaproxy-moved-to-github.git diff --git a/src/filter_log.hpp b/src/filter_log.hpp index 60d1425..dc18af6 100644 --- a/src/filter_log.hpp +++ b/src/filter_log.hpp @@ -1,33 +1,37 @@ -/* $Id: filter_log.hpp,v 1.5 2005-10-19 22:45:59 marc Exp $ - Copyright (c) 2005, Index Data. +/* $Id: filter_log.hpp,v 1.16 2006-06-19 13:08:00 adam Exp $ + Copyright (c) 2005-2006, Index Data. -%LICENSE% + See the LICENSE file for details */ #ifndef FILTER_LOG_HPP #define FILTER_LOG_HPP -#include -#include +#include +#include #include "filter.hpp" -#include - - -namespace yp2 { +namespace metaproxy_1 { namespace filter { class Log : public Base { + class Rep; + boost::scoped_ptr m_p; public: Log(); - void process(yp2::Package & package) const; - private: - /// static mutex to lock Ostream during logging operation - static boost::mutex m_log_mutex; + Log(const std::string &x); + ~Log(); + void process(metaproxy_1::Package & package) const; + void configure(const xmlNode * ptr); + class LFile; }; } } +extern "C" { + extern struct metaproxy_1_filter_struct metaproxy_1_filter_log; +} + #endif /* * Local variables: