mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
0a7899709b
Mostly \file and \brief tag added. Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
33 lines
732 B
C
33 lines
732 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;
|
|
};
|
|
|
|
extern int vfs_timeout;
|
|
|
|
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_add_current_stamps (void);
|
|
void vfs_timeout_handler (void);
|
|
void vfs_expire (int now);
|
|
int vfs_timeouts (void);
|
|
void vfs_release_path (const char *dir);
|
|
vfsid vfs_getid (struct vfs_class *vclass, const char *dir);
|
|
void vfs_gc_done (void);
|
|
|
|
#endif /* __GC_H */
|