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

cd_types.h

Go to the documentation of this file.
00001 /*
00002     $Id: cd_types.h,v 1.12 2005/01/27 03:10:06 rocky Exp $
00003 
00004     Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
00005     Copyright (C) 1996,1997,1998  Gerd Knorr <kraxel@bytesex.org>
00006          and       Heiko Eißfeldt <heiko@hexco.de>
00007 
00008     This program is free software; you can redistribute it and/or modify
00009     it under the terms of the GNU General Public License as published by
00010     the Free Software Foundation; either version 2 of the License, or
00011     (at your option) any later version.
00012 
00013     This program is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016     GNU General Public License for more details.
00017 
00018     You should have received a copy of the GNU General Public License
00019     along with this program; if not, write to the Free Software
00020     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021 */
00022 
00029 #ifndef __CDIO_CD_TYPES_H__
00030 #define __CDIO_CD_TYPES_H__
00031 
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif /* __cplusplus */
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                                   /*out*/ cdio_iso_analysis_t *iso_analysis);
00142 
00143 #ifdef __cplusplus
00144 }
00145 #endif /* __cplusplus */
00146 
00147 #endif /* __CDIO_CD_TYPES_H__ */
00148 
00149 /* 
00150  * Local variables:
00151  *  c-file-style: "gnu"
00152  *  tab-width: 8
00153  *  indent-tabs-mode: nil
00154  * End:
00155  */

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