2009-02-07 15:54:58 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \brief Header: local FS
|
|
|
|
*/
|
|
|
|
|
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);
|
2010-07-18 17:46:59 +04:00
|
|
|
extern ssize_t local_read (void *data, char *buffer, size_t count);
|
1998-12-16 01:30:55 +03:00
|
|
|
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);
|
2009-01-13 21:00:25 +03:00
|
|
|
extern off_t local_lseek (void *data, off_t offset, int whence);
|
1998-12-16 01:30:55 +03:00
|
|
|
|
|
|
|
#endif
|