Fix little bug, close() must mark a file as closed!

This commit is contained in:
Vreixo Formoso
2007-11-26 21:46:26 +01:00
parent db533b2d99
commit 100919a5cb
4 changed files with 23 additions and 10 deletions

View File

@ -29,16 +29,17 @@ struct Iso_Stream
/**
* Close the Stream.
* @return 1 on success, < 0 on error
*/
void (*close)(IsoStream *stream);
int (*close)(IsoStream *stream);
// Stream should read in 2k blocks!
//...
int refcount;
void *data;
}
#endif /*STREAM_H_*/