Initial structure for ECMA-119 writer.

This commit is contained in:
Vreixo Formoso
2007-12-17 23:22:19 +01:00
parent 159b775d22
commit 5e2de57aa9
7 changed files with 139 additions and 25 deletions

View File

@ -11,6 +11,8 @@
#include "libisofs.h"
#include <stdint.h>
typedef struct ecma119_image Ecma119Image;
typedef struct ecma119_node Ecma119Node;
typedef struct Iso_File_Src IsoFileSrc;
@ -20,8 +22,6 @@ struct ecma119_image {
IsoImage *image;
Ecma119Node *root;
//int volnum;
unsigned int iso_level:2;
// int relaxed_constraints; /**< see ecma119_relaxed_constraints_flag */
@ -47,6 +47,15 @@ struct ecma119_image {
* includes the current volume. */
//uint32_t vol_space_size;
/*
* Block being processed, either during image writing or structure
* size calculation.
*/
uint32_t curblock;
size_t nwriters;
IsoImageWriter **writers;
/* tree of files sources */
void *file_srcs;
int file_count;