2009-02-07 15:54:58 +03:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \brief Header: local FS
|
|
|
|
*/
|
|
|
|
|
2010-11-08 13:21:45 +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"
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
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
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** inline functions ****************************************************************************/
|
1998-12-16 01:30:55 +03:00
|
|
|
#endif
|