Implement IsoFilesystem to deal with local filesystem.

This commit is contained in:
Vreixo Formoso
2007-11-25 19:54:13 +01:00
parent 1bda81869b
commit e034f287bf
3 changed files with 86 additions and 7 deletions

View File

@ -21,3 +21,16 @@ void iso_file_source_unref(IsoFileSource *src)
free(src);
}
}
void iso_filesystem_ref(IsoFilesystem *fs)
{
++fs->refcount;
}
void iso_filesystem_unref(IsoFilesystem *fs)
{
if (--fs->refcount == 0) {
fs->free(fs);
free(fs);
}
}