libcdio
0.83
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 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
65
discmode_t
cdio_get_discmode
(
CdIo_t
*p_cdio);
66
72
lsn_t
cdio_get_disc_last_lsn
(
const
CdIo_t
*p_cdio);
73
77
uint8_t
cdio_get_joliet_level
(
const
CdIo_t
*p_cdio);
78
89
char
*
cdio_get_mcn
(
const
CdIo_t
*p_cdio);
90
97
track_t
cdio_get_num_tracks
(
const
CdIo_t
*p_cdio);
98
102
bool
cdio_is_discmode_cdrom
(
discmode_t
discmode);
103
107
bool
cdio_is_discmode_dvd
(
discmode_t
discmode);
108
112
#define cdio_stat_size cdio_get_disc_last_lsn
113
114
#ifdef __cplusplus
115
}
116
#endif
/* __cplusplus */
117
118
#endif
/* __CDIO_DISC_H__ */
Generated for libcdio by
1.8.1.1