X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr.c;h=3ad263dd05e1196a1eb799c268e1663dc0451bf0;hp=7013ad7fe78a98a84085bacdd85d2c9687dd4c2f;hb=0b0eb588d2989d5bc7d77600e4e9b375d1eade12;hpb=11325508f28602eeeade2294f0b5e70f3f9c8429 diff --git a/src/odr.c b/src/odr.c index 7013ad7..3ad263d 100644 --- a/src/odr.c +++ b/src/odr.c @@ -175,6 +175,7 @@ void odr_setprint(ODR o, FILE *file) odr_set_stream(o, file, odr_FILE_write, odr_FILE_close); } + void odr_set_stream(ODR o, void *handle, void (*stream_write)(ODR o, void *handle, int type,