Home | History | Annotate | Line # | Download | only in bootst
rawfs.h revision 1.3.50.1
      1  1.3.50.1   matt /*	rawfs.h,v 1.3 2005/12/11 12:18:19 christos Exp	*/
      2       1.1  chuck 
      3       1.1  chuck /*
      4       1.1  chuck  * Raw file system - for stream devices like tapes.
      5       1.1  chuck  * No random access, only sequential read allowed.
      6       1.1  chuck  */
      7       1.1  chuck 
      8  1.3.50.1   matt int	rawfs_open(const char *path, struct open_file *f);
      9  1.3.50.1   matt int	rawfs_close(struct open_file *f);
     10  1.3.50.1   matt int	rawfs_read(struct open_file *f, void *buf, u_int size, u_int *resid);
     11  1.3.50.1   matt int	rawfs_write(struct open_file *f, void *buf, u_int size, u_int *resid);
     12  1.3.50.1   matt off_t	rawfs_seek(struct open_file *f, off_t offset, int where);
     13  1.3.50.1   matt int	rawfs_stat(struct open_file *f, struct stat *sb);
     14