X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_virt_db.hpp;h=7ce5dce5e050b648fbae5fa3ea8ae6480ee14ac8;hb=edbbe698eb869fe31527ad85981b34ac0cfc4d2a;hp=9e2991e797f0ab6983730cbe137696843ac5356c;hpb=63ea8aedbfd7dc56ab28dbc82c38b4458dcecb68;p=metaproxy-moved-to-github.git diff --git a/src/filter_virt_db.hpp b/src/filter_virt_db.hpp index 9e2991e..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.5 2006-01-04 11:19:04 adam Exp $ +/* $Id: filter_virt_db.hpp,v 1.8 2006-01-11 11:51:50 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -21,7 +21,9 @@ 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; }; @@ -29,7 +31,7 @@ namespace yp2 { } extern "C" { - extern const struct yp2_filter_struct yp2_filter_virt_db; + extern struct yp2_filter_struct yp2_filter_virt_db; } #endif