-/* $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%
~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<Rep> m_p;
};
}
extern "C" {
- extern const struct yp2_filter_struct yp2_filter_virt_db;
+ extern struct yp2_filter_struct yp2_filter_virt_db;
}
#endif