No SIGPIPES in windows...
[yazpp-moved-to-github.git] / src / yaz-server.cpp
index a8e628b..cc503dc 100644 (file)
@@ -3,7 +3,14 @@
  * See the file LICENSE for details.
  * 
  * $Log: yaz-server.cpp,v $
- * Revision 1.12  2000-09-21 21:43:20  adam
+ * Revision 1.14  2000-11-01 14:22:59  adam
+ * Added fd parameter for method IYaz_PDU_Observer::clone.
+ *
+ * Revision 1.13  2000/10/11 11:58:16  adam
+ * Moved header files to include/yaz++. Switched to libtool and automake.
+ * Configure script creates yaz++-config script.
+ *
+ * Revision 1.12  2000/09/21 21:43:20  adam
  * Better high-level server API.
  *
  * Revision 1.11  2000/09/12 16:23:49  adam
@@ -45,9 +52,9 @@
  */
 
 #include <yaz/log.h>
-#include <yaz-z-server.h>
-#include <yaz-pdu-assoc.h>
-#include <yaz-socket-manager.h>
+#include <yaz++/yaz-z-server.h>
+#include <yaz++/yaz-pdu-assoc.h>
+#include <yaz++/yaz-socket-manager.h>
 
 class MyServer : public Yaz_Z_Server {
 public:
@@ -65,7 +72,8 @@ public:
                        Z_RecordComposition *comp,
                        Z_NamePlusRecord *namePlusRecord,
                        Z_Records *records);
-    IYaz_PDU_Observer* clone(IYaz_PDU_Observable *the_PDU_Observable);
+    IYaz_PDU_Observer* clone(IYaz_PDU_Observable *the_PDU_Observable,
+                            int fd);
     void failNotify();
     void timeoutNotify();
     void connectNotify();
@@ -1596,7 +1604,8 @@ void MyServer::recv_Z_record (const char *resultSetName,
                           strlen(marc_records[eff_pos]));
 }
 
-IYaz_PDU_Observer *MyServer::clone(IYaz_PDU_Observable *the_PDU_Observable)
+IYaz_PDU_Observer *MyServer::clone(IYaz_PDU_Observable *the_PDU_Observable,
+                                  int fd)
 {
     MyServer *new_server;
     logf (LOG_LOG, "child no %d", m_no);