summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/stand/libsa/rawfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hp300/stand/libsa/rawfs.h')
-rw-r--r--sys/arch/hp300/stand/libsa/rawfs.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/arch/hp300/stand/libsa/rawfs.h b/sys/arch/hp300/stand/libsa/rawfs.h
new file mode 100644
index 00000000000..c37ed16fb93
--- /dev/null
+++ b/sys/arch/hp300/stand/libsa/rawfs.h
@@ -0,0 +1,16 @@
+/* $OpenBSD: rawfs.h,v 1.1 1997/07/14 08:14:49 downsj Exp $ */
+/* $NetBSD: rawfs.h,v 1.1 1996/06/26 17:44:36 thorpej 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));