* include/grub/ntfs.h (grub_ntfs_comp_table_element): New struct.

(grub_ntfs_comp): Use grub_ntfs_comp_table_element for comp_table.
	All users updated.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-15 17:09:14 +02:00
parent 5fc23ab2d8
commit e28e5fe519
3 changed files with 22 additions and 10 deletions

View file

@ -161,11 +161,17 @@ struct grub_ntfs_data
grub_uint64_t uuid;
};
struct grub_ntfs_comp_table_element
{
grub_uint32_t next_vcn;
grub_uint32_t next_lcn;
};
struct grub_ntfs_comp
{
grub_disk_t disk;
int comp_head, comp_tail;
grub_uint32_t comp_table[16][2];
struct grub_ntfs_comp_table_element comp_table[16];
grub_uint32_t cbuf_ofs, cbuf_vcn, spc;
char *cbuf;
};