Rename from yp2 to metaproxy. The namespace for all definitions
[metaproxy-moved-to-github.git] / src / filter_multi.hpp
index fc6eda3..86ab144 100644 (file)
@@ -1,5 +1,5 @@
-/* $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.5 2006-03-16 10:40:59 adam Exp $
+   Copyright (c) 2005-2006, Index Data.
 
 %LICENSE%
  */
 
 #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