Fix small though important errors in the Ecma-167 structure definitions.

This commit is contained in:
reinoud 2006-08-25 17:43:51 +00:00
parent 462ab6f23d
commit 5b2c16b797

View File

@ -1,4 +1,4 @@
/* $NetBSD: ecma167-udf.h,v 1.2 2006/02/02 16:14:26 reinoud Exp $ */
/* $NetBSD: ecma167-udf.h,v 1.3 2006/08/25 17:43:51 reinoud Exp $ */
/*-
* Copyright (c) 2003, 2004, 2005, 2006 Reinoud Zandijk <reinoud@netbsd.org>
@ -478,6 +478,14 @@ struct udf_sparing_table {
} __packed;
#define UDF_NO_PREV_VAT 0xffffffff
/* UDF 1.50 VAT suffix [UDF 2.2.10 (UDF 1.50 spec)] */
struct udf_oldvat_tail {
struct regid id; /* "*UDF Virtual Alloc Tbl" */
uint32_t prev_vat;
} __packed;
/* VAT table [UDF 2.0.1/2.2.10] */
struct udf_vat {
uint16_t header_len;
@ -653,7 +661,6 @@ struct impl_extattr_entry {
struct extattr_entry hdr;
uint32_t iu_l;
struct regid imp_id;
uint16_t cksum; /* UDF: of header */
uint8_t data[1];
} __packed;
@ -686,6 +693,15 @@ struct device_extattr_entry {
} __packed;
/* VAT LV extension Extended Attribute [UDF 3.3.4.5.1.3] 1.50 errata */
struct vatlvext_extattr_entry {
uint64_t unique_id_chk; /* needs to be copy of ICB's */
uint32_t num_files;
uint32_t num_directories;
char logvol_id[128]; /* replaces logvol name */
} __packed;
/* File Entry [4/14.9] */
struct file_entry {
struct desc_tag tag;