Implemented use of stdio-pseudo-drives
This commit is contained in:
@ -10,8 +10,6 @@
|
||||
#define Isoburn_includeD
|
||||
|
||||
|
||||
/* <<< as long as no inclusion of libisofs.h */
|
||||
struct volset;
|
||||
|
||||
/* for uint8_t */
|
||||
#include <stdint.h>
|
||||
@ -32,7 +30,7 @@ struct isoburn {
|
||||
|
||||
/* Although rarely used, libburn can operate on several */
|
||||
/* drives simultaneously. */
|
||||
/* >>> I propose to design isoburn as chain link of a list with its
|
||||
/* >>> I propose to design isoburn as chain link of a list with its */
|
||||
/* >>> start stored globally. */
|
||||
struct isoburn *prev;
|
||||
struct isoburn *next;
|
||||
@ -46,6 +44,15 @@ struct isoburn {
|
||||
/* Aligned start address to be used for processing (counted in blocks) */
|
||||
int nwa;
|
||||
|
||||
#ifdef NIX
|
||||
|
||||
/* Path for eventual stdandard i/o (see .emulation_mode) */
|
||||
char *stdio_path;
|
||||
|
||||
/* File descriptor for stdandard i/o. Points to stdio_path object if not -1 */
|
||||
int stdio_fd;
|
||||
|
||||
#endif /* NIX */
|
||||
|
||||
/* --- Vreixo's part --- */
|
||||
|
||||
@ -57,7 +64,7 @@ struct isoburn {
|
||||
uint8_t target_iso_head[65536];
|
||||
|
||||
/* The filesystem structure of the old image from media. */
|
||||
struct volset *target_volset;
|
||||
struct iso_volset *target_volset;
|
||||
|
||||
/* The output options of the current run of libisofs. */
|
||||
/* Element .overwrite eventually points to a buffered new head */
|
||||
@ -77,7 +84,8 @@ int isoburn_destroy(struct isoburn **objpt, int flag);
|
||||
/* Eventual readers for public attributes */
|
||||
/* ( put into separate .h file then ) */
|
||||
int isoburn_get_emulation_mode(struct isoburn *o, int *pt, int flag);
|
||||
int isoburn_get_target_volset(struct isoburn *o, struct volset **pt, int flag);
|
||||
int isoburn_get_target_volset(struct isoburn *o, struct iso_volset **pt,
|
||||
int flag);
|
||||
|
||||
/* List management */
|
||||
int isoburn_get_prev(struct isoburn *o, struct isoburn **pt, int flag);
|
||||
|
Reference in New Issue
Block a user