X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_virt_db.hpp;h=7ce5dce5e050b648fbae5fa3ea8ae6480ee14ac8;hb=891f355967146e1f2d66e4dc44158a011282c87f;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..7ce5dce 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.8 2006-01-11 11:51:50 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -21,13 +21,19 @@ namespace yp2 { ~Virt_db(); Virt_db(); void process(yp2::Package & package) const; - void add_map_db2vhost(std::string db, std::string vhost); + void configure(const xmlNode * ptr); + void add_map_db2vhost(std::string db, std::string vhost, + std::string route); private: boost::scoped_ptr m_p; }; } } +extern "C" { + extern struct yp2_filter_struct yp2_filter_virt_db; +} + #endif /* * Local variables: