This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
libcdio-osx/include/cdio/cdio.h

86 lines
2.2 KiB
C
Raw Normal View History

2003-04-21 10:17:50 +00:00
/* -*- c -*-
$Id: cdio.h,v 1.80 2005/02/10 01:59:05 rocky Exp $
2003-03-24 19:01:09 +00:00
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
2003-03-24 19:01:09 +00:00
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
2003-11-17 12:06:56 +00:00
/** \file cdio.h
2005-01-29 20:54:20 +00:00
*
* \brief The top-level header for libcdio: the CD Input and Control
* library. Applications include this for anything regarding libcdio.
2003-11-17 12:06:56 +00:00
*/
2003-03-24 19:01:09 +00:00
#ifndef __CDIO_H__
#define __CDIO_H__
2003-11-04 12:28:08 +00:00
/** Application Interface or Protocol version number. If the public
* interface changes, we increase this number.
2003-04-19 09:02:30 +00:00
*/
#define CDIO_API_VERSION 5
2003-04-19 09:02:30 +00:00
#include <cdio/version.h>
2003-04-19 09:13:06 +00:00
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <cdio/types.h>
#include <cdio/sector.h>
2003-03-24 19:01:09 +00:00
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* For compatability. */
#define CdIo CdIo_t
/** This is an opaque structure for the CD object. */
typedef struct _CdIo CdIo_t;
2003-03-24 19:01:09 +00:00
2004-09-04 23:49:47 +00:00
/** This is an opaque structure for the CD-Text object. */
typedef struct cdtext cdtext_t;
2003-03-24 19:01:09 +00:00
#ifdef __cplusplus
}
#endif /* __cplusplus */
/* Drive(r)/Device-related functions. Perhaps we should break out
Driver from device?
*/
#include <cdio/device.h>
/* Disc-related functions. */
#include <cdio/disc.h>
/* Sector (frame, or block)-related functions. Uses driver_return_code_t
from <cdio/device.h> so it should come after that.
*/
#include <cdio/read.h>
/* CD-Text-related functions. */
#include <cdio/cdtext.h>
/* Track-related functions. */
#include <cdio/track.h>
2003-03-24 19:01:09 +00:00
#endif /* __CDIO_H__ */