mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-23 02:34:14 +03:00

* moved from lib/vfs/mc-vfs to lib/vfs; * split by directories for VFS-plugins and moved to src/vfs; * lib/vfs/vfs-impl.h was merged into lib/vfs/vfs.h. Signed-off-by: Andrew Borodin <aborodin@vmail.ru> Signed-off-by: Slava Zanko <slavazanko@gmail.com>
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/**
|
|
* \file
|
|
* \brief Header: Virtual File System: garbage collection code
|
|
*/
|
|
|
|
#ifndef MC__VFS_GC_H
|
|
#define MC__VFS_GC_H
|
|
|
|
#include "vfs.h"
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
struct vfs_stamping
|
|
{
|
|
struct vfs_class *v;
|
|
vfsid id;
|
|
struct vfs_stamping *next;
|
|
struct timeval time;
|
|
};
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
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);
|
|
vfsid vfs_getid (struct vfs_class *vclass, const char *dir);
|
|
void vfs_gc_done (void);
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
#endif /* MC_VFS_GC_H */
|