ecma119_source_opts Struct Reference

#include <libisofs.h>


Detailed Description

Holds the options for the image generation.

Definition at line 108 of file libisofs.h.

Data Fields

int volnum
 The volume in the set which you want to write (usually 0).
int level
 ISO level to write at.
int flags
 Which extensions to support.
int relaxed_constraints
 see ecma119_relaxed_constraints_flag
unsigned int no_cache_inodes:1
 If use inode caching or not.
unsigned int sort_files:1
 If files should be sorted based on their weight.
unsigned int default_mode:1
 The default values for files and directory permissions, gid and uid.
unsigned int replace_dir_mode:1
 When 1, permissions for all dirs will be replaced by the specified in dir_mode field.
unsigned int replace_file_mode:1
 When 1, permissions for all files will be replaced by the specified in file_mode field.
unsigned int replace_uid:1
 When 1, uid of all nodes (both files and dirs) will be replaced by the specified in uid field.
unsigned int replace_gid:1
 When 1, gid of all nodes (both files and dirs) will be replaced by the specified in gid field.
mode_t dir_mode
 Mode to use on dirs when replace_dir_mode is set.
mode_t file_mode
 Mode to use on files when replace_file_mode is set.
gid_t gid
 gid to use when replace_gid is set.
uid_t uid
 uid to use when replace_uid is set.
char * input_charset
 NULL to use default charset.
char * ouput_charset
 NULL to use default charset.


Field Documentation

int ecma119_source_opts::volnum

The volume in the set which you want to write (usually 0).

Definition at line 109 of file libisofs.h.

int ecma119_source_opts::level

ISO level to write at.

Definition at line 110 of file libisofs.h.

int ecma119_source_opts::flags

Which extensions to support.

Definition at line 111 of file libisofs.h.

int ecma119_source_opts::relaxed_constraints

see ecma119_relaxed_constraints_flag

Definition at line 112 of file libisofs.h.

unsigned int ecma119_source_opts::no_cache_inodes

If use inode caching or not.

Set it to 1 to prevent inode caching. Usage of inode caching allows detection of hard-links, which contents are only written once to disc this way. Don't use inode caching in systems with non unique inodes per device.

Definition at line 114 of file libisofs.h.

unsigned int ecma119_source_opts::sort_files

If files should be sorted based on their weight.

Definition at line 122 of file libisofs.h.

unsigned int ecma119_source_opts::default_mode

The default values for files and directory permissions, gid and uid.

This option can be overwritten when set one of the following. 0 to use useful values, 1 to use node modes (this are the same as filesystem ones if not changed after added to tree).

Definition at line 124 of file libisofs.h.

unsigned int ecma119_source_opts::replace_dir_mode

When 1, permissions for all dirs will be replaced by the specified in dir_mode field.

Definition at line 133 of file libisofs.h.

unsigned int ecma119_source_opts::replace_file_mode

When 1, permissions for all files will be replaced by the specified in file_mode field.

Definition at line 138 of file libisofs.h.

unsigned int ecma119_source_opts::replace_uid

When 1, uid of all nodes (both files and dirs) will be replaced by the specified in uid field.

Definition at line 143 of file libisofs.h.

unsigned int ecma119_source_opts::replace_gid

When 1, gid of all nodes (both files and dirs) will be replaced by the specified in gid field.

Definition at line 148 of file libisofs.h.

mode_t ecma119_source_opts::dir_mode

Mode to use on dirs when replace_dir_mode is set.

Definition at line 152 of file libisofs.h.

mode_t ecma119_source_opts::file_mode

Mode to use on files when replace_file_mode is set.

Definition at line 153 of file libisofs.h.

gid_t ecma119_source_opts::gid

gid to use when replace_gid is set.

Definition at line 154 of file libisofs.h.

uid_t ecma119_source_opts::uid

uid to use when replace_uid is set.

Definition at line 155 of file libisofs.h.

char* ecma119_source_opts::input_charset

NULL to use default charset.

Definition at line 156 of file libisofs.h.

char* ecma119_source_opts::ouput_charset

NULL to use default charset.

Definition at line 157 of file libisofs.h.


The documentation for this struct was generated from the following file:
Generated on Wed Oct 10 15:54:46 2007 for libisofs by  doxygen 1.5.2