Big change!
We now are starting to have universal MMC routines. To do this we need to have function pointers to the OS-specific MMC send/run command. Expect some breakage. Down the line though this will increase code reuse, reliabilty, and make the library more user-customizable.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: bincue.c,v 1.37 2004/07/25 18:37:09 rocky Exp $
|
||||
$Id: bincue.c,v 1.38 2004/07/26 02:54:37 rocky Exp $
|
||||
|
||||
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
@@ -26,7 +26,7 @@
|
||||
(*.cue).
|
||||
*/
|
||||
|
||||
static const char _rcsid[] = "$Id: bincue.c,v 1.37 2004/07/25 18:37:09 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: bincue.c,v 1.38 2004/07/26 02:54:37 rocky Exp $";
|
||||
|
||||
#include "image.h"
|
||||
#include "cdio_assert.h"
|
||||
@@ -1167,7 +1167,7 @@ cdio_open_cue (const char *psz_cue_name)
|
||||
_data->gen.init = false;
|
||||
_data->psz_cue_name = NULL;
|
||||
|
||||
ret = cdio_new (_data, &_funcs);
|
||||
ret = cdio_new ((void *)_data, &_funcs);
|
||||
|
||||
if (ret == NULL) {
|
||||
free(_data);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cdrdao.c,v 1.22 2004/07/25 18:37:09 rocky Exp $
|
||||
$Id: cdrdao.c,v 1.23 2004/07/26 02:54:37 rocky Exp $
|
||||
|
||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
toc reading routine adapted from cuetools
|
||||
@@ -25,7 +25,7 @@
|
||||
(*.cue).
|
||||
*/
|
||||
|
||||
static const char _rcsid[] = "$Id: cdrdao.c,v 1.22 2004/07/25 18:37:09 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: cdrdao.c,v 1.23 2004/07/26 02:54:37 rocky Exp $";
|
||||
|
||||
#include "image.h"
|
||||
#include "cdio_assert.h"
|
||||
@@ -1149,7 +1149,7 @@ cdio_open_cdrdao (const char *psz_cue_name)
|
||||
_data->gen.data_source = NULL;
|
||||
_data->gen.source_name = NULL;
|
||||
|
||||
ret = cdio_new (_data, &_funcs);
|
||||
ret = cdio_new ((void *)_data, &_funcs);
|
||||
|
||||
if (ret == NULL) {
|
||||
free(_data);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: nrg.c,v 1.34 2004/07/25 18:37:09 rocky Exp $
|
||||
$Id: nrg.c,v 1.35 2004/07/26 02:54:37 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001, 2003 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
@@ -45,7 +45,7 @@
|
||||
#include "_cdio_stdio.h"
|
||||
#include "nrg.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: nrg.c,v 1.34 2004/07/25 18:37:09 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: nrg.c,v 1.35 2004/07/26 02:54:37 rocky Exp $";
|
||||
|
||||
|
||||
/* reader */
|
||||
@@ -1220,7 +1220,7 @@ cdio_open_nrg (const char *psz_source)
|
||||
_data->is_dao = false;
|
||||
_data->is_cues = false; /* FIXME: remove is_cues. */
|
||||
|
||||
ret = cdio_new (_data, &_funcs);
|
||||
ret = cdio_new ((void *)_data, &_funcs);
|
||||
|
||||
if (ret == NULL) {
|
||||
free(_data);
|
||||
|
||||
Reference in New Issue
Block a user