iso_directory_record_t -> iso9660_dir_t
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: iso9660.c,v 1.4 2003/08/31 01:40:00 rocky Exp $
|
||||
$Id: iso9660.c,v 1.5 2003/08/31 02:51:41 rocky Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "cdio_assert.h"
|
||||
#include "bytesex.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: iso9660.c,v 1.4 2003/08/31 01:40:00 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: iso9660.c,v 1.5 2003/08/31 02:51:41 rocky Exp $";
|
||||
|
||||
/* some parameters... */
|
||||
#define SYSTEM_ID "CD-RTOS CD-BRIDGE"
|
||||
@@ -648,7 +648,7 @@ iso9660_pathname_isofy (const char pathname[], uint16_t version)
|
||||
|
||||
#if FIXME
|
||||
lsn_t
|
||||
iso9660_get_dir_extent(const iso_directory_record_t *idr)
|
||||
iso9660_get_dir_extent(const iso9660_dir_t *idr)
|
||||
{
|
||||
if (NULL == idr) return 0;
|
||||
return from_733(idr->extent);
|
||||
@@ -656,7 +656,7 @@ iso9660_get_dir_extent(const iso_directory_record_t *idr)
|
||||
#endif
|
||||
|
||||
uint8_t
|
||||
iso9660_get_dir_len(const iso_directory_record_t *idr)
|
||||
iso9660_get_dir_len(const iso9660_dir_t *idr)
|
||||
{
|
||||
if (NULL == idr) return 0;
|
||||
return idr->length;
|
||||
@@ -664,7 +664,7 @@ iso9660_get_dir_len(const iso_directory_record_t *idr)
|
||||
|
||||
#if FIXME
|
||||
uint8_t
|
||||
iso9660_get_dir_size(const iso_directory_record_t *idr)
|
||||
iso9660_get_dir_size(const iso9660_dir_t *idr)
|
||||
{
|
||||
if (NULL == idr) return 0;
|
||||
return from_733(idr->size);
|
||||
@@ -712,7 +712,7 @@ iso9660_get_root_lsn(const iso9660_pvd_t *pvd)
|
||||
if (NULL == pvd)
|
||||
return CDIO_INVALID_LSN;
|
||||
else {
|
||||
iso_directory_record_t *idr = (void *) pvd->root_directory_record;
|
||||
iso9660_dir_t *idr = (void *) pvd->root_directory_record;
|
||||
if (NULL == idr) return CDIO_INVALID_LSN;
|
||||
return(from_733 (idr->extent));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user