1 /* $Id: filter_virt_db.hpp,v 1.10 2006-01-13 15:09:35 adam Exp $
2 Copyright (c) 2005, Index Data.
7 #ifndef FILTER_VIRT_DB_HPP
8 #define FILTER_VIRT_DB_HPP
12 #include <boost/scoped_ptr.hpp>
13 #include <boost/shared_ptr.hpp>
19 class Virt_db : public Base {
25 typedef boost::shared_ptr<Virt_db::Backend> BackendPtr;
29 void process(yp2::Package & package) const;
30 void configure(const xmlNode * ptr);
31 void add_map_db2vhost(std::string db, std::string vhost,
34 boost::scoped_ptr<Rep> m_p;
40 extern struct yp2_filter_struct yp2_filter_virt_db;
47 * indent-tabs-mode: nil
48 * c-file-style: "stroustrup"
50 * vim: shiftwidth=4 tabstop=8 expandtab