X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fprt-ext.h;h=4939fe6cc4bc40cc98276326b5e1328e528047b8;hp=e6f708c6f5d76c8ece8432e6f5affb4336abd6b8;hb=f94999cca65bd3464c1c6db8b5046e0a010b0c7f;hpb=1318fabb307dce513479df1890cac2f20cddda45 diff --git a/include/prt-ext.h b/include/prt-ext.h index e6f708c..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,11 @@ #define PRT_EXT_H #include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* * Used to keep track of known External definitions (a loose approach @@ -70,6 +75,9 @@ struct Z_External #define Z_External_summary 13 #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 */ @@ -90,10 +98,17 @@ struct Z_External Z_Espec1 *espec1; 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 +} +#endif #endif