X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fprt-ext.h;h=7ae8da27e26c13bd1e34af8d7ef76a3f372ab895;hp=b01c8d8a3eecd90fac739009fabf2ccea6499e17;hb=cb182c3eb21ca4405d0c9f928ceb33f3fd2f95ba;hpb=fa86345c14168c451f8c76b71309b27230bfee44 diff --git a/include/prt-ext.h b/include/prt-ext.h index b01c8d8..7ae8da2 100644 --- a/include/prt-ext.h +++ b/include/prt-ext.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-1999, 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,7 +33,7 @@ #define PRT_EXT_H #include -#include +#include #ifdef __cplusplus extern "C" { @@ -77,6 +77,7 @@ struct Z_External #define Z_External_searchResult1 15 #define Z_External_update 16 #define Z_External_dateTime 17 +#define Z_External_universeReport 18 union { /* Generic types */ @@ -99,11 +100,14 @@ struct Z_External Z_SearchInfoReport *searchResult1; Z_IUUpdate *update; Z_DateTime *dateTime; + Z_UniverseReport *universeReport; } u; }; -YAZ_EXPORT int z_External(ODR o, Z_External **p, int opt); +YAZ_EXPORT int z_External(ODR o, Z_External **p, int opt, const char *name); YAZ_EXPORT Z_ext_typeent *z_ext_getentbyref(oid_value val); +YAZ_EXPORT Z_External *z_ext_record(ODR o, int format, const char *buf, + int len); #ifdef __cplusplus }