3 * \brief Header: local FS
6 #ifndef MC__VFS_LOCAL_H
7 #define MC__VFS_LOCAL_H
9 #include "lib/vfs/vfs.h"
11 /*** typedefs(not structures) and defined constants **********************************************/
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
17 /*** global variables defined in .c file *********************************************************/
19 /*** declarations of public functions ************************************************************/
21 extern void init_localfs (void);
23 /* these functions are used by other filesystems, so they are
25 extern int local_close (void *data
);
26 extern ssize_t
local_read (void *data
, char *buffer
, size_t count
);
27 extern int local_fstat (void *data
, struct stat
*buf
);
28 extern int local_errno (struct vfs_class
*me
);
29 extern off_t
local_lseek (void *data
, off_t offset
, int whence
);
31 /*** inline functions ****************************************************************************/