local.h 465 B

12345678910111213141516
  1. #ifndef MC_VFS_LOCAL_H
  2. #define MC_VFS_LOCAL_H
  3. #include "vfs-impl.h"
  4. extern void init_localfs (void);
  5. /* these functions are used by other filesystems, so they are
  6. * published here. */
  7. extern int local_close (void *data);
  8. extern ssize_t local_read (void *data, char *buffer, int count);
  9. extern int local_fstat (void *data, struct stat *buf);
  10. extern int local_errno (struct vfs_class *me);
  11. extern off_t local_lseek (void *data, off_t offset, int whence);
  12. #endif