Main Page | Data Structures | Directories | File List | Data Fields | Globals

cd_types.h File Reference

Header for routines which automatically determine the Compact Disc format and possibly filesystem on the CD. More...

Go to the source code of this file.

Data Structures

struct  cdio_iso_analysis_t
 The type used to return analysis information from cdio_guess_cd_type. More...

Defines

#define CDIO_FS_AUDIO   1
#define CDIO_FS_HIGH_SIERRA   2
#define CDIO_FS_ISO_9660   3
#define CDIO_FS_INTERACTIVE   4
#define CDIO_FS_HFS   5
#define CDIO_FS_UFS   6
#define CDIO_FS_EXT2   7
#define CDIO_FS_ISO_HFS   8
#define CDIO_FS_ISO_9660_INTERACTIVE   9
#define CDIO_FS_3DO   10
#define CDIO_FS_XISO   11
#define CDIO_FS_UDFX   12
#define CDIO_FS_UDF   13
#define CDIO_FS_ISO_UDF   14
#define CDIO_FS_MASK   15
#define CDIO_FS_UNKNOWN   CDIO_FS_MASK
#define CDIO_FSTYPE(fs)   (fs & CDIO_FS_MASK)
#define CDIO_FS_ANAL_XA   0x0010
#define CDIO_FS_ANAL_MULTISESSION   0x0020
#define CDIO_FS_ANAL_PHOTO_CD   0x0040
#define CDIO_FS_ANAL_HIDDEN_TRACK   0x0080
#define CDIO_FS_ANAL_CDTV   0x0100
#define CDIO_FS_ANAL_BOOTABLE   0x0200
#define CDIO_FS_ANAL_VIDEOCD   0x0400
#define CDIO_FS_ANAL_ROCKRIDGE   0x0800
#define CDIO_FS_ANAL_JOLIET   0x1000
#define CDIO_FS_ANAL_SVCD   0x2000
#define CDIO_FS_ANAL_CVD   0x4000
#define CDIO_FS_ANAL_XISO   0x8000
#define CDIO_FS_MATCH_ALL   (cdio_fs_anal_t) (~CDIO_FS_MASK)

Functions

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)


Detailed Description

Header for routines which automatically determine the Compact Disc format and possibly filesystem on the CD.


Define Documentation

#define CDIO_FS_3DO   10
 

The 3DO is, technically, a set of specifications created by the 3DO company. These specs are for making a 3DO Interactive Multiplayer which uses a CD-player. Panasonic in the early 90's was the first company to manufacture and market a 3DO player.

#define CDIO_FS_ANAL_BOOTABLE   0x0200
 

CD is bootable

#define CDIO_FS_ANAL_CDTV   0x0100
 

#define CDIO_FS_ANAL_CVD   0x4000
 

Choiji Video CD

#define CDIO_FS_ANAL_HIDDEN_TRACK   0x0080
 

Hidden track at the beginning of the CD

#define CDIO_FS_ANAL_JOLIET   0x1000
 

Microsoft Joliet extensions to ISO 9660

#define CDIO_FS_ANAL_MULTISESSION   0x0020
 

CD has multisesion

#define CDIO_FS_ANAL_PHOTO_CD   0x0040
 

Is a Kodak Photo CD

#define CDIO_FS_ANAL_ROCKRIDGE   0x0800
 

Has Rock Ridge Extensions to ISO 9660

#define CDIO_FS_ANAL_SVCD   0x2000
 

Super VCD or Choiji Video CD

#define CDIO_FS_ANAL_VIDEOCD   0x0400
 

VCD 1.1

#define CDIO_FS_ANAL_XA   0x0010
 

Bit masks for the classes of CD-images. These are generally higher-level than the fs-type information above and may be determined based of the fs type information. eXtended Architecture format

#define CDIO_FS_ANAL_XISO   0x8000
 

XBOX CD

#define CDIO_FS_AUDIO   1
 

Filesystem types we understand. The highest-numbered fs type should be less than CDIO_FS_MASK defined below. audio only - not really a filesystem

#define CDIO_FS_EXT2   7
 

EXT2 was the GNU/Linux native filesystem for early kernels. Newer GNU/Linux OS's may use EXT3 which EXT2 with a journal.

#define CDIO_FS_HFS   5
 

file system used on the Macintosh system in MacOS 6 through MacOS 9 and depricated in OSX.

#define CDIO_FS_HIGH_SIERRA   2
 

#define CDIO_FS_INTERACTIVE   4
 

#define CDIO_FS_ISO_9660   3
 

ISO 9660 filesystem

#define CDIO_FS_ISO_9660_INTERACTIVE   9
 

both CD-RTOS and ISO filesystem

#define CDIO_FS_ISO_HFS   8
 

both HFS & ISO-9660 filesystem

#define CDIO_FS_ISO_UDF   14
 

#define CDIO_FS_MASK   15
 

Note: this should be 2**n-1 and and greater than the highest CDIO_FS number above

#define CDIO_FS_MATCH_ALL   (cdio_fs_anal_t) (~CDIO_FS_MASK)
 

Pattern which can be used by cdio_get_devices to specify matching any sort of CD.

#define CDIO_FS_UDF   13
 

#define CDIO_FS_UDFX   12
 

#define CDIO_FS_UFS   6
 

Generic Unix file system derived from the Berkeley fast file system.

#define CDIO_FS_UNKNOWN   CDIO_FS_MASK
 

#define CDIO_FS_XISO   11
 

Microsoft X-BOX CD.

#define CDIO_FSTYPE fs   )     (fs & CDIO_FS_MASK)
 

Macro to extract just the FS type portion defined above


Function Documentation

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
 

Try to determine what kind of CD-image and/or filesystem we have at track track_num. Return information about the CD image is returned in iso_analysis and the return value.


Generated on Mon Sep 26 07:49:53 2005 for libcdio by  doxygen 1.4.4