X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fproto.h;h=354d1369dcda886c3df6168ed35ad3ca23822f47;hb=adfa93d3033913d04c134941f7035f00fd2f080b;hp=11e6c93a79aab2290cef8f04f48b94f76a0b8bcd;hpb=46ed30d0d83dd1b21e58a4db365a60aefaa5aad8;p=yaz-moved-to-github.git diff --git a/include/proto.h b/include/proto.h index 11e6c93..354d136 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-1998, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -24,7 +24,21 @@ * OF THIS SOFTWARE. * * $Log: proto.h,v $ - * Revision 1.40 1997-09-01 08:49:50 adam + * Revision 1.44 1998-05-18 10:14:08 adam + * Minor change - removed 'dead' definitions. + * + * Revision 1.43 1998/03/31 11:07:45 adam + * Furhter work on UNIverse resource report. + * Added Extended Services handling in frontend server. + * + * Revision 1.42 1998/03/20 14:46:06 adam + * Added UNIverse Resource Reports. + * + * Revision 1.41 1998/02/10 15:31:52 adam + * Implemented date and time structure. Changed the Update Extended + * Service. + * + * Revision 1.40 1997/09/01 08:49:50 adam * New windows NT/95 port using MSV5.0. To export DLL functions the * YAZ_EXPORT modifier was added. Defined in yconfig.h. * @@ -867,8 +881,6 @@ typedef struct Z_AlternativeTerm Z_AttributesPlusTerm **terms; } Z_AlternativeTerm; -#if 1 - typedef struct Z_ByDatabase { char *db; @@ -908,31 +920,6 @@ typedef struct Z_OccurrenceByAttributes Z_OccurrenceByAttributesElem **elements; } Z_OccurrenceByAttributes; -#else - -/* - * Old, incomplete definition of OccurrenceByAttributes. - */ - -typedef struct Z_OccurrenceByAttributes -{ - Z_AttributeList *attributes; -#if 0 - int which; -#define Z_OByAtt_global 0 -#define Z_ObyAtt_byDatabase 1 - union - { -#endif - int *global; -#if 0 - /* Z_ByDatabase *byDatabase; */ - } u; -#endif -} Z_OccurrenceByAttributes; - -#endif - typedef struct Z_TermInfo { Z_Term *term; @@ -1361,6 +1348,7 @@ YAZ_EXPORT int z_Term(ODR o, Z_Term **p, int opt); YAZ_EXPORT int z_Specification(ODR o, Z_Specification **p, int opt); YAZ_EXPORT int z_Permissions(ODR o, Z_Permissions **p, int opt); YAZ_EXPORT int z_DiagRec(ODR o, Z_DiagRec **p, int opt); +YAZ_EXPORT int z_DiagRecs(ODR o, Z_DiagRecs **p, int opt); YAZ_EXPORT int z_AttributeList(ODR o, Z_AttributeList **p, int opt); YAZ_EXPORT int z_DefaultDiagFormat(ODR o, Z_DefaultDiagFormat **p, int opt); YAZ_EXPORT Z_APDU *zget_APDU(ODR o, int which); @@ -1380,6 +1368,8 @@ YAZ_EXPORT int z_Query(ODR o, Z_Query **p, int opt); #include #include +#include +#include #include #endif