2003-08-17 05:31:19 +00:00
|
|
|
|
/*
|
2004-09-04 23:49:47 +00:00
|
|
|
|
$Id: iso9660.h,v 1.46 2004/09/04 23:49:47 rocky Exp $
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
2004-01-10 03:03:08 +00:00
|
|
|
|
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-01 02:08:59 +00:00
|
|
|
|
See also iso9660.h by Eric Youngdale (1993).
|
|
|
|
|
|
|
|
|
|
|
|
Copyright 1993 Yggdrasil Computing, Incorporated
|
|
|
|
|
|
Copyright (c) 1999,2000 J. Schilling
|
|
|
|
|
|
|
2003-08-17 05:31:19 +00:00
|
|
|
|
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
|
|
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
|
*/
|
2003-11-05 12:40:34 +00:00
|
|
|
|
/*!
|
2003-11-17 12:06:56 +00:00
|
|
|
|
* \file iso9660.h
|
|
|
|
|
|
* \brief Header for libiso9660: the ISO-9660 filesystem library.
|
2003-09-01 02:08:59 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
|
|
|
|
|
#ifndef __CDIO_ISO9660_H__
|
|
|
|
|
|
#define __CDIO_ISO9660_H__
|
|
|
|
|
|
|
2003-08-31 06:59:23 +00:00
|
|
|
|
#include <cdio/cdio.h>
|
2003-08-31 07:39:45 +00:00
|
|
|
|
#include <cdio/xa.h>
|
2003-08-31 06:59:23 +00:00
|
|
|
|
|
2003-09-07 18:15:26 +00:00
|
|
|
|
#include <time.h>
|
|
|
|
|
|
|
2003-09-20 12:33:14 +00:00
|
|
|
|
#define _delta(from, to) ((to) - (from) + 1)
|
|
|
|
|
|
|
2003-08-17 05:31:19 +00:00
|
|
|
|
#define MIN_TRACK_SIZE 4*75
|
|
|
|
|
|
#define MIN_ISO_SIZE MIN_TRACK_SIZE
|
|
|
|
|
|
|
2003-11-05 12:40:34 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
An ISO filename is: "abcde.eee;1" -> <filename> '.' <ext> ';' <version #>
|
|
|
|
|
|
|
2003-11-18 03:35:19 +00:00
|
|
|
|
For ISO-9660 Level 1, the maximum needed string length is:
|
2003-11-05 12:40:34 +00:00
|
|
|
|
|
|
|
|
|
|
\verbatim
|
2003-09-01 02:08:59 +00:00
|
|
|
|
30 chars (filename + ext)
|
|
|
|
|
|
+ 2 chars ('.' + ';')
|
2003-11-09 13:53:28 +00:00
|
|
|
|
+ 5 chars (strlen("32767"))
|
|
|
|
|
|
+ 1 null byte
|
2003-09-01 02:08:59 +00:00
|
|
|
|
================================
|
2003-11-09 13:53:28 +00:00
|
|
|
|
= 38 chars
|
2003-11-05 12:40:34 +00:00
|
|
|
|
\endverbatim
|
2003-09-01 02:08:59 +00:00
|
|
|
|
*/
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! size in bytes of the filename portion + null byte */
|
|
|
|
|
|
#define LEN_ISONAME 31
|
|
|
|
|
|
|
|
|
|
|
|
/*! Max # characters in the entire ISO 9660 filename. */
|
|
|
|
|
|
#define MAX_ISONAME 37
|
|
|
|
|
|
|
|
|
|
|
|
/*! Max # characters in the entire ISO 9660 filename. */
|
2003-08-17 05:31:19 +00:00
|
|
|
|
#define MAX_ISOPATHNAME 255
|
|
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! Max # characters in an perparer id. */
|
2004-06-18 23:00:05 +00:00
|
|
|
|
#define ISO_MAX_PREPARER_ID 128
|
|
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! Max # characters in an publisher id. */
|
2004-06-18 23:00:05 +00:00
|
|
|
|
#define ISO_MAX_PUBLISHER_ID 128
|
|
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! Max # characters in an application id. */
|
2004-06-18 23:00:05 +00:00
|
|
|
|
#define ISO_MAX_APPLICATION_ID 128
|
|
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! Max # characters in an system id. */
|
2004-06-18 23:00:05 +00:00
|
|
|
|
#define ISO_MAX_SYSTEM_ID 32
|
|
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! Max # characters in an volume id. */
|
2004-06-18 23:00:05 +00:00
|
|
|
|
#define ISO_MAX_VOLUME_ID 32
|
|
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! Max # characters in an volume-set id. */
|
2004-06-18 23:00:05 +00:00
|
|
|
|
#define ISO_MAX_VOLUMESET_ID 128
|
|
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/**! ISO 9660 directory flags. */
|
2003-11-05 12:40:34 +00:00
|
|
|
|
#define ISO_FILE 0 /**< Not really a flag... */
|
|
|
|
|
|
#define ISO_EXISTENCE 1 /**< Do not make existence known (hidden) */
|
|
|
|
|
|
#define ISO_DIRECTORY 2 /**< This file is a directory */
|
|
|
|
|
|
#define ISO_ASSOCIATED 4 /**< This file is an associated file */
|
|
|
|
|
|
#define ISO_RECORD 8 /**< Record format in extended attr. != 0 */
|
|
|
|
|
|
#define ISO_PROTECTION 16 /**< No read/execute perm. in ext. attr. */
|
|
|
|
|
|
#define ISO_DRESERVED1 32 /**< Reserved bit 5 */
|
|
|
|
|
|
#define ISO_DRESERVED2 64 /**< Reserved bit 6 */
|
|
|
|
|
|
#define ISO_MULTIEXTENT 128 /**< Not final entry of a mult. ext. file */
|
2003-09-01 02:08:59 +00:00
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/**! Volume descriptor types */
|
2003-09-01 02:08:59 +00:00
|
|
|
|
#define ISO_VD_PRIMARY 1
|
2003-11-05 12:40:34 +00:00
|
|
|
|
#define ISO_VD_SUPPLEMENTARY 2 /**< Used by Joliet */
|
2003-09-01 02:08:59 +00:00
|
|
|
|
#define ISO_VD_END 255
|
|
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! Sector of Primary Volume Descriptor */
|
|
|
|
|
|
#define ISO_PVD_SECTOR 16
|
|
|
|
|
|
|
|
|
|
|
|
/*! Sector of End Volume Descriptor */
|
|
|
|
|
|
#define ISO_EVD_SECTOR 17
|
|
|
|
|
|
|
|
|
|
|
|
/*! String inside track identifying an ISO 9660 filesystem. */
|
|
|
|
|
|
#define ISO_STANDARD_ID "CD001"
|
|
|
|
|
|
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2004-09-04 23:49:47 +00:00
|
|
|
|
/*! Number of bytes in an ISO 9660 block */
|
|
|
|
|
|
#define ISO_BLOCKSIZE 2048
|
2003-08-31 03:35:36 +00:00
|
|
|
|
|
2003-09-10 08:31:19 +00:00
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
2003-08-17 05:31:19 +00:00
|
|
|
|
enum strncpy_pad_check {
|
|
|
|
|
|
ISO9660_NOCHECK = 0,
|
|
|
|
|
|
ISO9660_7BIT,
|
|
|
|
|
|
ISO9660_ACHARS,
|
|
|
|
|
|
ISO9660_DCHARS
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2003-08-31 05:00:44 +00:00
|
|
|
|
PRAGMA_BEGIN_PACKED
|
|
|
|
|
|
|
2003-11-18 03:35:19 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
\brief ISO-9660 shorter-format time structure.
|
|
|
|
|
|
|
|
|
|
|
|
@see iso9660_dtime
|
|
|
|
|
|
*/
|
2003-09-20 11:53:09 +00:00
|
|
|
|
struct iso9660_dtime {
|
|
|
|
|
|
uint8_t dt_year;
|
2003-11-05 12:40:34 +00:00
|
|
|
|
uint8_t dt_month; /**< Has value in range 1..12. Note starts
|
|
|
|
|
|
at 1, not 0 like a tm struct. */
|
2003-09-20 11:53:09 +00:00
|
|
|
|
uint8_t dt_day;
|
|
|
|
|
|
uint8_t dt_hour;
|
|
|
|
|
|
uint8_t dt_minute;
|
|
|
|
|
|
uint8_t dt_second;
|
2003-11-05 12:40:34 +00:00
|
|
|
|
int8_t dt_gmtoff; /**< GMT values -48 .. + 52 in 15 minute
|
|
|
|
|
|
intervals */
|
2003-09-20 11:53:09 +00:00
|
|
|
|
} GNUC_PACKED;
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct iso9660_dtime iso9660_dtime_t;
|
|
|
|
|
|
|
2003-11-18 03:35:19 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
\brief ISO-9660 longer-format time structure.
|
|
|
|
|
|
|
|
|
|
|
|
@see iso9660_ltime
|
2003-11-04 04:45:24 +00:00
|
|
|
|
*/
|
2003-09-20 12:33:14 +00:00
|
|
|
|
struct iso9660_ltime {
|
2003-11-05 12:40:34 +00:00
|
|
|
|
char lt_year [_delta( 1, 4)]; /**< Add 1900 to value
|
|
|
|
|
|
for the Julian
|
|
|
|
|
|
year */
|
|
|
|
|
|
char lt_month [_delta( 5, 6)]; /**< Has value in range
|
|
|
|
|
|
1..12. Note starts
|
|
|
|
|
|
at 1, not 0 like a
|
|
|
|
|
|
tm struct. */
|
2003-09-20 12:33:14 +00:00
|
|
|
|
char lt_day [_delta( 7, 8)];
|
|
|
|
|
|
char lt_hour [_delta( 9, 10)];
|
|
|
|
|
|
char lt_minute [_delta( 11, 12)];
|
|
|
|
|
|
char lt_second [_delta( 13, 14)];
|
2003-11-05 12:40:34 +00:00
|
|
|
|
char lt_hsecond [_delta( 15, 16)]; /**<! The value is in
|
|
|
|
|
|
units of 1/100's of
|
|
|
|
|
|
a second */
|
2003-09-20 12:33:14 +00:00
|
|
|
|
int8_t lt_gmtoff [_delta( 17, 17)];
|
|
|
|
|
|
} GNUC_PACKED;
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct iso9660_ltime iso9660_ltime_t;
|
|
|
|
|
|
|
2003-11-18 03:35:19 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
\brief ISO-9660 Primary Volume Descriptor.
|
2003-09-01 02:08:59 +00:00
|
|
|
|
*/
|
2003-09-01 16:02:13 +00:00
|
|
|
|
struct iso9660_pvd {
|
2004-06-18 23:00:05 +00:00
|
|
|
|
uint8_t type; /**< 711 encoded */
|
2003-09-20 12:33:14 +00:00
|
|
|
|
char id[5];
|
2004-06-18 23:00:05 +00:00
|
|
|
|
uint8_t version; /**< 711 encoded */
|
2003-09-20 12:33:14 +00:00
|
|
|
|
char unused1[1];
|
2004-06-18 23:00:05 +00:00
|
|
|
|
char system_id[ISO_MAX_SYSTEM_ID]; /**< each char is an achar */
|
|
|
|
|
|
char volume_id[ISO_MAX_VOLUME_ID]; /**< each char is a dchar */
|
2003-09-20 12:33:14 +00:00
|
|
|
|
char unused2[8];
|
2004-06-18 23:00:05 +00:00
|
|
|
|
uint64_t volume_space_size; /**< 733 encoded */
|
2004-06-29 02:01:24 +00:00
|
|
|
|
char unused3[32];
|
2004-06-18 23:00:05 +00:00
|
|
|
|
uint32_t volume_set_size; /**< 723 encoded */
|
|
|
|
|
|
uint32_t volume_sequence_number; /**< 723 encoded */
|
|
|
|
|
|
uint32_t logical_block_size; /**< 723 encoded */
|
|
|
|
|
|
uint64_t path_table_size; /**< 733 encoded */
|
|
|
|
|
|
uint32_t type_l_path_table; /**< 731 encoded */
|
|
|
|
|
|
uint32_t opt_type_l_path_table; /**< 731 encoded */
|
|
|
|
|
|
uint32_t type_m_path_table; /**< 732 encoded */
|
|
|
|
|
|
uint32_t opt_type_m_path_table; /**< 732 encoded */
|
|
|
|
|
|
char root_directory_record[34]; /**< See section 9.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
char volume_set_id[ISO_MAX_VOLUMESET_ID]; /**< dchars */
|
|
|
|
|
|
char publisher_id[ISO_MAX_PUBLISHER_ID]; /**< achars */
|
|
|
|
|
|
char preparer_id[ISO_MAX_PREPARER_ID]; /**< achars */
|
|
|
|
|
|
char application_id[ISO_MAX_APPLICATION_ID]; /**< achars */
|
2003-11-05 12:40:34 +00:00
|
|
|
|
char copyright_file_id[37]; /**< See section 7.5 of
|
|
|
|
|
|
ISO 9660 spec. Each char is
|
|
|
|
|
|
a dchar */
|
|
|
|
|
|
char abstract_file_id[37]; /**< See section 7.5 of
|
|
|
|
|
|
ISO 9660 spec. Each char is
|
|
|
|
|
|
a dchar */
|
|
|
|
|
|
char bibliographic_file_id[37]; /**< See section 7.5 of
|
|
|
|
|
|
ISO 9660 spec. Each char is
|
|
|
|
|
|
a dchar. */
|
|
|
|
|
|
iso9660_ltime_t creation_date; /**< See section 8.4.26.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
iso9660_ltime_t modification_date; /**< See section 8.4.26.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
iso9660_ltime_t expiration_date; /**< See section 8.4.26.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
iso9660_ltime_t effective_date; /**< See section 8.4.26.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
uint8_t file_structure_version; /**< 711 encoded */
|
2003-09-20 12:33:14 +00:00
|
|
|
|
char unused4[1];
|
|
|
|
|
|
char application_data[512];
|
|
|
|
|
|
char unused5[653];
|
2003-09-01 16:02:13 +00:00
|
|
|
|
} GNUC_PACKED;
|
2003-09-01 02:08:59 +00:00
|
|
|
|
|
2004-06-29 02:01:24 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
\brief ISO-9660 Supplimentary Volume Descriptor.
|
|
|
|
|
|
|
|
|
|
|
|
This is used for Joliet Extentions and is almost the same as the
|
|
|
|
|
|
the primary descriptor but two unused fields, "unused1" and "unused3
|
|
|
|
|
|
become "flags and "escape_sequences" respectively.
|
|
|
|
|
|
*/
|
|
|
|
|
|
struct iso9660_svd {
|
|
|
|
|
|
uint8_t type; /**< 711 encoded */
|
|
|
|
|
|
char id[5];
|
|
|
|
|
|
uint8_t version; /**< 711 encoded */
|
|
|
|
|
|
char flags; /**< 853 */
|
|
|
|
|
|
char system_id[ISO_MAX_SYSTEM_ID]; /**< each char is an achar */
|
|
|
|
|
|
char volume_id[ISO_MAX_VOLUME_ID]; /**< each char is a dchar */
|
|
|
|
|
|
char unused2[8];
|
|
|
|
|
|
uint64_t volume_space_size; /**< 733 encoded */
|
|
|
|
|
|
char escape_sequences[32]; /**< 856 */
|
|
|
|
|
|
uint32_t volume_set_size; /**< 723 encoded */
|
|
|
|
|
|
uint32_t volume_sequence_number; /**< 723 encoded */
|
|
|
|
|
|
uint32_t logical_block_size; /**< 723 encoded */
|
|
|
|
|
|
uint64_t path_table_size; /**< 733 encoded */
|
|
|
|
|
|
uint32_t type_l_path_table; /**< 731 encoded */
|
|
|
|
|
|
uint32_t opt_type_l_path_table; /**< 731 encoded */
|
|
|
|
|
|
uint32_t type_m_path_table; /**< 732 encoded */
|
|
|
|
|
|
uint32_t opt_type_m_path_table; /**< 732 encoded */
|
|
|
|
|
|
char root_directory_record[34]; /**< See section 9.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
char volume_set_id[ISO_MAX_VOLUMESET_ID]; /**< dchars */
|
|
|
|
|
|
char publisher_id[ISO_MAX_PUBLISHER_ID]; /**< achars */
|
|
|
|
|
|
char preparer_id[ISO_MAX_PREPARER_ID]; /**< achars */
|
|
|
|
|
|
char application_id[ISO_MAX_APPLICATION_ID]; /**< achars */
|
|
|
|
|
|
char copyright_file_id[37]; /**< See section 7.5 of
|
|
|
|
|
|
ISO 9660 spec. Each char is
|
|
|
|
|
|
a dchar */
|
|
|
|
|
|
char abstract_file_id[37]; /**< See section 7.5 of
|
|
|
|
|
|
ISO 9660 spec. Each char is
|
|
|
|
|
|
a dchar */
|
|
|
|
|
|
char bibliographic_file_id[37]; /**< See section 7.5 of
|
|
|
|
|
|
ISO 9660 spec. Each char is
|
|
|
|
|
|
a dchar. */
|
|
|
|
|
|
iso9660_ltime_t creation_date; /**< See section 8.4.26.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
iso9660_ltime_t modification_date; /**< See section 8.4.26.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
iso9660_ltime_t expiration_date; /**< See section 8.4.26.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
iso9660_ltime_t effective_date; /**< See section 8.4.26.1 of
|
|
|
|
|
|
ISO 9660 spec. */
|
|
|
|
|
|
uint8_t file_structure_version; /**< 711 encoded */
|
|
|
|
|
|
char unused4[1];
|
|
|
|
|
|
char application_data[512];
|
|
|
|
|
|
char unused5[653];
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2003-09-01 02:08:59 +00:00
|
|
|
|
typedef struct iso9660_dir iso9660_dir_t;
|
2003-09-01 16:02:13 +00:00
|
|
|
|
typedef struct iso9660_pvd iso9660_pvd_t;
|
2004-06-29 02:01:24 +00:00
|
|
|
|
typedef struct iso9660_svd iso9660_svd_t;
|
2003-09-07 18:15:26 +00:00
|
|
|
|
typedef struct iso9660_stat iso9660_stat_t;
|
2003-08-31 05:00:44 +00:00
|
|
|
|
|
2003-08-31 09:32:24 +00:00
|
|
|
|
#ifndef EMPTY_ARRAY_SIZE
|
|
|
|
|
|
#define EMPTY_ARRAY_SIZE 0
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
2003-09-01 02:08:59 +00:00
|
|
|
|
|
2003-11-18 03:35:19 +00:00
|
|
|
|
/*! \brief Format of an ISO-9660 directory record
|
|
|
|
|
|
|
|
|
|
|
|
This structure may have an odd length depending on how many
|
|
|
|
|
|
characters there are in the filename! Some compilers (e.g. on
|
|
|
|
|
|
Sun3/mc68020) pad the structures to an even length. For this reason,
|
|
|
|
|
|
we cannot use sizeof (struct iso_path_table) or sizeof (struct
|
|
|
|
|
|
iso_directory_record) to compute on disk sizes. Instead, we use
|
|
|
|
|
|
offsetof(..., name) and add the name size. See mkisofs.h of the
|
|
|
|
|
|
cdrtools package.
|
|
|
|
|
|
|
|
|
|
|
|
@see iso9660_stat
|
|
|
|
|
|
*/
|
2003-08-31 05:00:44 +00:00
|
|
|
|
struct iso9660_dir {
|
2003-11-05 12:40:34 +00:00
|
|
|
|
uint8_t length; /*! 711 encoded */
|
|
|
|
|
|
uint8_t xa_length; /*! 711 encoded */
|
|
|
|
|
|
uint64_t extent; /*! 733 encoded */
|
|
|
|
|
|
uint64_t size; /*! 733 encoded */
|
|
|
|
|
|
iso9660_dtime_t recording_time; /*! 7 711-encoded units */
|
2003-09-21 01:14:30 +00:00
|
|
|
|
uint8_t file_flags;
|
2003-11-05 12:40:34 +00:00
|
|
|
|
uint8_t file_unit_size; /*! 711 encoded */
|
|
|
|
|
|
uint8_t interleave_gap; /*! 711 encoded */
|
|
|
|
|
|
uint32_t volume_sequence_number; /*! 723 encoded */
|
|
|
|
|
|
uint8_t filename_len; /*! 711 encoded */
|
2003-09-21 01:14:30 +00:00
|
|
|
|
char filename[EMPTY_ARRAY_SIZE];
|
2003-08-31 05:00:44 +00:00
|
|
|
|
} GNUC_PACKED;
|
|
|
|
|
|
|
2003-09-21 01:14:30 +00:00
|
|
|
|
|
2004-01-18 15:07:57 +00:00
|
|
|
|
PRAGMA_END_PACKED
|
|
|
|
|
|
|
2003-11-18 03:35:19 +00:00
|
|
|
|
/*! \brief Unix stat-like version of iso9660_dir
|
|
|
|
|
|
|
|
|
|
|
|
The iso9660_stat structure is not part of the ISO-9660
|
|
|
|
|
|
specification. We use it for our to communicate information
|
|
|
|
|
|
in a C-library friendly way, e.g struct tm time structures and
|
|
|
|
|
|
a C-style filename string.
|
|
|
|
|
|
|
|
|
|
|
|
@see iso9660_dir
|
2003-09-21 01:14:30 +00:00
|
|
|
|
*/
|
2003-09-07 18:15:26 +00:00
|
|
|
|
struct iso9660_stat { /* big endian!! */
|
2004-01-18 02:11:14 +00:00
|
|
|
|
struct tm tm; /**< time on entry */
|
2003-11-05 12:40:34 +00:00
|
|
|
|
lsn_t lsn; /**< start logical sector number */
|
|
|
|
|
|
uint32_t size; /**< total size in bytes */
|
|
|
|
|
|
uint32_t secsize; /**< number of sectors allocated */
|
|
|
|
|
|
iso9660_xa_t xa; /**< XA attributes */
|
2004-01-18 02:11:14 +00:00
|
|
|
|
enum { _STAT_FILE = 1, _STAT_DIR = 2 } type;
|
2003-11-16 19:30:45 +00:00
|
|
|
|
char filename[EMPTY_ARRAY_SIZE]; /**< filename */
|
2004-01-18 15:07:57 +00:00
|
|
|
|
};
|
2003-08-31 01:01:39 +00:00
|
|
|
|
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2004-01-10 03:03:08 +00:00
|
|
|
|
/** This is an opaque structure. */
|
|
|
|
|
|
typedef struct _iso9660 iso9660_t;
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Open an ISO 9660 image for reading. Maybe in the future we will have
|
|
|
|
|
|
flags and mode. NULL is returned on error.
|
|
|
|
|
|
*/
|
|
|
|
|
|
iso9660_t *iso9660_open (const char *pathname /*flags, mode */);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Close previously opened ISO 9660 image.
|
|
|
|
|
|
True is unconditionally returned. If there was an error false would
|
|
|
|
|
|
be returned.
|
|
|
|
|
|
*/
|
2004-06-19 00:10:23 +00:00
|
|
|
|
bool iso9660_close (iso9660_t * p_iso);
|
2004-01-10 03:03:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Seek to a position and then read n bytes. Size read is returned.
|
|
|
|
|
|
*/
|
2004-06-19 02:27:19 +00:00
|
|
|
|
long int iso9660_iso_seek_read (const iso9660_t *p_iso, void *ptr,
|
|
|
|
|
|
lsn_t start, long int size);
|
2004-01-10 03:03:08 +00:00
|
|
|
|
|
2004-06-19 00:10:23 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Read the Primary Volume Descriptor for an ISO 9660 image.
|
|
|
|
|
|
True is returned if read, and false if there was an error.
|
|
|
|
|
|
*/
|
2004-06-19 02:27:19 +00:00
|
|
|
|
bool iso9660_ifs_read_pvd (const iso9660_t *p_iso,
|
|
|
|
|
|
/*out*/ iso9660_pvd_t *p_pvd);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Read the Primary Volume Descriptor for a CD.
|
|
|
|
|
|
True is returned if read, and false if there was an error.
|
|
|
|
|
|
*/
|
|
|
|
|
|
bool iso9660_fs_read_mode2_pvd (const CdIo *p_cdio,
|
|
|
|
|
|
/*out*/ iso9660_pvd_t *p_pvd,
|
|
|
|
|
|
bool b_form2);
|
2004-06-19 00:10:23 +00:00
|
|
|
|
|
2003-11-09 13:53:28 +00:00
|
|
|
|
/*====================================================
|
|
|
|
|
|
Time conversion
|
|
|
|
|
|
====================================================*/
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Set time in format used in ISO 9660 directory index record
|
|
|
|
|
|
from a Unix time structure. */
|
|
|
|
|
|
void iso9660_set_dtime (const struct tm *tm,
|
|
|
|
|
|
/*out*/ iso9660_dtime_t *idr_date);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Set "long" time in format used in ISO 9660 primary volume descriptor
|
|
|
|
|
|
from a Unix time structure. */
|
|
|
|
|
|
void iso9660_set_ltime (const struct tm *_tm,
|
2004-06-19 00:10:23 +00:00
|
|
|
|
/*out*/ iso9660_ltime_t *p_pvd_date);
|
2003-11-09 13:53:28 +00:00
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Get Unix time structure from format use in an ISO 9660 directory index
|
|
|
|
|
|
record. Even though tm_wday and tm_yday fields are not explicitly in
|
|
|
|
|
|
idr_date, they are calculated from the other fields.
|
|
|
|
|
|
|
|
|
|
|
|
If tm is to reflect the localtime, set "use_localtime" true, otherwise
|
|
|
|
|
|
tm will reported in GMT.
|
|
|
|
|
|
*/
|
|
|
|
|
|
void iso9660_get_dtime (const iso9660_dtime_t *idr_date, bool use_localtime,
|
|
|
|
|
|
/*out*/ struct tm *tm);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*====================================================
|
|
|
|
|
|
Characters used in file and directory and manipulation
|
|
|
|
|
|
====================================================*/
|
2003-09-01 15:10:43 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Return true if c is a DCHAR - a character that can appear in an an
|
|
|
|
|
|
ISO-9600 level 1 directory name. These are the ASCII capital
|
|
|
|
|
|
letters A-Z, the digits 0-9 and an underscore.
|
|
|
|
|
|
*/
|
|
|
|
|
|
bool iso9660_isdchar (int c);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-01 15:10:43 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Return true if c is an ACHAR -
|
|
|
|
|
|
These are the DCHAR's plus some ASCII symbols including the space
|
|
|
|
|
|
symbol.
|
|
|
|
|
|
*/
|
|
|
|
|
|
bool iso9660_isachar (int c);
|
|
|
|
|
|
|
2003-09-06 14:50:50 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Convert ISO-9660 file name that stored in a directory entry into
|
|
|
|
|
|
what's usually listed as the file name in a listing.
|
|
|
|
|
|
Lowercase name, and drop deal with trailing ;1's or .;1's or
|
|
|
|
|
|
; version numbers.
|
|
|
|
|
|
|
|
|
|
|
|
The length of the translated string is returned.
|
|
|
|
|
|
*/
|
2004-05-04 01:32:49 +00:00
|
|
|
|
int iso9660_name_translate(const char *oldname, char *newname);
|
2003-09-06 14:50:50 +00:00
|
|
|
|
|
2003-09-01 15:10:43 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Pad string src with spaces to size len and copy this to dst. If
|
|
|
|
|
|
len is less than the length of src, dst will be truncated to the
|
|
|
|
|
|
first len characters of src.
|
|
|
|
|
|
|
|
|
|
|
|
src can also be scanned to see if it contains only ACHARs, DCHARs,
|
|
|
|
|
|
7-bit ASCII chars depending on the enumeration _check.
|
|
|
|
|
|
|
|
|
|
|
|
In addition to getting changed, dst is the return value.
|
|
|
|
|
|
Note: this string might not be NULL terminated.
|
|
|
|
|
|
*/
|
|
|
|
|
|
char *iso9660_strncpy_pad(char dst[], const char src[], size_t len,
|
|
|
|
|
|
enum strncpy_pad_check _check);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-01 15:10:43 +00:00
|
|
|
|
/*=====================================================================
|
|
|
|
|
|
file/dirname's
|
|
|
|
|
|
======================================================================*/
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-01 15:10:43 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Check that pathname is a valid ISO-9660 directory name.
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-01 15:10:43 +00:00
|
|
|
|
A valid directory name should not start out with a slash (/),
|
|
|
|
|
|
dot (.) or null byte, should be less than 37 characters long,
|
|
|
|
|
|
have no more than 8 characters in a directory component
|
|
|
|
|
|
which is separated by a /, and consist of only DCHARs.
|
|
|
|
|
|
|
|
|
|
|
|
True is returned if pathname is valid.
|
|
|
|
|
|
*/
|
|
|
|
|
|
bool iso9660_dirname_valid_p (const char pathname[]);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Take pathname and a version number and turn that into a ISO-9660
|
|
|
|
|
|
pathname. (That's just the pathname followd by ";" and the version
|
2003-12-24 11:03:58 +00:00
|
|
|
|
number. For example, mydir/file.ext -> MYDIR/FILE.EXT;1 for version
|
2003-09-01 15:10:43 +00:00
|
|
|
|
1. The resulting ISO-9660 pathname is returned.
|
|
|
|
|
|
*/
|
|
|
|
|
|
char *iso9660_pathname_isofy (const char pathname[], uint16_t version);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Check that pathname is a valid ISO-9660 pathname.
|
|
|
|
|
|
|
|
|
|
|
|
A valid pathname contains a valid directory name, if one appears and
|
|
|
|
|
|
the filename portion should be no more than 8 characters for the
|
|
|
|
|
|
file prefix and 3 characters in the extension (or portion after a
|
|
|
|
|
|
dot). There should be exactly one dot somewhere in the filename
|
|
|
|
|
|
portion and the filename should be composed of only DCHARs.
|
|
|
|
|
|
|
|
|
|
|
|
True is returned if pathname is valid.
|
|
|
|
|
|
*/
|
|
|
|
|
|
bool iso9660_pathname_valid_p (const char pathname[]);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-01 15:10:43 +00:00
|
|
|
|
/*=====================================================================
|
|
|
|
|
|
directory tree
|
|
|
|
|
|
======================================================================*/
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
|
iso9660_dir_init_new (void *dir, uint32_t self, uint32_t ssize,
|
2003-09-07 18:15:26 +00:00
|
|
|
|
uint32_t parent, uint32_t psize,
|
|
|
|
|
|
const time_t *dir_time);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
|
iso9660_dir_init_new_su (void *dir, uint32_t self, uint32_t ssize,
|
2003-09-01 15:10:43 +00:00
|
|
|
|
const void *ssu_data, unsigned int ssu_size,
|
2003-08-17 05:31:19 +00:00
|
|
|
|
uint32_t parent, uint32_t psize,
|
2003-09-07 18:15:26 +00:00
|
|
|
|
const void *psu_data, unsigned int psu_size,
|
|
|
|
|
|
const time_t *dir_time);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
|
|
|
|
|
void
|
2003-09-21 01:14:30 +00:00
|
|
|
|
iso9660_dir_add_entry_su (void *dir, const char filename[], uint32_t extent,
|
|
|
|
|
|
uint32_t size, uint8_t file_flags,
|
|
|
|
|
|
const void *su_data,
|
2003-09-07 18:15:26 +00:00
|
|
|
|
unsigned int su_size, const time_t *entry_time);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-01 15:10:43 +00:00
|
|
|
|
unsigned int
|
|
|
|
|
|
iso9660_dir_calc_record_size (unsigned int namelen, unsigned int su_len);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-05 22:48:16 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Given a directory pointer, find the filesystem entry that contains
|
2003-11-16 19:30:45 +00:00
|
|
|
|
lsn and return information about it.
|
2003-09-05 22:48:16 +00:00
|
|
|
|
|
2003-11-16 19:30:45 +00:00
|
|
|
|
Returns stat_t of entry if we found lsn, or NULL otherwise.
|
2003-09-05 22:48:16 +00:00
|
|
|
|
*/
|
2004-06-19 02:27:19 +00:00
|
|
|
|
iso9660_stat_t *iso9660_find_fs_lsn(const CdIo *p_cdio, lsn_t lsn);
|
2003-11-16 19:30:45 +00:00
|
|
|
|
|
2003-09-05 22:48:16 +00:00
|
|
|
|
|
2004-01-10 03:03:08 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Given a directory pointer, find the filesystem entry that contains
|
|
|
|
|
|
lsn and return information about it.
|
|
|
|
|
|
|
|
|
|
|
|
Returns stat_t of entry if we found lsn, or NULL otherwise.
|
|
|
|
|
|
*/
|
|
|
|
|
|
iso9660_stat_t *iso9660_find_ifs_lsn(const iso9660_t *iso, lsn_t lsn);
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-09-06 14:50:50 +00:00
|
|
|
|
/*!
|
2003-11-16 19:30:45 +00:00
|
|
|
|
Get file status for pathname into stat. NULL is returned on error.
|
2003-09-06 14:50:50 +00:00
|
|
|
|
*/
|
2003-11-16 19:30:45 +00:00
|
|
|
|
iso9660_stat_t *iso9660_fs_stat (const CdIo *obj, const char pathname[],
|
|
|
|
|
|
bool is_mode2);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2004-02-26 00:13:24 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Get file status for pathname into stat. NULL is returned on error.
|
|
|
|
|
|
pathname version numbers in the ISO 9660
|
|
|
|
|
|
name are dropped, i.e. ;1 is removed and if level 1 ISO-9660 names
|
|
|
|
|
|
are lowercased.
|
|
|
|
|
|
*/
|
|
|
|
|
|
iso9660_stat_t *iso9660_fs_stat_translate (const CdIo *obj,
|
|
|
|
|
|
const char pathname[],
|
|
|
|
|
|
bool is_mode2);
|
|
|
|
|
|
|
2004-01-10 03:03:08 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Get file status for pathname into stat. NULL is returned on error.
|
|
|
|
|
|
*/
|
|
|
|
|
|
void *iso9660_ifs_stat (iso9660_t *iso, const char pathname[]);
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-02-26 00:13:24 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Get file status for pathname into stat. NULL is returned on error.
|
|
|
|
|
|
pathname version numbers in the ISO 9660
|
|
|
|
|
|
name are dropped, i.e. ;1 is removed and if level 1 ISO-9660 names
|
|
|
|
|
|
are lowercased.
|
|
|
|
|
|
*/
|
|
|
|
|
|
void *iso9660_ifs_stat_translate (iso9660_t *iso, const char pathname[]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-11-16 19:30:45 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Read pathname (a directory) and return a list of iso9660_stat_t
|
|
|
|
|
|
of the files inside that. The caller must free the returned result.
|
2003-11-10 04:01:16 +00:00
|
|
|
|
*/
|
|
|
|
|
|
void * iso9660_fs_readdir (const CdIo *obj, const char pathname[], bool mode2);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2004-01-10 03:03:08 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Read pathname (a directory) and return a list of iso9660_stat_t
|
|
|
|
|
|
of the files inside that. The caller must free the returned result.
|
|
|
|
|
|
*/
|
2004-01-10 03:21:50 +00:00
|
|
|
|
void * iso9660_ifs_readdir (iso9660_t *iso, const char pathname[]);
|
2004-01-10 03:03:08 +00:00
|
|
|
|
|
2004-06-18 23:00:05 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Return the PVD's application ID.
|
|
|
|
|
|
NULL is returned if there is some problem in getting this.
|
|
|
|
|
|
*/
|
2004-06-19 00:10:23 +00:00
|
|
|
|
const char * iso9660_get_application_id(const iso9660_pvd_t *p_pvd);
|
2004-06-18 23:00:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
2003-11-10 04:01:16 +00:00
|
|
|
|
uint8_t iso9660_get_dir_len(const iso9660_dir_t *idr);
|
2003-08-31 01:01:39 +00:00
|
|
|
|
|
2003-08-31 01:32:05 +00:00
|
|
|
|
#if FIXME
|
2003-11-10 04:01:16 +00:00
|
|
|
|
uint8_t iso9660_get_dir_size(const iso9660_dir_t *idr);
|
2003-08-31 01:01:39 +00:00
|
|
|
|
|
2003-11-10 04:01:16 +00:00
|
|
|
|
lsn_t iso9660_get_dir_extent(const iso9660_dir_t *idr);
|
2003-08-31 01:32:05 +00:00
|
|
|
|
#endif
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-11-10 04:01:16 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Return the directory name stored in the iso9660_dir_t
|
|
|
|
|
|
|
|
|
|
|
|
A string is allocated: the caller must deallocate.
|
|
|
|
|
|
*/
|
|
|
|
|
|
char * iso9660_dir_to_name (const iso9660_dir_t *iso9660_dir);
|
|
|
|
|
|
|
2004-06-18 23:00:05 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Return a string containing the preparer id with trailing
|
|
|
|
|
|
blanks removed.
|
|
|
|
|
|
*/
|
|
|
|
|
|
const char *iso9660_get_preparer_id(const iso9660_pvd_t *pvd);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Return a string containing the PVD's publisher id with trailing
|
|
|
|
|
|
blanks removed.
|
|
|
|
|
|
*/
|
|
|
|
|
|
const char *iso9660_get_publisher_id(const iso9660_pvd_t *pvd);
|
|
|
|
|
|
|
2003-11-10 04:01:16 +00:00
|
|
|
|
uint8_t iso9660_get_pvd_type(const iso9660_pvd_t *pvd);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-11-10 04:01:16 +00:00
|
|
|
|
const char * iso9660_get_pvd_id(const iso9660_pvd_t *pvd);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-11-10 04:01:16 +00:00
|
|
|
|
int iso9660_get_pvd_space_size(const iso9660_pvd_t *pvd);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-11-10 04:01:16 +00:00
|
|
|
|
int iso9660_get_pvd_block_size(const iso9660_pvd_t *pvd) ;
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-21 01:14:30 +00:00
|
|
|
|
/*! Return the primary volume id version number (of pvd).
|
|
|
|
|
|
If there is an error 0 is returned.
|
|
|
|
|
|
*/
|
|
|
|
|
|
int iso9660_get_pvd_version(const iso9660_pvd_t *pvd) ;
|
2003-08-31 01:01:39 +00:00
|
|
|
|
|
2004-06-18 23:00:05 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Return a string containing the PVD's system id with trailing
|
|
|
|
|
|
blanks removed.
|
|
|
|
|
|
*/
|
|
|
|
|
|
const char *iso9660_get_system_id(const iso9660_pvd_t *pvd);
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-09-21 01:14:30 +00:00
|
|
|
|
/*! Return the LSN of the root directory for pvd.
|
|
|
|
|
|
If there is an error CDIO_INVALID_LSN is returned.
|
|
|
|
|
|
*/
|
|
|
|
|
|
lsn_t iso9660_get_root_lsn(const iso9660_pvd_t *pvd);
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2004-06-18 23:00:05 +00:00
|
|
|
|
/*!
|
|
|
|
|
|
Return the PVD's volume ID.
|
|
|
|
|
|
*/
|
|
|
|
|
|
const char *iso9660_get_volume_id(const iso9660_pvd_t *pvd);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
Return the PVD's volumeset ID.
|
|
|
|
|
|
NULL is returned if there is some problem in getting this.
|
|
|
|
|
|
*/
|
|
|
|
|
|
const char *iso9660_get_volumeset_id(const iso9660_pvd_t *pvd);
|
|
|
|
|
|
|
2003-08-31 06:59:23 +00:00
|
|
|
|
/* pathtable */
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
2003-09-21 01:14:30 +00:00
|
|
|
|
/*! Zero's out pathable. Do this first. */
|
|
|
|
|
|
void iso9660_pathtable_init (void *pt);
|
2003-08-31 06:59:23 +00:00
|
|
|
|
|
2003-09-21 01:14:30 +00:00
|
|
|
|
unsigned int iso9660_pathtable_get_size (const void *pt);
|
2003-08-31 06:59:23 +00:00
|
|
|
|
|
|
|
|
|
|
uint16_t
|
|
|
|
|
|
iso9660_pathtable_l_add_entry (void *pt, const char name[], uint32_t extent,
|
|
|
|
|
|
uint16_t parent);
|
|
|
|
|
|
|
|
|
|
|
|
uint16_t
|
|
|
|
|
|
iso9660_pathtable_m_add_entry (void *pt, const char name[], uint32_t extent,
|
2003-09-21 01:14:30 +00:00
|
|
|
|
uint16_t parent);
|
2003-08-31 06:59:23 +00:00
|
|
|
|
|
2003-11-09 13:53:28 +00:00
|
|
|
|
/*=====================================================================
|
|
|
|
|
|
Volume Descriptors
|
|
|
|
|
|
======================================================================*/
|
2003-09-01 02:08:59 +00:00
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
|
iso9660_set_pvd (void *pd, const char volume_id[], const char application_id[],
|
|
|
|
|
|
const char publisher_id[], const char preparer_id[],
|
|
|
|
|
|
uint32_t iso_size, const void *root_dir,
|
|
|
|
|
|
uint32_t path_table_l_extent, uint32_t path_table_m_extent,
|
2003-09-07 18:15:26 +00:00
|
|
|
|
uint32_t path_table_size, const time_t *pvd_time);
|
2003-09-01 02:08:59 +00:00
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
|
iso9660_set_evd (void *pd);
|
|
|
|
|
|
|
2003-09-10 08:31:19 +00:00
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
2003-08-17 05:31:19 +00:00
|
|
|
|
#endif /* __CDIO_ISO9660_H__ */
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
* Local variables:
|
|
|
|
|
|
* c-file-style: "gnu"
|
|
|
|
|
|
* tab-width: 8
|
|
|
|
|
|
* indent-tabs-mode: nil
|
|
|
|
|
|
* End:
|
|
|
|
|
|
*/
|