minor
[yazpp-moved-to-github.git] / include / yaz++ / yaz-z-server.h
index 3f399c1..64d0ae3 100644 (file)
@@ -2,11 +2,13 @@
  * Copyright (c) 2000-2001, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: yaz-z-server.h,v 1.6 2001-04-04 14:02:49 adam Exp $
+ * $Id: yaz-z-server.h,v 1.8 2001-04-11 12:33:42 heikki Exp $
  */
 
 #include <yaz++/yaz-z-assoc.h>
+#if HAVE_YAZ_URSULA_H
 #include <yaz/zes-ursula.h>
+#endif
 
 class Yaz_Z_Server;
 
@@ -32,18 +34,23 @@ class YAZ_EXPORT IYaz_Server_Facility {
 };
 
 
+#if HAVE_YAZ_URSULA_H
 class YAZ_EXPORT Yaz_Facility_Ursula : public IYaz_Server_Facility {
  public:
+//    virtual void ursula_service (Z_ExtendedServicesRequest *req,
+//                              Z_UrsPDU *u,
+//                              Z_ExtendedServicesResponse *res) = 0;
     virtual void ursula_service (Z_ExtendedServicesRequest *req,
-                                Z_UrsPDU *u,
-                                Z_ExtendedServicesResponse *res) = 0;
+                        Z_UrsPDU *u_req,
+                        Z_ExtendedServicesResponse *res,
+                        Z_UrsPDU *u_res) =0;
 
     int init(Yaz_Z_Server *server,
             Z_InitRequest *initRequest,
             Z_InitResponse *initResponse);
     int recv(Yaz_Z_Server *server, Z_APDU *apdu);
 };
-
+#endif
 
 class YAZ_EXPORT Yaz_Facility_ILL : public IYaz_Server_Facility {
  public: