Added skeleton of yaz-z-server.
[yazpp-moved-to-github.git] / src / yaz-pdu-assoc.cpp
index 289a52b..ae8bfaf 100644 (file)
@@ -1,10 +1,12 @@
 /*
- * Copyright (c) 1998-1999, Index Data.
+ * Copyright (c) 1998-2000, Index Data.
  * See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
  * 
  * $Log: yaz-pdu-assoc.cpp,v $
- * Revision 1.12  2000-09-06 14:23:45  adam
+ * Revision 1.13  2000-09-08 10:23:42  adam
+ * Added skeleton of yaz-z-server.
+ *
+ * Revision 1.12  2000/09/06 14:23:45  adam
  * WIN32 updates.
  *
  * Revision 1.11  2000/09/04 08:29:22  adam
@@ -396,7 +398,7 @@ void Yaz_PDU_Assoc::socket(IYaz_PDU_Observer *observer, int fd)
     }
 }
 
-#if 1
+#if 0
 
 // Single-threaded... Only useful for non-blocking handlers
 void Yaz_PDU_Assoc::childNotify(int fd)
@@ -420,9 +422,10 @@ void Yaz_PDU_Assoc::childNotify(int fd)
 #include <pthread.h>
 #endif
 
-void
 #ifdef WIN32
-__cdecl
+void __cdecl
+#else
+void *
 #endif 
     events(void *p)
 {