X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fz-server.h;h=738701c26f84b86543641eede975600c4d1d4b8e;hb=76d66b222afff97cf367a3e7b8bfe045a62d0d57;hp=f4e4ea425e770ed371f91eeac75ba24c63ff7257;hpb=7411ed6df7fc0b535f83503f73d70e80f390e295;p=yazpp-moved-to-github.git diff --git a/include/yaz++/z-server.h b/include/yaz++/z-server.h index f4e4ea4..738701c 100644 --- a/include/yaz++/z-server.h +++ b/include/yaz++/z-server.h @@ -2,7 +2,7 @@ * Copyright (c) 2000-2005, Index Data. * See the file LICENSE for details. * - * $Id: z-server.h,v 1.8 2005-06-25 15:53:19 adam Exp $ + * $Id: z-server.h,v 1.10 2006-03-28 19:51:38 adam Exp $ */ #include @@ -23,9 +23,11 @@ class YAZ_EXPORT Z_ServerUtility { Z_Records *create_nonSurrogateDiagnostics (ODR odr, int error, const char *addinfo); - void Z_ServerUtility::create_diagnostics ( + void create_diagnostics ( ODR odr, int error, const char *addinfo, Z_DiagRec ***dreca, int *num); + + virtual ~Z_ServerUtility() = 0; }; class YAZ_EXPORT IServer_Facility { @@ -34,6 +36,8 @@ class YAZ_EXPORT IServer_Facility { Z_InitRequest *initRequest, Z_InitResponse *initResponse) = 0; virtual int recv(Z_Server *server, Z_APDU *apdu) = 0; + + virtual ~IServer_Facility() = 0; }; class YAZ_EXPORT Yaz_Facility_ILL : public IServer_Facility {