libcdio  2.1.0
cdio.h
Go to the documentation of this file.
1 /* -*- c -*-
2  Copyright (C) 2003, 2004, 2005, 2008, 2009, 2014
3  Rocky Bernstein <rocky@gnu.org>
4  Copyright (C) 2001 Herbert Valerio Riedel <hvr@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 
26 
27 #ifndef __CDIO_H__
28 #define __CDIO_H__
29 
33 #define CDIO_API_VERSION 6
34 
35 #include <cdio/version.h>
36 #include <cdio/types.h>
37 #include <cdio/sector.h>
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif /* __cplusplus */
42 
43 /* For compatibility. */
44 #define CdIo CdIo_t
45 
47  typedef struct _CdIo CdIo_t;
48 
49 #ifdef __cplusplus
50 }
51 #endif /* __cplusplus */
52 
53 /* Drive(r)/Device-related functions. Perhaps we should break out
54  Driver from device?
55 */
56 #include <cdio/device.h>
57 
58 /* CD-Text-related functions. */
59 #include <cdio/cdtext.h>
60 
61 /* Disc-related functions. */
62 #include <cdio/disc.h>
63 
64 /* Sector (frame, or block)-related functions. Uses driver_return_code_t
65  from <cdio/device.h> so it should come after that.
66 */
67 #include <cdio/read.h>
68 
69 /* Track-related functions. */
70 #include <cdio/track.h>
71 
72 /* Memory management functions. */
73 #include <cdio/memory.h>
74 
75 #endif /* __CDIO_H__ */
Common type definitions used pervasively in libcdio.
memory management utility functions.
The top-level header for disc-related libcdio calls.
The top-level header for sector (block, frame)-related libcdio calls.
struct _CdIo CdIo_t
Definition: cdio.h:47
A file containing the libcdio package version number (20100) and OS build name.
Things related to CD-ROM layout: tracks, sector sizes, MSFs, LBAs.
C header for driver- or device-related libcdio calls. ("device" includes CD-image reading devices)...
The top-level header for CD-Text information. Applications include this for CD-Text access...
The top-level header for track-related libcdio calls.