X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_frontend_net.hpp;h=f90d69b5db3781636d6ed2fdcd8ea5d287c41d8c;hb=0e4bd2f722c9cf0a83e7e4ef3d936c60c9419add;hp=2a68a91b7b7322af9011704f24b2f125cec0833e;hpb=7467b072bb64f5c8575daa9917cce7df62d832f1;p=metaproxy-moved-to-github.git diff --git a/src/filter_frontend_net.hpp b/src/filter_frontend_net.hpp index 2a68a91..f90d69b 100644 --- a/src/filter_frontend_net.hpp +++ b/src/filter_frontend_net.hpp @@ -1,11 +1,11 @@ -/* $Id: filter_frontend_net.hpp,v 1.6 2005-10-29 22:23:36 marc Exp $ +/* $Id: filter_frontend_net.hpp,v 1.10 2006-01-04 11:55:31 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% */ #ifndef FILTER_FRONTEND_NET_HPP -#define FILTER_FRONEND_NET_HPP +#define FILTER_FRONTEND_NET_HPP #include #include @@ -15,12 +15,10 @@ namespace yp2 { namespace filter { class FrontendNet : public Base { + class ZAssocServerChild; public: FrontendNet::FrontendNet(); void process(yp2::Package & package) const; - const std::string type() const { - return "FrontendNet"; - }; private: int m_no_threads; std::vector m_ports; @@ -33,6 +31,9 @@ namespace yp2 { } } +extern "C" { + extern struct yp2_filter_struct yp2_filter_frontend_net; +} #endif /*