xref: /netbsd/sys/arch/sun68k/stand/tapeboot/rawfs.h (revision 6550d01e)
1 /*	$NetBSD: rawfs.h,v 1.4 2005/12/11 12:19:29 christos 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(const char *, struct open_file *);
9 int	rawfs_close(struct open_file *);
10 int	rawfs_read(struct open_file *, void *, u_int, u_int *);
11 int	rawfs_write(struct open_file *, void *, u_int, u_int *);
12 off_t	rawfs_seek(struct open_file *, off_t, int);
13 int	rawfs_stat(struct open_file *, struct stat *);
14