Make public yp2_filter_struct non-const. If not, the linker symbol
[metaproxy-moved-to-github.git] / src / filter_frontend_net.hpp
index 6fd0856..f90d69b 100644 (file)
@@ -1,6 +1,11 @@
+/* $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>
@@ -10,6 +15,7 @@
 namespace yp2 {
     namespace filter {
         class FrontendNet : public Base {
+            class ZAssocServerChild;
         public:
             FrontendNet::FrontendNet();
             void process(yp2::Package & package) const;
@@ -25,12 +31,16 @@ namespace yp2 {
     }
 }
 
+extern "C" {
+    extern struct yp2_filter_struct yp2_filter_frontend_net;
+}
 
 #endif
 /*
  * Local variables:
  * c-basic-offset: 4
  * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab
  */