X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=sidebyside;f=include%2Fyaz%2B%2B%2Fyaz-z-server.h;h=4d4fb99e212ca05c3ec15fe96aeaaa44879c24fe;hb=f45771ec3032b3ef67ec4c275da242e3c647b53e;hp=64d0ae344b43a75c3a42cd04025bdd9085ef2135;hpb=8bc1d0bdc866416424d9ef56bd16f9627688671a;p=yazpp-moved-to-github.git diff --git a/include/yaz++/yaz-z-server.h b/include/yaz++/yaz-z-server.h index 64d0ae3..4d4fb99 100644 --- a/include/yaz++/yaz-z-server.h +++ b/include/yaz++/yaz-z-server.h @@ -2,7 +2,7 @@ * Copyright (c) 2000-2001, Index Data. * See the file LICENSE for details. * - * $Id: yaz-z-server.h,v 1.8 2001-04-11 12:33:42 heikki Exp $ + * $Id: yaz-z-server.h,v 1.10 2001-05-17 14:18:03 adam Exp $ */ #include @@ -54,9 +54,6 @@ class YAZ_EXPORT Yaz_Facility_Ursula : public IYaz_Server_Facility { class YAZ_EXPORT Yaz_Facility_ILL : public IYaz_Server_Facility { public: - virtual int ill_init (Z_InitRequest *initRequest, - Z_InitResponse *initResponse) = 0; - virtual void ill_service (Z_ExtendedServicesRequest *req, Z_ItemOrder *io, Z_ExtendedServicesResponse *res) = 0; @@ -67,6 +64,23 @@ class YAZ_EXPORT Yaz_Facility_ILL : public IYaz_Server_Facility { int recv(Yaz_Z_Server *server, Z_APDU *apdu); }; +class YAZ_EXPORT Yaz_Facility_Update : public IYaz_Server_Facility { + public: + virtual void update_service (Z_ExtendedServicesRequest *req, + Z_IUUpdate *io, + Z_ExtendedServicesResponse *res) = 0; + + virtual void update_service0 (Z_ExtendedServicesRequest *req, + Z_IU0Update *io, + Z_ExtendedServicesResponse *res) = 0; + + int init(Yaz_Z_Server *server, + Z_InitRequest *initRequest, + Z_InitResponse *initResponse); + int recv(Yaz_Z_Server *server, Z_APDU *apdu); +}; + + class YAZ_EXPORT Yaz_Facility_Retrieval : public IYaz_Server_Facility, public Yaz_Z_ServerUtility { public: