2005-02-19 00:15:37 +03:00
|
|
|
#ifndef MC_VFS_LOCAL_H
|
|
|
|
#define MC_VFS_LOCAL_H
|
1998-12-16 01:30:55 +03:00
|
|
|
|
2004-08-17 03:18:42 +04:00
|
|
|
#include "vfs-impl.h"
|
|
|
|
|
2004-08-17 13:17:43 +04:00
|
|
|
extern void init_localfs (void);
|
|
|
|
|
|
|
|
/* these functions are used by other filesystems, so they are
|
|
|
|
* published here. */
|
1998-12-16 01:30:55 +03:00
|
|
|
extern int local_close (void *data);
|
|
|
|
extern int local_read (void *data, char *buffer, int count);
|
|
|
|
extern int local_fstat (void *data, struct stat *buf);
|
2003-10-12 04:24:00 +04:00
|
|
|
extern int local_errno (struct vfs_class *me);
|
1998-12-16 01:30:55 +03:00
|
|
|
extern int local_lseek (void *data, off_t offset, int whence);
|
|
|
|
|
|
|
|
#endif
|