diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-26 01:16:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-26 01:16:48 +0000 |
commit | c90daa1186258d136f2f45d20dbf698b4daee12c (patch) | |
tree | 79a0532cce031876ebb04319c41814628041c71a /sys/arch/sun3/stand/tapeboot/rawfs.h | |
parent | 5481a864cda1d6232e8383d11227e2402df106e3 (diff) |
update from netbsd tree
Diffstat (limited to 'sys/arch/sun3/stand/tapeboot/rawfs.h')
-rw-r--r-- | sys/arch/sun3/stand/tapeboot/rawfs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/arch/sun3/stand/tapeboot/rawfs.h b/sys/arch/sun3/stand/tapeboot/rawfs.h new file mode 100644 index 00000000000..b177413a013 --- /dev/null +++ b/sys/arch/sun3/stand/tapeboot/rawfs.h @@ -0,0 +1,15 @@ +/* $NetBSD: rawfs.h,v 1.1 1995/10/17 22:58:29 gwr Exp $ */ + +/* + * Raw file system - for stream devices like tapes. + * No random access, only sequential read allowed. + */ + +int rawfs_open __P((char *path, struct open_file *f)); +int rawfs_close __P((struct open_file *f)); +int rawfs_read __P((struct open_file *f, void *buf, + u_int size, u_int *resid)); +int rawfs_write __P((struct open_file *f, void *buf, + u_int size, u_int *resid)); +off_t rawfs_seek __P((struct open_file *f, off_t offset, int where)); +int rawfs_stat __P((struct open_file *f, struct stat *sb)); |