-/* $Id: filter_log.cpp,v 1.9 2005-12-11 17:23:05 adam Exp $
+/* $Id: filter_log.cpp,v 1.13 2006-01-09 21:20:15 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
#include "config.hpp"
#include "filter.hpp"
-#include "router.hpp"
#include "package.hpp"
#include <string>
yf::Log::~Log() {}
-void yf::Log::process(Package &package) const
+void yf::Log::process(yp2::Package &package) const
{
Z_GDU *gdu;
}
}
+static yp2::filter::Base* filter_creator()
+{
+ return new yp2::filter::Log;
+}
+
+extern "C" {
+ struct yp2_filter_struct yp2_filter_log = {
+ 0,
+ "log",
+ filter_creator
+ };
+}
+
+
/*
* Local variables:
* c-basic-offset: 4