view ffstools/tiffs-rd/globals.c @ 243:43642cf7c98c

tiffs: added global option for offset of FFS within the file (new -o)
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 27 Jan 2014 03:46:11 +0000
parents 254de9560ef3
children 09b8b2327838
line wrap: on
line source

/*
 * Definitions of global variables for the tiffs IVA program.
 */

#include <sys/types.h>
#include "types.h"
#include "struct.h"

char *imgfile;
off_t imgfile_offset;
u32 eraseblk_size;
int total_blocks;
u32 total_ffs_size;
int index_blk_num = -1, root_inode;
int inode_limit;
int verbose, verbose2;

u8 *image, *inode_block;
struct inode_info **inode_info;