libcdio  0.83
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 {
56  } discmode_t;
57 
58  extern const char *discmode2str[];
59 
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 doxygen 1.8.1.1