1 /* $Id: filter_virt_db.hpp,v 1.12 2006-01-15 20:03:14 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<Backend> BackendPtr;
26 typedef boost::shared_ptr<Frontend> FrontendPtr;
30 void process(yp2::Package & package) const;
31 void configure(const xmlNode * ptr);
32 void add_map_db2vhost(std::string db, std::string vhost,
35 boost::scoped_ptr<Rep> m_p;
41 extern struct yp2_filter_struct yp2_filter_virt_db;
48 * indent-tabs-mode: nil
49 * c-file-style: "stroustrup"
51 * vim: shiftwidth=4 tabstop=8 expandtab