dosfs.h revision 1.1.2.2 1 1.1.2.2 bouyer /* $NetBSD: dosfs.h,v 1.1.2.2 2000/11/22 16:05:42 bouyer Exp $ */
2 1.1.2.2 bouyer
3 1.1.2.2 bouyer /*
4 1.1.2.2 bouyer * Copyright (c) 1996, 1998 Robert Nordier
5 1.1.2.2 bouyer * All rights reserved.
6 1.1.2.2 bouyer *
7 1.1.2.2 bouyer * Redistribution and use in source and binary forms, with or without
8 1.1.2.2 bouyer * modification, are permitted provided that the following conditions
9 1.1.2.2 bouyer * are met:
10 1.1.2.2 bouyer * 1. Redistributions of source code must retain the above copyright
11 1.1.2.2 bouyer * notice, this list of conditions and the following disclaimer.
12 1.1.2.2 bouyer * 2. Redistributions in binary form must reproduce the above copyright
13 1.1.2.2 bouyer * notice, this list of conditions and the following disclaimer in
14 1.1.2.2 bouyer * the documentation and/or other materials provided with the
15 1.1.2.2 bouyer * distribution.
16 1.1.2.2 bouyer *
17 1.1.2.2 bouyer * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS
18 1.1.2.2 bouyer * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 1.1.2.2 bouyer * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 1.1.2.2 bouyer * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY
21 1.1.2.2 bouyer * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 1.1.2.2 bouyer * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
23 1.1.2.2 bouyer * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 1.1.2.2 bouyer * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 1.1.2.2 bouyer * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26 1.1.2.2 bouyer * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
27 1.1.2.2 bouyer * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 1.1.2.2 bouyer */
29 1.1.2.2 bouyer
30 1.1.2.2 bouyer int dosfs_open(char *path, struct open_file *);
31 1.1.2.2 bouyer int dosfs_close(struct open_file *);
32 1.1.2.2 bouyer int dosfs_read(struct open_file *, void *, size_t, size_t *);
33 1.1.2.2 bouyer int dosfs_write(struct open_file *, void *, size_t, size_t *);
34 1.1.2.2 bouyer off_t dosfs_seek(struct open_file *, off_t, int);
35 1.1.2.2 bouyer int dosfs_stat(struct open_file *, struct stat *);
36