X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_guts.h;h=dabcfe6e5d77b1247f746b945e07005d808dad40;hb=654c707c3e77df3c5fa876a587537c9a05bb63c5;hp=2791d685878bed9c7033e3d4fe276fd1e93be24d;hpb=1677c2bb7be313823200adf0cab65c5f7abdb6f8;p=yaffs2.git diff --git a/yaffs_guts.h b/yaffs_guts.h index 2791d68..dabcfe6 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -598,6 +598,9 @@ struct yaffs_DeviceParamStruct { /* Callback to mark the superblock dirty */ void (*markSuperBlockDirty)(struct yaffs_DeviceStruct *dev); + + /* Callback to control garbage collection. */ + unsigned (*gcControl)(struct yaffs_DeviceStruct *dev); /* Debug control flags. Don't use unless you know what you're doing */ int useHeaderFileSize; /* Flag to determine if we should use file sizes from the header */