Home | History | Annotate | Line # | Download | only in common
rawfs.h revision 1.3
      1  1.3  tsutsui /*	$NetBSD: rawfs.h,v 1.3 2003/11/14 16:52:40 tsutsui Exp $	*/
      2  1.1  thorpej 
      3  1.1  thorpej /*
      4  1.1  thorpej  * Raw file system - for stream devices like tapes.
      5  1.1  thorpej  * No random access, only sequential read allowed.
      6  1.1  thorpej  */
      7  1.1  thorpej 
      8  1.3  tsutsui int rawfs_open(const char *, struct open_file *);
      9  1.3  tsutsui int rawfs_close(struct open_file *);
     10  1.3  tsutsui int rawfs_read(struct open_file *, void *, u_int, u_int *);
     11  1.3  tsutsui int rawfs_write(struct open_file *, void *, u_int, u_int *);
     12  1.3  tsutsui off_t rawfs_seek(struct open_file *, off_t, int);
     13  1.3  tsutsui int rawfs_stat(struct open_file *, struct stat *);
     14