libcdio  0.83
cd_types.h
Go to the documentation of this file.
1 /*
2  $Id: cd_types.h,v 1.18 2008/03/25 15:59:08 karl Exp $
3 
4  Copyright (C) 2003, 2006, 2008 Rocky Bernstein <rocky@cpan.org>
5  Copyright (C) 1996,1997,1998 Gerd Knorr <kraxel@bytesex.org>
6  and Heiko Eißfeldt <heiko@hexco.de>
7 
8  This program is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
28 #ifndef __CDIO_CD_TYPES_H__
29 #define __CDIO_CD_TYPES_H__
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif /* __cplusplus */
34 
39  typedef enum {
57 
69 
70 
78  } cdio_fs_t;
79 
80 
84 #define CDIO_FSTYPE(fs) (fs & CDIO_FS_MASK)
85 
91  typedef enum {
92  CDIO_FS_MASK = 0x000f,
95  CDIO_FS_ANAL_XA = 0x00010,
100  CDIO_FS_ANAL_CDTV = 0x00100,
107  CDIO_FS_ANAL_SVCD = 0x02000,
108  CDIO_FS_ANAL_CVD = 0x04000,
109  CDIO_FS_ANAL_XISO = 0x08000,
118  } cdio_fs_cap_t;
119 
120 
121 #define CDIO_FS_UNKNOWN CDIO_FS_MASK
122 
126 #define CDIO_FS_MATCH_ALL (cdio_fs_anal_t) (~CDIO_FS_MASK)
127 
128 
135 typedef struct
136 {
137  unsigned int joliet_level;
139  char iso_label[33];
141  unsigned int isofs_size;
142  uint8_t UDFVerMinor;
143  uint8_t UDFVerMajor;
145 
151 cdio_fs_anal_t cdio_guess_cd_type(const CdIo_t *cdio, int start_session,
152  track_t track_num,
153  /*out*/ cdio_iso_analysis_t *iso_analysis);
154 
155 #ifdef __cplusplus
156 }
157 #endif /* __cplusplus */
158 
165 extern cdio_fs_t debug_cdio_fs;
166 
167 #endif /* __CDIO_CD_TYPES_H__ */
168 
169 /*
170  * Local variables:
171  * c-file-style: "gnu"
172  * tab-width: 8
173  * indent-tabs-mode: nil
174  * End:
175  */

Generated for libcdio by doxygen 1.8.1.1