X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_z3950_client.cpp;h=cca4b8aea909d94f5cdd58d751dedd1cd4de360e;hb=ec5548301e2549fc0f8d2f962aade24cb6f90d1b;hp=21e432507d236800875a1851ef94fe07c6783346;hpb=a7bb1a7f8f0c91fa5bc74f712b3e00cb962a0263;p=metaproxy-moved-to-github.git diff --git a/src/filter_z3950_client.cpp b/src/filter_z3950_client.cpp index 21e4325..cca4b8a 100644 --- a/src/filter_z3950_client.cpp +++ b/src/filter_z3950_client.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_z3950_client.cpp,v 1.13 2006-01-03 15:34:10 adam Exp $ +/* $Id: filter_z3950_client.cpp,v 1.16 2006-01-09 13:43:59 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -113,7 +113,6 @@ void yf::Z3950Client::Assoc::failNotify() void yf::Z3950Client::Assoc::timeoutNotify() { - std::cout << "TIMEOUT NOTIFY\n"; m_ticks++; if (m_ticks == 30) { @@ -326,6 +325,19 @@ void yf::Z3950Client::process(Package &package) const } +static yp2::filter::Base* filter_creator() +{ + return new yp2::filter::Z3950Client; +} + +extern "C" { + struct yp2_filter_struct yp2_filter_z3950_client = { + 0, + "z3950_client", + filter_creator + }; +} + /* * Local variables: * c-basic-offset: 4