1/* $NetBSD: rawfs.h,v 1.1.60.3 2004/09/21 13:15:27 skrll Exp $ */ 2 3/* 4 * Raw file system - for stream devices like tapes. 5 * No random access, only sequential read allowed. 6 */ 7 8int rawfs_open(const char *, struct open_file *); 9int rawfs_close(struct open_file *); 10int rawfs_read(struct open_file *, void *, u_int, u_int *); 11int rawfs_write(struct open_file *, void *, u_int, u_int *); 12off_t rawfs_seek(struct open_file *, off_t, int); 13int rawfs_stat(struct open_file *, struct stat *); 14