summaryrefslogtreecommitdiffstats
path: root/stream/stream_cb.c
Commit message (Collapse)AuthorAgeFilesLines
* stream_cb: remove broken castwm42016-08-311-1/+1
| | | | | | | seek_fn is supposed to return the new file offset, or a negative error code. Our code doesn't use the offset, and only wants to know if any errors happened. The int cast is completely broken and might treat a successful seek as failed depending on whether the sign bit will be set.
* client API: add stream_cb API for user-defined stream implementationsAman Gupta2016-08-071-0/+108
Based on #2630. Some heavy changes by committer. Signed-off-by: wm4 <wm4@nowhere>