Closer to having WIN32 CD-ROM support
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* -*- c -*-
|
||||
$Id: cdio.h,v 1.9 2003/05/24 15:24:15 rocky Exp $
|
||||
$Id: cdio.h,v 1.10 2003/05/27 02:55:58 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -74,6 +74,7 @@ extern "C" {
|
||||
DRIVER_FREEBSD,
|
||||
DRIVER_LINUX,
|
||||
DRIVER_SOLARIS,
|
||||
DRIVER_WIN32,
|
||||
DRIVER_BINCUE, /* Prefer bincue over nrg when both exist */
|
||||
DRIVER_NRG,
|
||||
DRIVER_DEVICE /* Is really a set of the above; should come last */
|
||||
@@ -83,7 +84,7 @@ extern "C" {
|
||||
a bogus (but useful) 0th entry above we don't have to add one below.
|
||||
*/
|
||||
#define MAX_DRIVER DRIVER_NRG
|
||||
#define MAX_DEVICE_DRIVER DRIVER_SOLARIS
|
||||
#define MAX_DEVICE_DRIVER DRIVER_WIN32
|
||||
#define MIN_DEVICE_DRIVER DRIVER_BSDI
|
||||
|
||||
typedef enum {
|
||||
@@ -251,6 +252,7 @@ extern "C" {
|
||||
bool cdio_have_freebsd (void);
|
||||
bool cdio_have_linux (void);
|
||||
bool cdio_have_solaris (void);
|
||||
bool cdio_have_win32 (void);
|
||||
bool cdio_have_nrg (void);
|
||||
bool cdio_have_bincue (void);
|
||||
|
||||
@@ -310,10 +312,17 @@ extern "C" {
|
||||
/*! Solaris CD-reading routines.
|
||||
NULL is returned on error.
|
||||
*/
|
||||
CdIo * cdio_open_solaris (const char *soruce_name);
|
||||
CdIo * cdio_open_solaris (const char *source_name);
|
||||
|
||||
char * cdio_get_default_device_solaris(void);
|
||||
|
||||
/*! Win32 CD-reading routines.
|
||||
NULL is returned on error.
|
||||
*/
|
||||
CdIo * cdio_open_win32 (const char *source_name);
|
||||
|
||||
char * cdio_get_default_device_win32(void);
|
||||
|
||||
/*! Nero CD disk-image routines.
|
||||
NULL is returned on error.
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: types.h,v 1.1 2003/04/19 08:29:14 rocky Exp $
|
||||
$Id: types.h,v 1.2 2003/05/27 02:55:58 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -28,12 +28,15 @@ extern "C" {
|
||||
|
||||
/* provide some C99 definitions */
|
||||
|
||||
#if defined(HAVE_SYS_TYPES_H)
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_STDINT_H)
|
||||
# include <stdint.h>
|
||||
#elif defined(HAVE_INTTYPES_H)
|
||||
# include <inttypes.h>
|
||||
#elif defined(__CYGWIN__) || defined(AMIGA) || defined(__linux__)
|
||||
# include <sys/types.h>
|
||||
#elif defined(AMIGA) || defined(__linux__)
|
||||
typedef u_int8_t uint8_t;
|
||||
typedef u_int16_t uint16_t;
|
||||
typedef u_int32_t uint32_t;
|
||||
|
||||
Reference in New Issue
Block a user