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