mc/lib/vfs/mc-vfs/gc.h
Andrew Borodin 9df2f96e75 Some reorginizing of VFS private and public APIs.
Clean up of remained mcfs support.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:49 +04:00

29 lines
605 B
C

/**
* \file
* \brief Header: Virtual File System: garbage collection code
*/
#ifndef MC_VFS_GC_H
#define MC_VFS_GC_H
#include "vfs-impl.h"
struct vfs_stamping
{
struct vfs_class *v;
vfsid id;
struct vfs_stamping *next;
struct timeval time;
};
void vfs_stamp (struct vfs_class *vclass, vfsid id);
void vfs_rmstamp (struct vfs_class *vclass, vfsid id);
void vfs_stamp_create (struct vfs_class *vclass, vfsid id);
void vfs_timeout_handler (void);
int vfs_timeouts (void);
vfsid vfs_getid (struct vfs_class *vclass, const char *dir);
void vfs_gc_done (void);
#endif /* MC_VFS_GC_H */