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 #define CDIO_FS_AUDIO 1
00042 #define CDIO_FS_HIGH_SIERRA 2
00043 #define CDIO_FS_ISO_9660 3
00044 #define CDIO_FS_INTERACTIVE 4
00045 #define CDIO_FS_HFS 5
00048 #define CDIO_FS_UFS 6
00056 #define CDIO_FS_EXT2 7
00057
00058 #define CDIO_FS_ISO_HFS 8
00059 #define CDIO_FS_ISO_9660_INTERACTIVE 9
00068 #define CDIO_FS_3DO 10
00069
00073 #define CDIO_FS_XISO 11
00074 #define CDIO_FS_UDFX 12
00075 #define CDIO_FS_UDF 13
00076 #define CDIO_FS_ISO_UDF 14
00077
00078
00079 #define CDIO_FS_MASK 15
00082 #define CDIO_FS_UNKNOWN CDIO_FS_MASK
00083
00087 #define CDIO_FSTYPE(fs) (fs & CDIO_FS_MASK)
00088
00094 #define CDIO_FS_ANAL_XA 0x0010
00095 #define CDIO_FS_ANAL_MULTISESSION 0x0020
00096 #define CDIO_FS_ANAL_PHOTO_CD 0x0040
00097 #define CDIO_FS_ANAL_HIDDEN_TRACK 0x0080
00099 #define CDIO_FS_ANAL_CDTV 0x0100
00100 #define CDIO_FS_ANAL_BOOTABLE 0x0200
00101 #define CDIO_FS_ANAL_VIDEOCD 0x0400
00102 #define CDIO_FS_ANAL_ROCKRIDGE 0x0800
00104 #define CDIO_FS_ANAL_JOLIET 0x1000
00106 #define CDIO_FS_ANAL_SVCD 0x2000
00107 #define CDIO_FS_ANAL_CVD 0x4000
00108 #define CDIO_FS_ANAL_XISO 0x8000
00114 #define CDIO_FS_MATCH_ALL (cdio_fs_anal_t) (~CDIO_FS_MASK)
00115
00116
00123 typedef struct
00124 {
00125 unsigned int joliet_level;
00127 char iso_label[33];
00129 unsigned int isofs_size;
00130 uint8_t UDFVerMinor;
00131 uint8_t UDFVerMajor;
00132 } cdio_iso_analysis_t;
00133
00139 cdio_fs_anal_t cdio_guess_cd_type(const CdIo_t *cdio, int start_session,
00140 track_t track_num,
00141 cdio_iso_analysis_t *iso_analysis);
00142
00143 #ifdef __cplusplus
00144 }
00145 #endif
00146
00147 #endif
00148
00149
00150
00151
00152
00153
00154
00155