Home | History | Annotate | Line # | Download | only in tapeboot
rawfs.h revision 1.1
      1 /*	$NetBSD: rawfs.h,v 1.1 2001/06/14 12:57:17 fredette Exp $	*/
      2 
      3 /*
      4  * Raw file system - for stream devices like tapes.
      5  * No random access, only sequential read allowed.
      6  */
      7 
      8 int	rawfs_open __P((char *path, struct open_file *f));
      9 int	rawfs_close __P((struct open_file *f));
     10 int	rawfs_read __P((struct open_file *f, void *buf,
     11 		u_int size, u_int *resid));
     12 int	rawfs_write __P((struct open_file *f, void *buf,
     13 		u_int size, u_int *resid));
     14 off_t	rawfs_seek __P((struct open_file *f, off_t offset, int where));
     15 int	rawfs_stat __P((struct open_file *f, struct stat *sb));
     16