local.h 511 B

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