Merge branch '2944_cleanup'
[midnight-commander.git] / lib / vfs / gc.h
blobfcaf421dcca7feddc25d6ae508f1d736a9552e50
1 /**
2 * \file
3 * \brief Header: Virtual File System: garbage collection code
4 */
6 #ifndef MC__VFS_GC_H
7 #define MC__VFS_GC_H
9 #include "vfs.h"
11 /*** typedefs(not structures) and defined constants **********************************************/
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
17 struct vfs_stamping
19 struct vfs_class *v;
20 vfsid id;
21 struct vfs_stamping *next;
22 struct timeval time;
25 /*** global variables defined in .c file *********************************************************/
27 /*** declarations of public functions ************************************************************/
29 void vfs_stamp (struct vfs_class *vclass, vfsid id);
30 void vfs_rmstamp (struct vfs_class *vclass, vfsid id);
31 void vfs_stamp_create (struct vfs_class *vclass, vfsid id);
32 void vfs_gc_done (void);
34 /*** inline functions ****************************************************************************/
35 #endif /* MC_VFS_GC_H */