libcdio  0.83
cdio.h
Go to the documentation of this file.
1 /* -*- c -*-
2  Copyright (C) 2003, 2004, 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
3  Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
4 
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
25 
26 #ifndef __CDIO_H__
27 #define __CDIO_H__
28 
32 #define CDIO_API_VERSION 5
33 
34 #include <cdio/version.h>
35 #include <cdio/types.h>
36 #ifdef HAVE_SYS_TYPES_H
37 #include <sys/types.h>
38 #endif
39 #ifdef HAVE_UNISTD_H
40 #include <unistd.h>
41 #endif
42 
43 #include <cdio/sector.h>
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif /* __cplusplus */
48 
49 /* For compatibility. */
50 #define CdIo CdIo_t
51 
53  typedef struct _CdIo CdIo_t;
54 
56  typedef struct cdtext cdtext_t;
57 
58 #ifdef __cplusplus
59 }
60 #endif /* __cplusplus */
61 
62 /* Drive(r)/Device-related functions. Perhaps we should break out
63  Driver from device?
64 */
65 #include <cdio/device.h>
66 
67 /* Disc-related functions. */
68 #include <cdio/disc.h>
69 
70 /* Sector (frame, or block)-related functions. Uses driver_return_code_t
71  from <cdio/device.h> so it should come after that.
72 */
73 #include <cdio/read.h>
74 
75 /* CD-Text-related functions. */
76 #include <cdio/cdtext.h>
77 
78 /* Track-related functions. */
79 #include <cdio/track.h>
80 
81 #endif /* __CDIO_H__ */

Generated for libcdio by doxygen 1.8.1.1