X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-ext.h;h=4939fe6cc4bc40cc98276326b5e1328e528047b8;hb=23cfa431fda52535722e4efdc3f462995937e863;hp=30b25412b11bddd58d52091964bf9fea1927e9a3;hpb=bf4149c63ad2e11429e302a89f472de52b4d7ce8;p=yaz-moved-to-github.git diff --git a/include/prt-ext.h b/include/prt-ext.h index 30b2541..4939fe6 100644 --- a/include/prt-ext.h +++ b/include/prt-ext.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, @@ -33,6 +33,7 @@ #define PRT_EXT_H #include +#include #ifdef __cplusplus extern "C" { @@ -75,6 +76,8 @@ struct Z_External #define Z_External_OPAC 14 #define Z_External_searchResult1 15 #define Z_External_update 16 +#define Z_External_dateTime 17 +#define Z_External_universeReport 18 union { /* Generic types */ @@ -96,11 +99,13 @@ struct Z_External Z_BriefBib *summary; Z_SearchInfoReport *searchResult1; Z_IUUpdate *update; + Z_DateTime *dateTime; + Z_UniverseReport *universeReport; } u; }; -int z_External(ODR o, Z_External **p, int opt); -Z_ext_typeent *z_ext_getentbyref(oid_value val); +YAZ_EXPORT int z_External(ODR o, Z_External **p, int opt); +YAZ_EXPORT Z_ext_typeent *z_ext_getentbyref(oid_value val); #ifdef __cplusplus }