1#ifndef GLOBAL_H
2#define GLOBAL_H
3
4/*
5 * Squashfs
6 *
7 * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007
8 * Phillip Lougher <phillip@lougher.org.uk>
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2,
13 * or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 *
24 * global.h
25 */
26
27typedef struct squashfs_super_block squashfs_super_block;
28typedef struct squashfs_dir_index squashfs_dir_index;
29typedef struct squashfs_base_inode_header squashfs_base_inode_header;
30typedef struct squashfs_ipc_inode_header squashfs_ipc_inode_header;
31typedef struct squashfs_dev_inode_header squashfs_dev_inode_header;
32typedef struct squashfs_symlink_inode_header squashfs_symlink_inode_header;
33typedef struct squashfs_reg_inode_header squashfs_reg_inode_header;
34typedef struct squashfs_lreg_inode_header squashfs_lreg_inode_header;
35typedef struct squashfs_dir_inode_header squashfs_dir_inode_header;
36typedef struct squashfs_ldir_inode_header squashfs_ldir_inode_header;
37typedef struct squashfs_dir_entry squashfs_dir_entry;
38typedef struct squashfs_dir_header squashfs_dir_header;
39typedef struct squashfs_fragment_entry squashfs_fragment_entry;
40typedef union squashfs_inode_header squashfs_inode_header;
41
42#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
43typedef struct squashfs_dir_index_2 squashfs_dir_index_2;
44typedef struct squashfs_base_inode_header_2 squashfs_base_inode_header_2;
45typedef struct squashfs_ipc_inode_header_2 squashfs_ipc_inode_header_2;
46typedef struct squashfs_dev_inode_header_2 squashfs_dev_inode_header_2;
47typedef struct squashfs_symlink_inode_header_2 squashfs_symlink_inode_header_2;
48typedef struct squashfs_reg_inode_header_2 squashfs_reg_inode_header_2;
49typedef struct squashfs_lreg_inode_header_2 squashfs_lreg_inode_header_2;
50typedef struct squashfs_dir_inode_header_2 squashfs_dir_inode_header_2;
51typedef struct squashfs_ldir_inode_header_2 squashfs_ldir_inode_header_2;
52typedef struct squashfs_dir_entry_2 squashfs_dir_entry_2;
53typedef struct squashfs_dir_header_2 squashfs_dir_header_2;
54typedef struct squashfs_fragment_entry_2 squashfs_fragment_entry_2;
55typedef union squashfs_inode_header_2 squashfs_inode_header_2;
56#endif
57
58typedef unsigned int squashfs_uid;
59typedef long long squashfs_fragment_index;
60typedef squashfs_inode_t squashfs_inode;
61typedef squashfs_block_t squashfs_block;
62
63#endif
64