X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fodr.h;h=0d3cff13ded252b6ce538e5f5bb22c75402676b7;hp=3f3c9f0cab63908cd37170a953987cb42f631597;hb=c82db01c9fc0b51254ec6ead5fe3b503ca098ca0;hpb=69b1d8e7b437179163fe97b7cbead51a56835f2a diff --git a/include/yaz/odr.h b/include/yaz/odr.h index 3f3c9f0..0d3cff1 100644 --- a/include/yaz/odr.h +++ b/include/yaz/odr.h @@ -287,7 +287,7 @@ YAZ_EXPORT void odr_end(ODR o); YAZ_EXPORT Odr_oid *odr_oiddup(ODR odr, const Odr_oid *o); YAZ_EXPORT Odr_oid *odr_oiddup_nmem(NMEM nmem, const Odr_oid *o); YAZ_EXPORT int odr_grow_block(ODR b, int min_bytes); -YAZ_EXPORT int odr_write2(ODR o, const char *buf, int bytes); +YAZ_EXPORT int odr_write(ODR o, const char *buf, int bytes); YAZ_EXPORT int odr_seek(ODR o, int whence, int offset); YAZ_EXPORT int odr_dumpBER(FILE *f, const char *buf, int len); YAZ_EXPORT void odr_choice_bias(ODR o, int what);