libcdio 2.1.1
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
29extern "C" {
30#endif /* __cplusplus */
31
58
59 extern const char *discmode2str[];
60
72 uint8_t * cdio_get_cdtext_raw (CdIo_t *p_cdio);
73
86
93
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
125
130
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_ */
struct _CdIo CdIo_t
Definition cdio.h:47
struct cdtext_s cdtext_t
Opaque type for CD-Text.
Definition cdtext.h:218
char * cdio_get_mcn(const CdIo_t *p_cdio)
cdtext_t * cdio_get_cdtext(CdIo_t *p_cdio)
bool cdio_is_discmode_dvd(discmode_t discmode)
discmode_t cdio_get_discmode(CdIo_t *p_cdio)
discmode_t
Definition disc.h:37
@ CDIO_DISC_MODE_CD_MIXED
Definition disc.h:41
@ CDIO_DISC_MODE_DVD_R
Definition disc.h:44
@ CDIO_DISC_MODE_DVD_ROM
Definition disc.h:42
@ CDIO_DISC_MODE_DVD_RAM
Definition disc.h:43
@ CDIO_DISC_MODE_CD_I
Definition disc.h:56
@ CDIO_DISC_MODE_ERROR
Definition disc.h:55
@ CDIO_DISC_MODE_DVD_PR_DL
Definition disc.h:52
@ CDIO_DISC_MODE_CD_DA
Definition disc.h:38
@ CDIO_DISC_MODE_CD_DATA
Definition disc.h:39
@ CDIO_DISC_MODE_NO_INFO
Definition disc.h:54
@ CDIO_DISC_MODE_DVD_OTHER
Definition disc.h:53
@ CDIO_DISC_MODE_HD_DVD_RAM
Definition disc.h:47
@ CDIO_DISC_MODE_HD_DVD_R
Definition disc.h:48
@ CDIO_DISC_MODE_HD_DVD_ROM
Definition disc.h:46
@ CDIO_DISC_MODE_DVD_PR
Definition disc.h:49
@ CDIO_DISC_MODE_DVD_PRW
Definition disc.h:50
@ CDIO_DISC_MODE_DVD_PRW_DL
Definition disc.h:51
@ CDIO_DISC_MODE_DVD_RW
Definition disc.h:45
@ CDIO_DISC_MODE_CD_XA
Definition disc.h:40
uint8_t cdio_get_joliet_level(const CdIo_t *p_cdio)
uint8_t * cdio_get_cdtext_raw(CdIo_t *p_cdio)
lsn_t cdio_get_disc_last_lsn(const CdIo_t *p_cdio)
track_t cdio_get_num_tracks(const CdIo_t *p_cdio)
const char * discmode2str[]
bool cdio_is_discmode_cdrom(discmode_t discmode)
uint8_t track_t
Definition types.h:260
int32_t lsn_t
Definition types.h:250