X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_log.cpp;h=86ee793b94218cfb4fc99ea29a011bfbe507f4e8;hb=14d0e634d5061208301502d813d488d1e82f190b;hp=2ed0b964eb46eb09187e272d8bec00d1e3bc4221;hpb=5e2daf376ef4adc403cf9c962bfeb2669741cacb;p=metaproxy-moved-to-github.git diff --git a/src/filter_log.cpp b/src/filter_log.cpp index 2ed0b96..86ee793 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.11 2006-01-04 11:55:31 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" { + struct yp2_filter_struct yp2_filter_log = { + 0, + "log", + filter_creator + }; +} + + /* * Local variables: * c-basic-offset: 4