Added new class GDU.
[yazpp-moved-to-github.git] / src / yaz-z-server-ill.cpp
index 4a3a0a7..aa6ca38 100644 (file)
@@ -2,13 +2,15 @@
  * Copyright (c) 2000-2004, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: yaz-z-server-ill.cpp,v 1.11 2004-12-13 20:50:54 adam Exp $
+ * $Id: yaz-z-server-ill.cpp,v 1.13 2005-06-08 13:28:06 adam Exp $
  */
 
 #include <yaz/log.h>
 #include <yaz++/z-server.h>
 
-int Yaz_Facility_ILL::init(Yaz_Z_Server *s, Z_InitRequest *initRequest,
+using namespace yazpp_1;
+
+int Yaz_Facility_ILL::init(Z_Server *s, Z_InitRequest *initRequest,
                           Z_InitResponse *initResponse)
 {
     Z_Options *req = initRequest->options;
@@ -19,7 +21,7 @@ int Yaz_Facility_ILL::init(Yaz_Z_Server *s, Z_InitRequest *initRequest,
     return 1;
 }
 
-int Yaz_Facility_ILL::recv(Yaz_Z_Server *s, Z_APDU *apdu_request)
+int Yaz_Facility_ILL::recv(Z_Server *s, Z_APDU *apdu_request)
 {   
     Z_APDU *apdu_response;