libcdio 0.83
|
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 5 00033 00034 #include <cdio/version.h> 00035 #include <cdio/types.h> 00036 #ifdef HAVE_SYS_TYPES_H 00037 #include <sys/types.h> 00038 #endif 00039 #ifdef HAVE_UNISTD_H 00040 #include <unistd.h> 00041 #endif 00042 00043 #include <cdio/sector.h> 00044 00045 #ifdef __cplusplus 00046 extern "C" { 00047 #endif /* __cplusplus */ 00048 00049 /* For compatibility. */ 00050 #define CdIo CdIo_t 00051 00053 typedef struct _CdIo CdIo_t; 00054 00056 typedef struct cdtext cdtext_t; 00057 00058 #ifdef __cplusplus 00059 } 00060 #endif /* __cplusplus */ 00061 00062 /* Drive(r)/Device-related functions. Perhaps we should break out 00063 Driver from device? 00064 */ 00065 #include <cdio/device.h> 00066 00067 /* Disc-related functions. */ 00068 #include <cdio/disc.h> 00069 00070 /* Sector (frame, or block)-related functions. Uses driver_return_code_t 00071 from <cdio/device.h> so it should come after that. 00072 */ 00073 #include <cdio/read.h> 00074 00075 /* CD-Text-related functions. */ 00076 #include <cdio/cdtext.h> 00077 00078 /* Track-related functions. */ 00079 #include <cdio/track.h> 00080 00081 #endif /* __CDIO_H__ */