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