* Copyright (c) 2000-2001, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-z-server.h,v 1.7 2001-04-05 13:09:44 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
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,
* See the file LICENSE for details.
*
* $Log: yaz-z-server-ursula.cpp,v $
- * Revision 1.2 2001-04-05 15:12:24 adam
+ * Revision 1.3 2001-04-11 12:33:42 heikki
+ * Working on ursula things
+ *
+ * Revision 1.2 2001/04/05 15:12:24 adam
* WIN32 updates.
*
* Revision 1.1 2001/04/04 14:02:49 adam
}
yaz_log (LOG_LOG, "got ursula packet");
apdu_response = s->create_Z_PDU(Z_APDU_extendedServicesResponse);
- ursula_service(req, pdu, apdu_response->u.extendedServicesResponse);
+ ursula_service(req, pdu, apdu_response->u.extendedServicesResponse, NULL);
+ // FIXME: Initialize the response pdu... ADAM!!!
s->send_Z_PDU(apdu_response);
return 1;
}