Merge branch '1396_with_search_engine'
[midnight-commander.git] / vfs / gc.h
blobf4f994664aa6c1f67164f0a7ed7e4f2fa62377b3
2 /**
3 * \file
4 * \brief Header: Virtual File System: garbage collection code
5 */
7 #ifndef MC_VFS_GC_H
8 #define MC_VFS_GC_H
10 #include "vfs-impl.h"
12 struct vfs_stamping {
13 struct vfs_class *v;
14 vfsid id;
15 struct vfs_stamping *next;
16 struct timeval time;
19 extern int vfs_timeout;
21 void vfs_stamp (struct vfs_class *vclass, vfsid id);
22 void vfs_rmstamp (struct vfs_class *vclass, vfsid id);
23 void vfs_stamp_create (struct vfs_class *vclass, vfsid id);
24 void vfs_add_current_stamps (void);
25 void vfs_timeout_handler (void);
26 void vfs_expire (int now);
27 int vfs_timeouts (void);
28 void vfs_release_path (const char *dir);
29 vfsid vfs_getid (struct vfs_class *vclass, const char *dir);
30 void vfs_gc_done (void);
32 #endif /* __GC_H */