Little changes.

This commit is contained in:
Vreixo Formoso
2007-12-02 17:59:36 +01:00
parent 5fa2490a48
commit 79c37ff193
7 changed files with 207 additions and 51 deletions

View File

@ -42,7 +42,9 @@ struct Iso_Filesystem
void (*free)(IsoFilesystem *fs);
int refcount;
/* TODO each file will take a ref to IsoFilesystem, so maybe a 64bits
* integer is a better choose for this */
unsigned int refcount;
void *data;
};
@ -170,6 +172,15 @@ struct Iso_File_Source
*
*/
int (*readlink)(IsoFileSource *src, char *buf, size_t bufsiz);
/**
* Get the filesystem for this source. No extra ref is added, so you
* musn't unref the IsoFilesystem.
*
* @return
* The filesystem, NULL on error
*/
IsoFilesystem* (*get_filesystem)(IsoFileSource *src);
/**
* Free implementation specific data. Should never be called by user.