projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Filter virt_db reads XML config
[metaproxy-moved-to-github.git]
/
src
/
filter_virt_db.hpp
diff --git
a/src/filter_virt_db.hpp
b/src/filter_virt_db.hpp
index
8c514f6
..
39647ed
100644
(file)
--- 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.7 2006-01-09 15:32:46 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-21,6
+21,7
@@
namespace yp2 {
~Virt_db();
Virt_db();
void process(yp2::Package & package) const;
~Virt_db();
Virt_db();
void process(yp2::Package & package) const;
+ void configure(const xmlNode * ptr);
void add_map_db2vhost(std::string db, std::string vhost);
private:
boost::scoped_ptr<Rep> m_p;
void add_map_db2vhost(std::string db, std::string vhost);
private:
boost::scoped_ptr<Rep> m_p;
@@
-28,6
+29,10
@@
namespace yp2 {
}
}
}
}
+extern "C" {
+ extern struct yp2_filter_struct yp2_filter_virt_db;
+}
+
#endif
/*
* Local variables:
#endif
/*
* Local variables: