KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
fs_iso9660.h
Go to the documentation of this file.
1/* KallistiOS ##version##
2
3 dc/fs/iso9660.h
4 (c)2000-2001 Megan Potter
5
6*/
7
8/** \file dc/fs_iso9660.h
9 \brief ISO9660 (CD-ROM) filesystem driver.
10 \ingroup gdrom
11
12 This driver implements support for reading files from a CD-ROM or CD-R in
13 the Dreamcast's disc drive. This filesystem mounts itself on /cd.
14
15 This driver supports Rock Ridge, thanks to Andrew Kieschnick. The driver
16 also supports the Joliet extensions thanks to Bero.
17
18 The implementation was originally based on a simple ISO9660 implementation
19 by Marcus Comstedt.
20
21 \author Megan Potter
22 \author Andrew Kieschnick
23 \author Bero
24*/
25
26#ifndef __DC_FS_ISO9660_H
27#define __DC_FS_ISO9660_H
28
29#include <sys/cdefs.h>
30__BEGIN_DECLS
31
32#include <arch/types.h>
33#include <kos/limits.h>
34#include <kos/fs.h>
35
36/** \addtogroup gdrom
37 @{
38*/
39
40/** \brief Reset the internal ISO9660 cache.
41
42 This function resets the cache of the ISO9660 driver, breaking connections
43 to all files. This generally assumes that a new disc has been or will be
44 inserted.
45
46 \retval 0 On success.
47*/
48int iso_reset(void);
49
50/* \cond */
51void fs_iso9660_init(void);
52void fs_iso9660_shutdown(void);
53/* \endcond */
54
55/** @} */
56
57__END_DECLS
58
59#endif /* __DC_FS_ISO9660_H */
60
Virtual filesystem support.
int iso_reset(void)
Reset the internal ISO9660 cache.
Limits.
Common integer types.