X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr.c;h=1d2c744eecb71ec85bbbe1ded9bf31b788e79776;hb=a3e65bcd3250b107397675bc65b35b5939355025;hp=7013ad7fe78a98a84085bacdd85d2c9687dd4c2f;hpb=2715f6522ca62ab5dbc886c21ed18945743216f0;p=yaz-moved-to-github.git diff --git a/src/odr.c b/src/odr.c index 7013ad7..1d2c744 100644 --- a/src/odr.c +++ b/src/odr.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -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,