X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_log.hpp;h=2ae395a0426e5efeef5fa9a0cc45bc3bc9c64409;hb=cc631cd71d418decb1ebde093a9a89d5e007f585;hp=d7ad4ed747d1aa67bf7a38276fdffb56e5bfef69;hpb=474111be67deb87130a5f0add13df89c89df346a;p=metaproxy-moved-to-github.git diff --git a/src/filter_log.hpp b/src/filter_log.hpp index d7ad4ed..2ae395a 100644 --- a/src/filter_log.hpp +++ b/src/filter_log.hpp @@ -1,4 +1,4 @@ -/* $Id: filter_log.hpp,v 1.9 2005-10-31 09:40:18 marc Exp $ +/* $Id: filter_log.hpp,v 1.12 2006-01-04 11:55:31 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -7,29 +7,28 @@ #ifndef FILTER_LOG_HPP #define FILTER_LOG_HPP -#include -#include +#include #include "filter.hpp" -#include - - namespace yp2 { namespace filter { class Log : public Base { + class Rep; + boost::scoped_ptr m_p; public: - Log(const std::string &msg); Log(); + Log(const std::string &x); + ~Log(); void process(yp2::Package & package) const; - private: - /// static mutex to lock Ostream during logging operation - static boost::mutex m_log_mutex; - std::string m_msg; }; } } +extern "C" { + extern struct yp2_filter_struct yp2_filter_log; +} + #endif /* * Local variables: