Make public yp2_filter_struct non-const. If not, the linker symbol
[metaproxy-moved-to-github.git] / src / filter_frontend_net.hpp
index 31becaa..f90d69b 100644 (file)
@@ -1,11 +1,11 @@
-/* $Id: filter_frontend_net.hpp,v 1.7 2005-10-31 09:40:18 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>
@@ -15,6 +15,7 @@
 namespace yp2 {
     namespace filter {
         class FrontendNet : public Base {
+            class ZAssocServerChild;
         public:
             FrontendNet::FrontendNet();
             void process(yp2::Package & package) const;
@@ -30,6 +31,9 @@ namespace yp2 {
     }
 }
 
+extern "C" {
+    extern struct yp2_filter_struct yp2_filter_frontend_net;
+}
 
 #endif
 /*