Detect size changes on files.

This commit is contained in:
Vreixo Formoso
2008-02-06 18:04:51 +01:00
parent 293e8ab2fc
commit 5088428742
3 changed files with 29 additions and 4 deletions

View File

@@ -32,10 +32,9 @@ typedef struct IsoStream_Iface
/**
* Opens the stream.
*
* TODO it would be great to return a different success code if the
* underlying source size has changed.
* @return
* 1 on success, < 0 on error
* 1 on success, 2 file greater than expected, 3 file smaller than
* expected, < 0 on error
*/
int (*open)(IsoStream *stream);