X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fodr.h;h=20f245b8c7f0b89cf6088a9c6fad656da2182607;hp=9c997a3edcdf279926aa3888d3dab6ac2b0f456e;hb=240de66672a5b12b1a0deebc18508719dc780828;hpb=a17e9df75e5d75ccdc3f19101fb7b5d0c5a75e46 diff --git a/include/yaz/odr.h b/include/yaz/odr.h index 9c997a3..20f245b 100644 --- a/include/yaz/odr.h +++ b/include/yaz/odr.h @@ -285,6 +285,7 @@ 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_write(ODR o, unsigned char *buf, int bytes); +YAZ_EXPORT int odr_write2(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);