FreeCalypso > hg > freecalypso-tools
diff ffstools/tiffs-mkfs/globals.c @ 705:12ae93940467
tiffs-mkfs program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 20 May 2020 06:55:58 +0000 |
parents | |
children | e2e4aed24522 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffstools/tiffs-mkfs/globals.c Wed May 20 06:55:58 2020 +0000 @@ -0,0 +1,22 @@ +/* + * Definitions of global variables for the tiffs-mkfs program. + */ + +#include <sys/types.h> +#include <sys/param.h> +#include <stdint.h> +#include "struct.h" + +unsigned ffs_sector_size, ffs_nsectors; +char *format_name; +unsigned chunk_size_max, block_files_max; +u_char *inode_block, *data_block; +struct tiffs_inode *inode_array; +unsigned inode_fill_level, data_fill_level, objects_in_block; +unsigned blocks_written; + +char *input_host_dir; +struct tree_object root; + +char *output_filename; +int output_fd;