X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_log.cpp;h=4142be7ed88eb23a364bccb37801cc93bd38934e;hb=63ea8aedbfd7dc56ab28dbc82c38b4458dcecb68;hp=2ed0b964eb46eb09187e272d8bec00d1e3bc4221;hpb=a7bb1a7f8f0c91fa5bc74f712b3e00cb962a0263;p=metaproxy-moved-to-github.git diff --git a/src/filter_log.cpp b/src/filter_log.cpp index 2ed0b96..4142be7 100644 --- a/src/filter_log.cpp +++ b/src/filter_log.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_log.cpp,v 1.9 2005-12-11 17:23:05 adam Exp $ +/* $Id: filter_log.cpp,v 1.10 2006-01-04 11:19:04 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -98,6 +98,20 @@ void yf::Log::process(Package &package) const } } +static yp2::filter::Base* filter_creator() +{ + return new yp2::filter::Log; +} + +extern "C" { + const struct yp2_filter_struct yp2_filter_log = { + 0, + "log", + filter_creator + }; +} + + /* * Local variables: * c-basic-offset: 4