2012-01-31 01:40:22 +00:00
|
|
|
|
/* -*- c -*-
|
2014-10-31 18:52:23 +00:00
|
|
|
|
Copyright (C) 2003, 2004, 2005, 2008, 2009, 2014
|
|
|
|
|
Rocky Bernstein <rocky@gnu.org>
|
2012-01-31 01:40:22 +00:00
|
|
|
|
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
|
|
|
|
|
|
|
|
|
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 3 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, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2020-05-24 20:09:27 +00:00
|
|
|
|
/** \file cdio.h
|
2012-01-31 01:40:22 +00:00
|
|
|
|
*
|
|
|
|
|
* \brief The top-level header for libcdio: the CD Input and Control
|
|
|
|
|
* library. Applications include this for anything regarding libcdio.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __CDIO_H__
|
|
|
|
|
#define __CDIO_H__
|
|
|
|
|
|
|
|
|
|
/** Application Interface or Protocol version number. If the public
|
|
|
|
|
* interface changes, we increase this number.
|
|
|
|
|
*/
|
2012-11-04 01:33:54 +00:00
|
|
|
|
#define CDIO_API_VERSION 6
|
2012-01-31 01:40:22 +00:00
|
|
|
|
|
|
|
|
|
#include <cdio/version.h>
|
|
|
|
|
#include <cdio/types.h>
|
|
|
|
|
#include <cdio/sector.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
|
|
/* For compatibility. */
|
|
|
|
|
#define CdIo CdIo_t
|
2020-05-24 20:09:27 +00:00
|
|
|
|
|
2012-01-31 01:40:22 +00:00
|
|
|
|
/** This is an opaque structure for the CD object. */
|
2020-05-24 20:09:27 +00:00
|
|
|
|
typedef struct _CdIo CdIo_t;
|
2012-01-31 01:40:22 +00:00
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
2020-05-24 20:09:27 +00:00
|
|
|
|
/* Drive(r)/Device-related functions. Perhaps we should break out
|
2012-01-31 01:40:22 +00:00
|
|
|
|
Driver from device?
|
|
|
|
|
*/
|
|
|
|
|
#include <cdio/device.h>
|
|
|
|
|
|
2012-11-04 01:33:54 +00:00
|
|
|
|
/* CD-Text-related functions. */
|
|
|
|
|
#include <cdio/cdtext.h>
|
|
|
|
|
|
2012-01-31 01:40:22 +00:00
|
|
|
|
/* Disc-related functions. */
|
|
|
|
|
#include <cdio/disc.h>
|
|
|
|
|
|
|
|
|
|
/* Sector (frame, or block)-related functions. Uses driver_return_code_t
|
2020-05-24 20:09:27 +00:00
|
|
|
|
from <cdio/device.h> so it should come after that.
|
2012-01-31 01:40:22 +00:00
|
|
|
|
*/
|
|
|
|
|
#include <cdio/read.h>
|
|
|
|
|
|
|
|
|
|
/* Track-related functions. */
|
|
|
|
|
#include <cdio/track.h>
|
|
|
|
|
|
2014-10-31 18:52:23 +00:00
|
|
|
|
/* Memory management functions. */
|
|
|
|
|
#include <cdio/memory.h>
|
|
|
|
|
|
2012-01-31 01:40:22 +00:00
|
|
|
|
#endif /* __CDIO_H__ */
|