Revision 1 (by moose, 2006/07/06 01:31:16) Initial import
#include <stdio.h>
#include <stdint.h>
struct extent {
	union {
		struct {
			uint16_t l_block; // logical block index (I assume this is the index for the blocks in the file...)
			uint16_t l_leaf;  // block index of next leaf (extent_leaf, or extent)
			uint16_t l_reserved; // maybe for extended sizes? (l_start_high ?)
			uint16_t l_start; // physical block index
		};
		struct {
			uint16_t e_block; // logical block index (I assume this is the index for the blocks in the file...)
			uint16_t e_len;   // number of blocks
			uint16_t e_reserved; // maybe for extended sizes? (l_start_high ?)
			uint16_t e_start; // physical block index
		};
	};
};

int main(int argc, char **argv)
{
	struct extent ext;
	ext.l_block = 0;
	ext.l_block += ext.l_block;

	return 0;
}