00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00029 #ifndef __CDIO_CD_TYPES_H__
00030 #define __CDIO_CD_TYPES_H__
00031
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035
00040 typedef enum {
00041 CDIO_FS_AUDIO = 1,
00043 CDIO_FS_HIGH_SIERRA = 2,
00044 CDIO_FS_ISO_9660 = 3,
00045 CDIO_FS_INTERACTIVE = 4,
00046 CDIO_FS_HFS = 5,
00049 CDIO_FS_UFS = 6,
00057 CDIO_FS_EXT2 = 7,
00058
00059 CDIO_FS_ISO_HFS = 8,
00060 CDIO_FS_ISO_9660_INTERACTIVE = 9,
00069 CDIO_FS_3DO = 10,
00070
00071
00075 CDIO_FS_XISO = 11,
00076 CDIO_FS_UDFX = 12,
00077 CDIO_FS_UDF = 13,
00078 CDIO_FS_ISO_UDF = 14
00079 } cdio_fs_t;
00080
00081
00085 #define CDIO_FSTYPE(fs) (fs & CDIO_FS_MASK)
00086
00092 typedef enum {
00093 CDIO_FS_MASK = 0x000f,
00096 CDIO_FS_ANAL_XA = 0x00010,
00097 CDIO_FS_ANAL_MULTISESSION = 0x00020,
00098 CDIO_FS_ANAL_PHOTO_CD = 0x00040,
00099 CDIO_FS_ANAL_HIDDEN_TRACK = 0x00080,
00101 CDIO_FS_ANAL_CDTV = 0x00100,
00102 CDIO_FS_ANAL_BOOTABLE = 0x00200,
00103 CDIO_FS_ANAL_VIDEOCD = 0x00400,
00104 CDIO_FS_ANAL_ROCKRIDGE = 0x00800,
00106 CDIO_FS_ANAL_JOLIET = 0x01000,
00108 CDIO_FS_ANAL_SVCD = 0x02000,
00109 CDIO_FS_ANAL_CVD = 0x04000,
00110 CDIO_FS_ANAL_XISO = 0x08000,
00111 CDIO_FS_ANAL_ISO9660_ANY = 0x10000,
00112 CDIO_FS_ANAL_VCD_ANY = (CDIO_FS_ANAL_VIDEOCD|CDIO_FS_ANAL_SVCD|
00113 CDIO_FS_ANAL_CVD),
00114 CDIO_FS_MATCH_ALL = ~CDIO_FS_MASK
00119 } cdio_fs_cap_t;
00120
00121
00122 #define CDIO_FS_UNKNOWN CDIO_FS_MASK
00123
00127 #define CDIO_FS_MATCH_ALL (cdio_fs_anal_t) (~CDIO_FS_MASK)
00128
00129
00136 typedef struct
00137 {
00138 unsigned int joliet_level;
00140 char iso_label[33];
00142 unsigned int isofs_size;
00143 uint8_t UDFVerMinor;
00144 uint8_t UDFVerMajor;
00145 } cdio_iso_analysis_t;
00146
00152 cdio_fs_anal_t cdio_guess_cd_type(const CdIo_t *cdio, int start_session,
00153 track_t track_num,
00154 cdio_iso_analysis_t *iso_analysis);
00155
00156 #ifdef __cplusplus
00157 }
00158 #endif
00159
00165 extern cdio_fs_cap_t debug_cdio_fs_cap;
00166 extern cdio_fs_t debug_cdio_fs;
00167
00168 #endif
00169
00170
00171
00172
00173
00174
00175
00176