libcdio  2.1.0
About: GNU libcdio is a library for CD-ROM and CD image access.
  Fossies Dox: libcdio-2.1.0.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

disc.h
Go to the documentation of this file.
1 /* -*- c -*-
2 
3  Copyright (C) 2018 Thomas Schmitt
4  Copyright (C) 2004, 2005, 2006, 2008, 2010, 2012, 2014
5  Rocky Bernstein <rocky@gnu.org>
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20 
25 #ifndef CDIO_DISC_H_
26 #define CDIO_DISC_H_
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
31 
37  typedef enum {
57  } discmode_t;
58 
59  extern const char *discmode2str[];
60 
72  uint8_t * cdio_get_cdtext_raw (CdIo_t *p_cdio);
73 
85  cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio);
86 
93 
99  lsn_t cdio_get_disc_last_lsn(const CdIo_t *p_cdio);
100 
104  uint8_t cdio_get_joliet_level(const CdIo_t *p_cdio);
105 
116  char * cdio_get_mcn (const CdIo_t *p_cdio);
117 
124  track_t cdio_get_num_tracks (const CdIo_t *p_cdio);
125 
129  bool cdio_is_discmode_cdrom (discmode_t discmode);
130 
134  bool cdio_is_discmode_dvd (discmode_t discmode);
135 
139 #define cdio_stat_size cdio_get_disc_last_lsn
140 
141 #ifdef __cplusplus
142 }
143 #endif /* __cplusplus */
144 
145 #endif /* CDIO_DISC_H_ */
CDIO_DISC_MODE_DVD_RW
Definition: disc.h:45
discmode2str
const char * discmode2str[]
Definition: disc.c:34
CDIO_DISC_MODE_HD_DVD_ROM
Definition: disc.h:46
cdio_get_num_tracks
track_t cdio_get_num_tracks(const CdIo_t *p_cdio)
Definition: track.c:156
CDIO_DISC_MODE_CD_MIXED
Definition: disc.h:41
CDIO_DISC_MODE_HD_DVD_RAM
Definition: disc.h:47
lsn_t
int32_t lsn_t
Definition: types.h:266
cdio_get_mcn
char * cdio_get_mcn(const CdIo_t *p_cdio)
Definition: disc.c:129
CDIO_DISC_MODE_DVD_PRW_DL
Definition: disc.h:51
track_t
uint8_t track_t
Definition: types.h:276
CDIO_DISC_MODE_ERROR
Definition: disc.h:55
CDIO_DISC_MODE_DVD_RAM
Definition: disc.h:43
cdio_is_discmode_cdrom
bool cdio_is_discmode_cdrom(discmode_t discmode)
Definition: disc.c:139
CDIO_DISC_MODE_DVD_R
Definition: disc.h:44
_CdIo
Definition: cdio_private.h:472
discmode_t
discmode_t
Definition: disc.h:37
cdio_get_cdtext
cdtext_t * cdio_get_cdtext(CdIo_t *p_cdio)
CDIO_DISC_MODE_DVD_OTHER
Definition: disc.h:53
CDIO_DISC_MODE_CD_DA
Definition: disc.h:38
cdio_get_disc_last_lsn
lsn_t cdio_get_disc_last_lsn(const CdIo_t *p_cdio)
Definition: disc.c:102
CDIO_DISC_MODE_HD_DVD_R
Definition: disc.h:48
cdio_is_discmode_dvd
bool cdio_is_discmode_dvd(discmode_t discmode)
Definition: disc.c:154
CDIO_DISC_MODE_CD_DATA
Definition: disc.h:39
CDIO_DISC_MODE_NO_INFO
Definition: disc.h:54
CDIO_DISC_MODE_CD_I
Definition: disc.h:56
CDIO_DISC_MODE_DVD_PR_DL
Definition: disc.h:52
CDIO_DISC_MODE_CD_XA
Definition: disc.h:40
CDIO_DISC_MODE_DVD_PRW
Definition: disc.h:50
cdio_get_cdtext_raw
uint8_t * cdio_get_cdtext_raw(CdIo_t *p_cdio)
cdtext_s
Definition: cdtext_private.h:127
CDIO_DISC_MODE_DVD_ROM
Definition: disc.h:42
cdio_get_discmode
discmode_t cdio_get_discmode(CdIo_t *p_cdio)
Definition: disc.c:112
cdio_get_joliet_level
uint8_t cdio_get_joliet_level(const CdIo_t *p_cdio)
Definition: track.c:141
CDIO_DISC_MODE_DVD_PR
Definition: disc.h:49