~ubuntu-branches/ubuntu/quantal/squashfs-tools/quantal

« back to all changes in this revision

Viewing changes to squashfs-tools/squashfs_compat.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2011-03-17 15:04:48 UTC
  • mfrom: (4.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110317150448-tqtaxmya6f2r520x
Tags: 1:4.2-1
* Merging upstream version 4.2.
* Updating debhelper docs file for new upstream.
* Updating year in copyright file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        unsigned int            no_uids:8;
52
52
        unsigned int            no_guids:8;
53
53
        unsigned int            mkfs_time /* time of filesystem creation */;
54
 
        squashfs_inode_t        root_inode;
 
54
        squashfs_inode          root_inode;
55
55
        unsigned int            block_size;
56
56
        unsigned int            fragments;
57
57
        unsigned int            fragment_table_start_2;
103
103
 
104
104
struct squashfs_reg_inode_header_3 {
105
105
        SQUASHFS_BASE_INODE_HEADER_3;
106
 
        squashfs_block_t        start_block;
 
106
        squashfs_block          start_block;
107
107
        unsigned int            fragment;
108
108
        unsigned int            offset;
109
109
        unsigned int            file_size;
113
113
struct squashfs_lreg_inode_header_3 {
114
114
        SQUASHFS_BASE_INODE_HEADER_3;
115
115
        unsigned int            nlink;
116
 
        squashfs_block_t        start_block;
 
116
        squashfs_block          start_block;
117
117
        unsigned int            fragment;
118
118
        unsigned int            offset;
119
119
        long long               file_size;
185
185
typedef struct squashfs_dir_entry_3 squashfs_dir_entry_3;
186
186
typedef struct squashfs_dir_header_3 squashfs_dir_header_3;
187
187
typedef struct squashfs_fragment_entry_3 squashfs_fragment_entry_3;
188
 
typedef union squashfs_inode_header_3 squashfs_inode_header_3;
189
188
 
190
189
/*
191
190
 * macros to convert each packed bitfield structure from little endian to big
483
482
typedef struct squashfs_symlink_inode_header_1 squashfs_symlink_inode_header_1;
484
483
typedef struct squashfs_reg_inode_header_1 squashfs_reg_inode_header_1;
485
484
typedef struct squashfs_dir_inode_header_1 squashfs_dir_inode_header_1;
486
 
typedef union squashfs_inode_header_1 squashfs_inode_header_1;
487
485
 
488
486
#define SQUASHFS_SWAP_BASE_INODE_CORE_1(s, d, n) \
489
487
        SQUASHFS_MEMSET(s, d, n);\
655
653
typedef struct squashfs_dir_entry_2 squashfs_dir_entry_2;
656
654
typedef struct squashfs_dir_header_2 squashfs_dir_header_2;
657
655
typedef struct squashfs_fragment_entry_2 squashfs_fragment_entry_2;
658
 
typedef union squashfs_inode_header_2 squashfs_inode_header_2;
659
656
 
660
657
#define SQUASHFS_SWAP_BASE_INODE_CORE_2(s, d, n)\
661
658
        SQUASHFS_MEMSET(s, d, n);\