All filters declare a yp2_filter_struct - used for both static and
[metaproxy-moved-to-github.git] / src / filter_session_shared.hpp
index ce79af1..c584467 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: filter_session_shared.hpp,v 1.1 2005-11-14 23:35:22 adam Exp $
+/* $Id: filter_session_shared.hpp,v 1.2 2006-01-04 11:19:04 adam Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
 
 namespace yp2 {
     namespace filter {
-        class Session_shared : public Base {
+        class SessionShared : public Base {
             class Rep;
             class InitKey;
             class List;
         public:
-            ~Session_shared();
-            Session_shared();
+            ~SessionShared();
+            SessionShared();
             void process(yp2::Package & package) const;
         private:
             boost::scoped_ptr<Rep> m_p;
@@ -27,6 +27,10 @@ namespace yp2 {
     }
 }
 
+extern "C" {
+    extern const struct yp2_filter_struct yp2_filter_session_shared;
+}
+
 #endif
 /*
  * Local variables: