libcdio
0.90
Main Page
Data Structures
Files
File List
Globals
include
cdio
disc.h
Go to the documentation of this file.
1
/* -*- c -*-
2
3
Copyright (C) 2004, 2005, 2006, 2008, 2010, 2012 Rocky Bernstein
4
<rocky@gnu.org>
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
24
#ifndef CDIO_DISC_H_
25
#define CDIO_DISC_H_
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
/* __cplusplus */
30
36
typedef
enum
{
37
CDIO_DISC_MODE_CD_DA
,
38
CDIO_DISC_MODE_CD_DATA
,
39
CDIO_DISC_MODE_CD_XA
,
40
CDIO_DISC_MODE_CD_MIXED
,
41
CDIO_DISC_MODE_DVD_ROM
,
42
CDIO_DISC_MODE_DVD_RAM
,
43
CDIO_DISC_MODE_DVD_R
,
44
CDIO_DISC_MODE_DVD_RW
,
45
CDIO_DISC_MODE_HD_DVD_ROM
,
46
CDIO_DISC_MODE_HD_DVD_RAM
,
47
CDIO_DISC_MODE_HD_DVD_R
,
48
CDIO_DISC_MODE_DVD_PR
,
49
CDIO_DISC_MODE_DVD_PRW
,
50
CDIO_DISC_MODE_DVD_PRW_DL
,
51
CDIO_DISC_MODE_DVD_PR_DL
,
52
CDIO_DISC_MODE_DVD_OTHER
,
53
CDIO_DISC_MODE_NO_INFO
,
54
CDIO_DISC_MODE_ERROR
,
55
CDIO_DISC_MODE_CD_I
56
}
discmode_t
;
57
58
extern
const
char
*
discmode2str
[];
59
68
uint8_t *
cdio_get_cdtext_raw
(
CdIo_t
*p_cdio);
69
77
cdtext_t
*
cdio_get_cdtext
(
CdIo_t
*p_cdio);
78
84
discmode_t
cdio_get_discmode
(
CdIo_t
*p_cdio);
85
91
lsn_t
cdio_get_disc_last_lsn
(
const
CdIo_t
*p_cdio);
92
96
uint8_t
cdio_get_joliet_level
(
const
CdIo_t
*p_cdio);
97
108
char
*
cdio_get_mcn
(
const
CdIo_t
*p_cdio);
109
116
track_t
cdio_get_num_tracks
(
const
CdIo_t
*p_cdio);
117
121
bool
cdio_is_discmode_cdrom
(
discmode_t
discmode);
122
126
bool
cdio_is_discmode_dvd
(
discmode_t
discmode);
127
131
#define cdio_stat_size cdio_get_disc_last_lsn
132
133
#ifdef __cplusplus
134
}
135
#endif
/* __cplusplus */
136
137
#endif
/* CDIO_DISC_H_ */
Generated for libcdio by
1.8.4