Add function to add an exiting file to the iso tree.
Node is created using a builder. Default builder and filesystem is added to IsoImage. Later we should expose setters for this atts.
This commit is contained in:
14
src/image.h
14
src/image.h
@@ -10,7 +10,9 @@
|
||||
|
||||
#include "libisofs.h"
|
||||
#include "node.h"
|
||||
|
||||
#include "fsource.h"
|
||||
#include "builder.h"
|
||||
|
||||
/*
|
||||
* Image is a context for image manipulation.
|
||||
* Global objects such as the message_queues must belogn to that
|
||||
@@ -39,6 +41,16 @@ struct Iso_Image {
|
||||
|
||||
/* message messenger for the image */
|
||||
struct libiso_msgs *messenger;
|
||||
|
||||
/**
|
||||
* Default filesystem to use when adding files to the image tree.
|
||||
*/
|
||||
IsoFilesystem *fs;
|
||||
|
||||
/*
|
||||
* Default builder to use when adding files to the image tree.
|
||||
*/
|
||||
IsoNodeBuilder *builder;
|
||||
};
|
||||
|
||||
#endif /*LIBISO_IMAGE_H_*/
|
||||
|
Reference in New Issue
Block a user