* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr.c,v 1.5 2004-08-24 08:44:10 adam Exp $
+ * $Id: odr.c,v 1.8 2004-10-15 00:19:00 adam Exp $
*
*/
+
+/**
+ * \file odr.c
+ * \brief Implements fundamental ODR functionality
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
fputs(" ..... ", (FILE*) handle);
i = len - 1000;
}
- if (strchr("\r\n\f\t", c) || c >= ' ' && c <= 126)
+ if (strchr("\r\n\f\t", c) || (c >= ' ' && c <= 126))
putc(c, (FILE*) handle);
else
{
const char *buf, int len),
void (*stream_close)(void *handle))
{
- o->print = handle;
+ o->print = (FILE*) handle;
o->op->stream_write = stream_write;
o->op->stream_close = stream_close;
}