Make public yp2_filter_struct non-const. If not, the linker symbol
[metaproxy-moved-to-github.git] / src / filter_frontend_net.hpp
index 2a68a91..f90d69b 100644 (file)
@@ -1,11 +1,11 @@
-/* $Id: filter_frontend_net.hpp,v 1.6 2005-10-29 22:23:36 marc Exp $
+/* $Id: filter_frontend_net.hpp,v 1.10 2006-01-04 11:55:31 adam Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
  */
 
 #ifndef FILTER_FRONTEND_NET_HPP
-#define FILTER_FRONEND_NET_HPP
+#define FILTER_FRONTEND_NET_HPP
 
 #include <stdexcept>
 #include <vector>
 namespace yp2 {
     namespace filter {
         class FrontendNet : public Base {
+            class ZAssocServerChild;
         public:
             FrontendNet::FrontendNet();
             void process(yp2::Package & package) const;
-            const std::string type() const {
-                return "FrontendNet";
-            };
         private:
             int m_no_threads;
             std::vector<std::string> m_ports;
@@ -33,6 +31,9 @@ namespace yp2 {
     }
 }
 
+extern "C" {
+    extern struct yp2_filter_struct yp2_filter_frontend_net;
+}
 
 #endif
 /*