cdio.h

Go to the documentation of this file.
00001 /* -*- c -*-
00002     $Id: cdio_8h-source.html,v 1.19 2006/10/27 11:16:41 rocky Exp $
00003 
00004     Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
00005     Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
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 2 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, write to the Free Software
00019     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 */
00021 
00028 
00029 #ifndef __CDIO_H__
00030 #define __CDIO_H__
00031 
00035 #define CDIO_API_VERSION 5
00036 
00037 #include <cdio/version.h>
00038 
00039 #ifdef  HAVE_SYS_TYPES_H
00040 #include <sys/types.h>
00041 #endif
00042 #ifdef  HAVE_UNISTD_H
00043 #include <unistd.h>
00044 #endif
00045 
00046 #include <cdio/types.h>
00047 #include <cdio/sector.h>
00048 
00049 #ifdef __cplusplus
00050 extern "C" {
00051 #endif /* __cplusplus */
00052 
00053 /* For compatibility. */
00054 #define CdIo CdIo_t
00055     
00057   typedef struct _CdIo CdIo_t; 
00058 
00060   typedef struct cdtext cdtext_t;
00061 
00062 #ifdef __cplusplus
00063 }
00064 #endif /* __cplusplus */
00065 
00066 /* Drive(r)/Device-related functions. Perhaps we should break out 
00067    Driver from device?
00068 */
00069 #include <cdio/device.h>
00070 
00071 /* Disc-related functions. */
00072 #include <cdio/disc.h>
00073 
00074 /* Sector (frame, or block)-related functions. Uses driver_return_code_t
00075    from <cdio/device.h> so it should come after that. 
00076 */
00077 #include <cdio/read.h>
00078 
00079 /* CD-Text-related functions. */
00080 #include <cdio/cdtext.h>
00081 
00082 /* Track-related functions. */
00083 #include <cdio/track.h>
00084 
00085 #endif /* __CDIO_H__ */

Generated on Fri Oct 27 06:38:08 2006 for libcdio by  doxygen 1.4.6