X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fprt-ext.h;h=9b60b8599f50a671036ae9a2701ae0642e7dfa63;hp=25ffa4245fe5a0905f06a664ec9350f81b30bfe6;hb=e1af980ed4466d784db2395ad5bdddadb8a24504;hpb=297a057b70eb2747f46b5fe216984394cde6ea8b diff --git a/include/prt-ext.h b/include/prt-ext.h index 25ffa42..9b60b85 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 @@ -67,6 +72,11 @@ struct Z_External #define Z_External_itemOrder 10 #define Z_External_diag1 11 #define Z_External_espec1 12 +#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 union { /* Generic types */ @@ -85,10 +95,18 @@ struct Z_External Z_ItemOrder *itemOrder; Z_DiagnosticFormat *diag1; Z_Espec1 *espec1; + Z_BriefBib *summary; + Z_SearchInfoReport *searchResult1; + Z_IUUpdate *update; + Z_DateTime *dateTime; } 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