libcdio  2.0.0
cd_types.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003, 2006, 2008, 2012 Rocky Bernstein <rocky@gnu.org>
3  Copyright (C) 1996,1997,1998 Gerd Knorr <kraxel@bytesex.org>
4  and Heiko Eißfeldt <heiko@hexco.de>
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
26 #ifndef CDIO_CD_TYPES_H_
27 #define CDIO_CD_TYPES_H_
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif /* __cplusplus */
32 
37  typedef enum {
55 
67 
68 
76  } cdio_fs_t;
77 
78 
82 #define CDIO_FSTYPE(fs) (fs & CDIO_FS_MASK)
83 
89  typedef enum {
90  CDIO_FS_MASK = 0x000f,
93  CDIO_FS_ANAL_XA = 0x00010,
98  CDIO_FS_ANAL_CDTV = 0x00100,
105  CDIO_FS_ANAL_SVCD = 0x02000,
106  CDIO_FS_ANAL_CVD = 0x04000,
107  CDIO_FS_ANAL_XISO = 0x08000,
116  } cdio_fs_cap_t;
117 
118 
119 #define CDIO_FS_UNKNOWN CDIO_FS_MASK
120 
124 #define CDIO_FS_MATCH_ALL (cdio_fs_anal_t) (~CDIO_FS_MASK)
125 
126 
133 typedef struct
134 {
135  unsigned int joliet_level;
137  char iso_label[33];
139  unsigned int isofs_size;
140  uint8_t UDFVerMinor;
141  uint8_t UDFVerMajor;
143 
149 cdio_fs_anal_t cdio_guess_cd_type(const CdIo_t *cdio, int start_session,
150  track_t track_num,
151  /*out*/ cdio_iso_analysis_t *iso_analysis);
152 
153 #ifdef __cplusplus
154 }
155 #endif /* __cplusplus */
156 
163 extern cdio_fs_t debug_cdio_fs;
164 
165 #endif /* CDIO_CD_TYPES_H_ */
166 
167 /*
168  * Local variables:
169  * c-file-style: "gnu"
170  * tab-width: 8
171  * indent-tabs-mode: nil
172  * End:
173  */
CDIO_FS_ANAL_CVD
@ CDIO_FS_ANAL_CVD
Definition: cd_types.h:106
CDIO_FS_ISO_UDF
@ CDIO_FS_ISO_UDF
Definition: cd_types.h:75
CDIO_FS_ISO_9660
@ CDIO_FS_ISO_9660
Definition: cd_types.h:41
CDIO_FS_ISO_9660_INTERACTIVE
@ CDIO_FS_ISO_9660_INTERACTIVE
Definition: cd_types.h:57
CDIO_FS_MATCH_ALL
#define CDIO_FS_MATCH_ALL
Definition: cd_types.h:124
CDIO_FS_ANAL_VCD_ANY
@ CDIO_FS_ANAL_VCD_ANY
Definition: cd_types.h:109
CDIO_FS_ANAL_XISO
@ CDIO_FS_ANAL_XISO
Definition: cd_types.h:107
CDIO_FS_ISO_HFS
@ CDIO_FS_ISO_HFS
Definition: cd_types.h:56
CDIO_FS_ANAL_PHOTO_CD
@ CDIO_FS_ANAL_PHOTO_CD
Definition: cd_types.h:95
cdio_iso_analysis_t
The type used to return analysis information from cdio_guess_cd_type.
Definition: cd_types.h:133
CDIO_FS_ANAL_SVCD
@ CDIO_FS_ANAL_SVCD
Definition: cd_types.h:105
track_t
uint8_t track_t
Definition: types.h:276
debug_cdio_fs
cdio_fs_t debug_cdio_fs
CDIO_FS_3DO
@ CDIO_FS_3DO
Definition: cd_types.h:66
CDIO_FS_ANAL_XA
@ CDIO_FS_ANAL_XA
Definition: cd_types.h:93
CdIo_t
struct _CdIo CdIo_t
Definition: cdio.h:47
CDIO_FS_ANAL_CDTV
@ CDIO_FS_ANAL_CDTV
Definition: cd_types.h:98
CDIO_FS_ANAL_ROCKRIDGE
@ CDIO_FS_ANAL_ROCKRIDGE
Definition: cd_types.h:101
CDIO_FS_UDF
@ CDIO_FS_UDF
Definition: cd_types.h:74
CDIO_FS_UDFX
@ CDIO_FS_UDFX
Definition: cd_types.h:73
CDIO_FS_MASK
@ CDIO_FS_MASK
Definition: cd_types.h:90
cdio_iso_analysis_t::UDFVerMajor
uint8_t UDFVerMajor
Definition: cd_types.h:141
cdio_iso_analysis_t::isofs_size
unsigned int isofs_size
Definition: cd_types.h:139
cdio_guess_cd_type
cdio_fs_anal_t cdio_guess_cd_type(const CdIo_t *cdio, int start_session, track_t track_num, cdio_iso_analysis_t *iso_analysis)
CDIO_FS_ANAL_BOOTABLE
@ CDIO_FS_ANAL_BOOTABLE
Definition: cd_types.h:99
CDIO_FS_ANAL_JOLIET
@ CDIO_FS_ANAL_JOLIET
Definition: cd_types.h:103
CDIO_FS_ANAL_HIDDEN_TRACK
@ CDIO_FS_ANAL_HIDDEN_TRACK
Definition: cd_types.h:96
cdio_fs_cap_t
cdio_fs_cap_t
Definition: cd_types.h:89
debug_cdio_fs_cap
cdio_fs_cap_t debug_cdio_fs_cap
CDIO_FS_AUDIO
@ CDIO_FS_AUDIO
Definition: cd_types.h:38
CDIO_FS_HIGH_SIERRA
@ CDIO_FS_HIGH_SIERRA
Definition: cd_types.h:40
CDIO_FS_HFS
@ CDIO_FS_HFS
Definition: cd_types.h:43
CDIO_FS_ANAL_ISO9660_ANY
@ CDIO_FS_ANAL_ISO9660_ANY
Definition: cd_types.h:108
CDIO_FS_XISO
@ CDIO_FS_XISO
Definition: cd_types.h:72
cdio_fs_t
cdio_fs_t
Definition: cd_types.h:37
CDIO_FS_UFS
@ CDIO_FS_UFS
Definition: cd_types.h:46
CDIO_FS_INTERACTIVE
@ CDIO_FS_INTERACTIVE
Definition: cd_types.h:42
cdio_iso_analysis_t::joliet_level
unsigned int joliet_level
Definition: cd_types.h:135
CDIO_FS_EXT2
@ CDIO_FS_EXT2
Definition: cd_types.h:54
CDIO_FS_ANAL_MULTISESSION
@ CDIO_FS_ANAL_MULTISESSION
Definition: cd_types.h:94
CDIO_FS_ANAL_VIDEOCD
@ CDIO_FS_ANAL_VIDEOCD
Definition: cd_types.h:100
cdio_fs_anal_t
int cdio_fs_anal_t
Definition: types.h:322
cdio_iso_analysis_t::UDFVerMinor
uint8_t UDFVerMinor
Definition: cd_types.h:140

Generated for libcdio by doxygen 1.8.17