JasPer  3.0.1
Todo List
Member jas_stream_clearerr (stream)
TODO/FIXME: Should this macro evaluate to void?
Member jas_stream_copy (jas_stream_t *destination, jas_stream_t *source, ssize_t count)
TODO/FIXME: should return type be ssize_t and the return value be the count of the characters copied? Perhaps, it might be safer to introduce a new function with differing semantics and deprecate this one?
Member jas_stream_display (jas_stream_t *stream, FILE *fp, int count)
TODO/FIXME: should count be unsigned int or size_t instead of int?
Member jas_stream_length (jas_stream_t *stream)
Should the return type be long or ssize_t? long is consistent with the type used for seek offsets.
Member jas_stream_printf (jas_stream_t *stream, const char *format,...)
I think that the return type of int is okay here. It is consistent with printf and friends.
Member jas_stream_read (jas_stream_t *stream, void *buffer, size_t count)
TODO: should jas_stream_error be true if RWLIMIT exceeded? or maybe introduce a jas_stream_rwlimit predicate?
Member jas_stream_setrwcount (jas_stream_t *stream, long rw_count)
TODO/FIXME: Should this macro evaluate to void?