X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-ext.h;h=7ae8da27e26c13bd1e34af8d7ef76a3f372ab895;hb=4e664c278636002a3a0c7897d233a258ac1ec18d;hp=63c38f22b25f7c1b907ee9e18da163d54dde2df3;hpb=b436ce38e1e619d2225c7c75c1f0de841aa13bad;p=yaz-moved-to-github.git diff --git a/include/prt-ext.h b/include/prt-ext.h index 63c38f2..7ae8da2 100644 --- a/include/prt-ext.h +++ b/include/prt-ext.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-1998, 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,6 +33,7 @@ #define PRT_EXT_H #include +#include #ifdef __cplusplus extern "C" { @@ -103,8 +104,10 @@ struct Z_External } 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 }