Reduce memory usage in low level tree, by storing dir info separately.

This commit is contained in:
Vreixo Formoso
2007-12-29 18:30:59 +01:00
parent 4b8db2f274
commit 7e66fe43ce
6 changed files with 76 additions and 60 deletions

View File

@ -97,6 +97,13 @@ int mfs_stat(IsoFileSource *src, struct stat *info)
return ISO_SUCCESS;
}
static
int mfs_access(IsoFileSource *src)
{
// TODO not implemented
return ISO_SUCCESS;
}
static
int mfs_open(IsoFileSource *src)
{
@ -176,6 +183,7 @@ IsoFileSourceIface mfs_class = {
mfs_get_name,
mfs_lstat,
mfs_stat,
mfs_access,
mfs_open,
mfs_close,
mfs_read,