libcdio  0.90
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 {
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 
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 doxygen 1.8.4