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