Year 2007.
[metaproxy-moved-to-github.git] / src / filter_multi.hpp
index fc6eda3..49e67bd 100644 (file)
@@ -1,7 +1,7 @@
-/* $Id: filter_multi.hpp,v 1.2 2006-01-16 01:10:19 adam Exp $
-   Copyright (c) 2005, Index Data.
+/* $Id: filter_multi.hpp,v 1.7 2007-01-25 14:05:54 adam Exp $
+   Copyright (c) 2005-2007, Index Data.
 
-%LICENSE%
+   See the LICENSE file for details
  */
 
 #ifndef FILTER_MULTI_HPP
 
 #include "filter.hpp"
 
-namespace yp2 {
+namespace metaproxy_1 {
     namespace filter {
         class Multi : public Base {
             class Rep;
-            class Frontend;
-            class Map;
-            class FrontendSet;
-            class Backend;
-            class BackendSet;
+            struct Frontend;
+            struct Map;
+            struct FrontendSet;
+            struct Backend;
+            struct BackendSet;
+            struct ScanTermInfo;
+            typedef std::list<ScanTermInfo> ScanTermInfoList;
             typedef boost::shared_ptr<Backend> BackendPtr;
             typedef boost::shared_ptr<Frontend> FrontendPtr;
             typedef boost::shared_ptr<Package> PackagePtr;
@@ -31,7 +33,7 @@ namespace yp2 {
         public:
             ~Multi();
             Multi();
-            void process(yp2::Package & package) const;
+            void process(metaproxy_1::Package & package) const;
             void configure(const xmlNode * ptr);
             void add_map_host2hosts(std::string host,
                                     std::list<std::string> hosts,
@@ -43,7 +45,7 @@ namespace yp2 {
 }
 
 extern "C" {
-    extern struct yp2_filter_struct yp2_filter_multi;
+    extern struct metaproxy_1_filter_struct metaproxy_1_filter_multi;
 }
 
 #endif