libcdio 2.1.1
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
30extern "C" {
31#endif /* __cplusplus */
32
77
78
82#define CDIO_FSTYPE(fs) (fs & CDIO_FS_MASK)
83
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
133typedef 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
149cdio_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
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_t cdio_guess_cd_type(const CdIo_t *cdio, int start_session, track_t track_num, cdio_iso_analysis_t *iso_analysis)
cdio_fs_t debug_cdio_fs
cdio_fs_t
Definition cd_types.h:37
@ CDIO_FS_ISO_UDF
Definition cd_types.h:75
@ CDIO_FS_EXT2
Definition cd_types.h:54
@ CDIO_FS_ISO_9660_INTERACTIVE
Definition cd_types.h:57
@ CDIO_FS_HIGH_SIERRA
Definition cd_types.h:40
@ CDIO_FS_3DO
Definition cd_types.h:66
@ CDIO_FS_UFS
Definition cd_types.h:46
@ CDIO_FS_INTERACTIVE
Definition cd_types.h:42
@ CDIO_FS_UDF
Definition cd_types.h:74
@ CDIO_FS_ISO_HFS
Definition cd_types.h:56
@ CDIO_FS_UDFX
Definition cd_types.h:73
@ CDIO_FS_HFS
Definition cd_types.h:43
@ CDIO_FS_ISO_9660
Definition cd_types.h:41
@ CDIO_FS_XISO
Definition cd_types.h:72
@ CDIO_FS_AUDIO
Definition cd_types.h:38
cdio_fs_cap_t debug_cdio_fs_cap
#define CDIO_FS_MATCH_ALL
Definition cd_types.h:124
cdio_fs_cap_t
Definition cd_types.h:89
@ CDIO_FS_ANAL_CVD
Definition cd_types.h:106
@ CDIO_FS_ANAL_PHOTO_CD
Definition cd_types.h:95
@ CDIO_FS_ANAL_VIDEOCD
Definition cd_types.h:100
@ CDIO_FS_ANAL_HIDDEN_TRACK
Definition cd_types.h:96
@ CDIO_FS_ANAL_CDTV
Definition cd_types.h:98
@ CDIO_FS_ANAL_VCD_ANY
Definition cd_types.h:109
@ CDIO_FS_ANAL_ROCKRIDGE
Definition cd_types.h:101
@ CDIO_FS_ANAL_JOLIET
Definition cd_types.h:103
@ CDIO_FS_MASK
Definition cd_types.h:90
@ CDIO_FS_ANAL_BOOTABLE
Definition cd_types.h:99
@ CDIO_FS_ANAL_XISO
Definition cd_types.h:107
@ CDIO_FS_ANAL_MULTISESSION
Definition cd_types.h:94
@ CDIO_FS_ANAL_XA
Definition cd_types.h:93
@ CDIO_FS_ANAL_ISO9660_ANY
Definition cd_types.h:108
@ CDIO_FS_ANAL_SVCD
Definition cd_types.h:105
struct _CdIo CdIo_t
Definition cdio.h:47
The type used to return analysis information from cdio_guess_cd_type.
Definition cd_types.h:134
unsigned int joliet_level
Definition cd_types.h:135
unsigned int isofs_size
Definition cd_types.h:139
uint8_t UDFVerMajor
Definition cd_types.h:141
uint8_t UDFVerMinor
Definition cd_types.h:140
uint8_t track_t
Definition types.h:260
int cdio_fs_anal_t
Definition types.h:306