remove block_size and max_blocks, add size

This commit is contained in:
Laurent Vivier 2005-11-29 23:46:36 +00:00
parent eed7ca3f57
commit 70bf3c832e

View File

@ -4,6 +4,9 @@
*
*/
#ifndef _LIBCONTAINER_H_
#define _LIBCONTAINER_H_
#include <sys/types.h>
#include <libstream.h>
@ -15,8 +18,7 @@ struct emile_block {
struct emile_container {
u_int16_t unit_id;
u_int16_t block_size;
u_int32_t max_blocks;
u_int32_t size;
struct emile_block blocks[0];
} __attribute__((packed));
@ -30,3 +32,4 @@ typedef struct {
unsigned long current_block;
char *buffer[0];
} container_FILE;
#endif /* _LIBCONTAINER_H_ */