mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-14 22:04:43 +00:00
remove block_size and max_blocks, add size
This commit is contained in:
parent
eed7ca3f57
commit
70bf3c832e
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user