libcdio  0.93
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  */
Definition: cd_types.h:108
Definition: cd_types.h:100
Definition: cd_types.h:46
Definition: cd_types.h:54
cdio_fs_cap_t
Definition: cd_types.h:89
int cdio_fs_anal_t
Definition: types.h:321
Definition: cd_types.h:106
Definition: cd_types.h:90
Definition: cd_types.h:99
uint8_t track_t
Definition: types.h:275
Definition: cd_types.h:43
#define CDIO_FS_MATCH_ALL
Definition: cd_types.h:124
Definition: cd_types.h:96
Definition: cd_types.h:107
Definition: cd_types.h:42
Definition: cd_types.h:103
Definition: cd_types.h:75
Definition: cd_types.h:109
uint8_t UDFVerMajor
Definition: cd_types.h:141
Definition: cd_types.h:105
unsigned int isofs_size
Definition: cd_types.h:139
Definition: cd_types.h:94
Definition: cd_types.h:95
Definition: cd_types.h:40
The type used to return analysis information from cdio_guess_cd_type.
Definition: cd_types.h:133
Definition: cd_types.h:41
cdio_fs_cap_t debug_cdio_fs_cap
Definition: cd_types.h:98
Definition: cd_types.h:66
Definition: cd_types.h:101
struct _CdIo CdIo_t
Definition: cdio.h:47
Definition: cd_types.h:74
Definition: cd_types.h:57
cdio_fs_t debug_cdio_fs
unsigned int joliet_level
Definition: cd_types.h:135
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)
Definition: cd_types.h:56
Definition: cd_types.h:93
cdio_fs_t
Definition: cd_types.h:37
Definition: cd_types.h:72
Definition: cd_types.h:38
Definition: cd_types.h:73
uint8_t UDFVerMinor
Definition: cd_types.h:140