xref: /netbsd-src/sys/arch/hp300/stand/common/rawfs.h (revision 95e1ffb15694e54f29f8baaa4232152b703c2a5a)
1*95e1ffb1Schristos /*	$NetBSD: rawfs.h,v 1.4 2005/12/11 12:17:19 christos Exp $	*/
2a0864b3eSthorpej 
3a0864b3eSthorpej /*
4a0864b3eSthorpej  * Raw file system - for stream devices like tapes.
5a0864b3eSthorpej  * No random access, only sequential read allowed.
6a0864b3eSthorpej  */
7a0864b3eSthorpej 
8212f884fStsutsui int rawfs_open(const char *, struct open_file *);
9212f884fStsutsui int rawfs_close(struct open_file *);
10212f884fStsutsui int rawfs_read(struct open_file *, void *, u_int, u_int *);
11212f884fStsutsui int rawfs_write(struct open_file *, void *, u_int, u_int *);
12212f884fStsutsui off_t rawfs_seek(struct open_file *, off_t, int);
13212f884fStsutsui int rawfs_stat(struct open_file *, struct stat *);
14