libcdio  0.90
cdio.h
Go to the documentation of this file.
00001 /* -*- c -*-
00002     Copyright (C) 2003, 2004, 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
00003     Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
00004 
00005     This program is free software: you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation, either version 3 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017 */
00018 
00025 
00026 #ifndef __CDIO_H__
00027 #define __CDIO_H__
00028 
00032 #define CDIO_API_VERSION 6
00033 
00034 #include <cdio/version.h>
00035 #include <cdio/types.h>
00036 #include <cdio/sector.h>
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif /* __cplusplus */
00041 
00042 /* For compatibility. */
00043 #define CdIo CdIo_t
00044     
00046   typedef struct _CdIo CdIo_t; 
00047 
00048 #ifdef __cplusplus
00049 }
00050 #endif /* __cplusplus */
00051 
00052 /* Drive(r)/Device-related functions. Perhaps we should break out 
00053    Driver from device?
00054 */
00055 #include <cdio/device.h>
00056 
00057 /* CD-Text-related functions. */
00058 #include <cdio/cdtext.h>
00059 
00060 /* Disc-related functions. */
00061 #include <cdio/disc.h>
00062 
00063 /* Sector (frame, or block)-related functions. Uses driver_return_code_t
00064    from <cdio/device.h> so it should come after that. 
00065 */
00066 #include <cdio/read.h>
00067 
00068 /* Track-related functions. */
00069 #include <cdio/track.h>
00070 
00071 #endif /* __CDIO_H__ */