X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fodr.h;h=abd1d734c7298dd8fd6263449132b852b0d507c0;hp=ccff72edc73e8a9edbf481a1a5296545bcfaedf4;hb=c7dfadc3347abda902e15f79bfd513e1d48cfbba;hpb=c5f9b67c889e65446bcbf727bef3705229c3fd7f diff --git a/include/yaz/odr.h b/include/yaz/odr.h index ccff72e..abd1d73 100644 --- a/include/yaz/odr.h +++ b/include/yaz/odr.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: odr.h,v 1.4 2001-03-25 21:55:12 adam Exp $ + * $Id: odr.h,v 1.5 2001-09-24 21:51:55 adam Exp $ */ #ifndef ODR_H @@ -339,8 +339,9 @@ YAZ_EXPORT void odr_choice_bias(ODR o, int what); YAZ_EXPORT void odr_choice_enable_bias(ODR o, int mode); YAZ_EXPORT int odr_total(ODR o); YAZ_EXPORT char *odr_errmsg(int n); -YAZ_EXPORT Odr_oid *odr_getoidbystr(ODR o, char *str); -YAZ_EXPORT Odr_oid *odr_getoidbystr_nmem(NMEM o, char *str); +YAZ_EXPORT Odr_oid *odr_getoidbystr(ODR o, const char *str); +YAZ_EXPORT Odr_oid *odr_getoidbystr_nmem(NMEM o, const char *str); + YAZ_EXPORT int odr_initmember(ODR o, void *p, int size); YAZ_EXPORT int odr_peektag(ODR o, int *zclass, int *tag, int *cons); YAZ_EXPORT void odr_setlenlen(ODR o, int len);