mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-02 22:21:39 +03:00

support for mmap() and munmap() from the VFS. It is unused and cannot be applied to remote file systems.
17 lines
459 B
C
17 lines
459 B
C
#ifndef MC_VFS_LOCAL_H
|
|
#define MC_VFS_LOCAL_H
|
|
|
|
#include "vfs-impl.h"
|
|
|
|
extern void init_localfs (void);
|
|
|
|
/* these functions are used by other filesystems, so they are
|
|
* published here. */
|
|
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);
|
|
extern int local_errno (struct vfs_class *me);
|
|
extern int local_lseek (void *data, off_t offset, int whence);
|
|
|
|
#endif
|