Add routines to open an ISO-9660 image independent of being part of a

CD.
This commit is contained in:
rocky
2004-01-10 03:03:08 +00:00
parent 47599c3cd7
commit 3d6e147070
10 changed files with 365 additions and 31 deletions

View File

@@ -1,8 +1,8 @@
/*
$Id: _cdio_stdio.c,v 1.4 2003/04/22 12:09:09 rocky Exp $
$Id: _cdio_stdio.c,v 1.5 2004/01/10 03:03:08 rocky Exp $
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
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
@@ -35,7 +35,7 @@
#include "_cdio_stream.h"
#include "_cdio_stdio.h"
static const char _rcsid[] = "$Id: _cdio_stdio.c,v 1.4 2003/04/22 12:09:09 rocky Exp $";
static const char _rcsid[] = "$Id: _cdio_stdio.c,v 1.5 2004/01/10 03:03:08 rocky Exp $";
#define CDIO_STDIO_BUFSIZE (128*1024)
@@ -145,7 +145,7 @@ _stdio_stat(void *user_data)
must use feof(3) and ferror(3) to determine which occurred.
*/
static long
_stdio_read(void *user_data, void *buf, long count)
_stdio_read(void *user_data, void *buf, long int count)
{
_UserData *const ud = user_data;
long read;