X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_virt_db.hpp;h=39647ed7f7321a2f57d84837ebac7d29bbc6456f;hb=0c26d703ff27cfbde7ec568a9ca5659b9d088bd1;hp=8c514f67f1b1083a2c9e3b21db3672ab585e3da4;hpb=474111be67deb87130a5f0add13df89c89df346a;p=metaproxy-moved-to-github.git diff --git a/src/filter_virt_db.hpp b/src/filter_virt_db.hpp index 8c514f6..39647ed 100644 --- a/src/filter_virt_db.hpp +++ b/src/filter_virt_db.hpp @@ -1,4 +1,4 @@ -/* $Id: filter_virt_db.hpp,v 1.4 2005-10-31 09:40:18 marc Exp $ +/* $Id: filter_virt_db.hpp,v 1.7 2006-01-09 15:32:46 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -21,6 +21,7 @@ namespace yp2 { ~Virt_db(); Virt_db(); void process(yp2::Package & package) const; + void configure(const xmlNode * ptr); void add_map_db2vhost(std::string db, std::string vhost); private: boost::scoped_ptr m_p; @@ -28,6 +29,10 @@ namespace yp2 { } } +extern "C" { + extern struct yp2_filter_struct yp2_filter_virt_db; +} + #endif /* * Local variables: