iso9660_iso_... -> iso9660_ifs_...
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: iso9660.h,v 1.42 2004/06/19 00:10:23 rocky Exp $
|
$Id: iso9660.h,v 1.43 2004/06/19 00:15:44 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
@@ -297,7 +297,7 @@ typedef struct _iso9660 iso9660_t;
|
|||||||
Read the Primary Volume Descriptor for an ISO 9660 image.
|
Read the Primary Volume Descriptor for an ISO 9660 image.
|
||||||
True is returned if read, and false if there was an error.
|
True is returned if read, and false if there was an error.
|
||||||
*/
|
*/
|
||||||
bool iso9660_iso_read_pvd (iso9660_t *p_iso, iso9660_pvd_t *p_pvd);
|
bool iso9660_ifs_read_pvd (iso9660_t *p_iso, iso9660_pvd_t *p_pvd);
|
||||||
|
|
||||||
/*====================================================
|
/*====================================================
|
||||||
Time conversion
|
Time conversion
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: iso9660_fs.c,v 1.20 2004/06/19 00:10:23 rocky Exp $
|
$Id: iso9660_fs.c,v 1.21 2004/06/19 00:15:44 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
static const char _rcsid[] = "$Id: iso9660_fs.c,v 1.20 2004/06/19 00:10:23 rocky Exp $";
|
static const char _rcsid[] = "$Id: iso9660_fs.c,v 1.21 2004/06/19 00:15:44 rocky Exp $";
|
||||||
|
|
||||||
/* Implementation of iso9660_t type */
|
/* Implementation of iso9660_t type */
|
||||||
struct _iso9660 {
|
struct _iso9660 {
|
||||||
@@ -88,7 +88,7 @@ iso9660_close (iso9660_t *p_iso)
|
|||||||
/*!
|
/*!
|
||||||
Read the Primary Volume Descriptor for an ISO 9660 image.
|
Read the Primary Volume Descriptor for an ISO 9660 image.
|
||||||
*/
|
*/
|
||||||
bool iso9660_iso_read_pvd (iso9660_t *p_iso, iso9660_pvd_t *p_pvd)
|
bool iso9660_ifs_read_pvd (iso9660_t *p_iso, iso9660_pvd_t *p_pvd)
|
||||||
{
|
{
|
||||||
if (0 == iso9660_iso_seek_read (p_iso, p_pvd, ISO_PVD_SECTOR, 1)) {
|
if (0 == iso9660_iso_seek_read (p_iso, p_pvd, ISO_PVD_SECTOR, 1)) {
|
||||||
cdio_warn ("error reading PVD sector (%d)", ISO_PVD_SECTOR);
|
cdio_warn ("error reading PVD sector (%d)", ISO_PVD_SECTOR);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: iso-info.c,v 1.6 2004/06/19 00:10:23 rocky Exp $
|
$Id: iso-info.c,v 1.7 2004/06/19 00:15:44 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -284,7 +284,7 @@ main(int argc, const char *argv[])
|
|||||||
|
|
||||||
printf(STRONG "ISO 9660 image: %s\n", source_name);
|
printf(STRONG "ISO 9660 image: %s\n", source_name);
|
||||||
|
|
||||||
if (iso9660_iso_read_pvd(p_iso, &pvd)) {
|
if (iso9660_ifs_read_pvd(p_iso, &pvd)) {
|
||||||
printf("Application ID: %s\n", iso9660_get_application_id(&pvd));
|
printf("Application ID: %s\n", iso9660_get_application_id(&pvd));
|
||||||
printf("System ID : %s\n", iso9660_get_system_id(&pvd));
|
printf("System ID : %s\n", iso9660_get_system_id(&pvd));
|
||||||
printf("Volume ID : %s\n", iso9660_get_volume_id(&pvd));
|
printf("Volume ID : %s\n", iso9660_get_volume_id(&pvd));
|
||||||
|
|||||||
Reference in New Issue
Block a user