xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

iso_tree.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define Xorriso_pvt_iso_tree_includeD   yes
#define LIBISO_ISDIR(node)   (iso_node_get_type(node) == LIBISO_DIR)
#define LIBISO_ISREG(node)   (iso_node_get_type(node) == LIBISO_FILE)
#define LIBISO_ISLNK(node)   (iso_node_get_type(node) == LIBISO_SYMLINK)
#define LIBISO_ISCHR(node)
#define LIBISO_ISBLK(node)
#define LIBISO_ISFIFO(node)
#define LIBISO_ISSOCK(node)
#define LIBISO_ISBOOT(node)   (iso_node_get_type(node) == LIBISO_BOOT)


int Xorriso_node_from_path (struct XorrisO *xorriso, IsoImage *volume, char *path, IsoNode **node, int flag)
int Xorriso_get_node_by_path (struct XorrisO *xorriso, char *in_path, char *eff_path, IsoNode **node, int flag)
int Xorriso_dir_from_path (struct XorrisO *xorriso, char *purpose, char *path, IsoDir **dir_node, int flag)
int Xorriso_node_get_dev (struct XorrisO *xorriso, IsoNode *node, char *path, dev_t *dev, int flag)
int Xorriso_fake_stbuf (struct XorrisO *xorriso, char *path, struct stat *stbuf, IsoNode **node, int flag)
int Xorriso_node_is_valid (struct XorrisO *xorriso, IsoNode *in_node, int flag)
int Xorriso_path_from_node (struct XorrisO *xorriso, IsoNode *in_node, char path[SfileadrL], int flag)
int Xorriso_path_from_lba (struct XorrisO *xorriso, IsoNode *node, int lba, char path[SfileadrL], int flag)
int Xorriso_get_attr_value (struct XorrisO *xorriso, void *in_node, char *path, char *name, size_t *value_length, char **value, int flag)
int Xorriso_stream_type (struct XorrisO *xorriso, IsoNode *node, IsoStream *stream, char type_text[], int flag)
int Xorriso_show_du_subs (struct XorrisO *xorriso, IsoDir *dir_node, char *abs_path, char *rel_path, off_t *size, off_t boss_mem, int flag)
int Xorriso_sorted_dir_i (struct XorrisO *xorriso, IsoDir *dir_node, int *filec, char ***filev, off_t boss_mem, int flag)
int Xorriso_obtain_pattern_files_i (struct XorrisO *xorriso, char *wd, IsoDir *dir, int *filec, char **filev, int count_limit, off_t *mem, int *dive_count, int flag)
int Xorriso__start_end_lbas (IsoNode *node, int *lba_count, int **start_lbas, int **end_lbas, off_t **section_sizes, off_t *size, int flag)
int Xorriso__file_start_lba (IsoNode *node, int *lba, int flag)
int Xorriso_file_eval_damage (struct XorrisO *xorriso, IsoNode *node, off_t *damage_start, off_t *damage_end, int flag)
int Xorriso_report_lba (struct XorrisO *xorriso, char *show_path, IsoNode *node, uint32_t *last_block, int flag)
int Xorriso_report_damage (struct XorrisO *xorriso, char *show_path, IsoNode *node, int flag)
int Xorriso_getfname (struct XorrisO *xorriso, char *path, int flag)
int Xorriso_retrieve_disk_path (struct XorrisO *xorriso, IsoNode *node, char disk_path[SfileadrL], int flag)

Macro Definition Documentation


#define LIBISO_ISBLK (   node)
Definition: libisofs.h:232
mode_t iso_node_get_mode(const IsoNode *node)
Definition: node.c:471
enum IsoNodeType iso_node_get_type(IsoNode *node)
Definition: node.c:321

Definition at line 22 of file iso_tree.h.


#define LIBISO_ISBOOT (   node)    (iso_node_get_type(node) == LIBISO_BOOT)

Definition at line 28 of file iso_tree.h.


#define LIBISO_ISCHR (   node)

Definition at line 20 of file iso_tree.h.


#define LIBISO_ISDIR (   node)    (iso_node_get_type(node) == LIBISO_DIR)

Definition at line 17 of file iso_tree.h.


#define LIBISO_ISFIFO (   node)

Definition at line 24 of file iso_tree.h.


#define LIBISO_ISLNK (   node)    (iso_node_get_type(node) == LIBISO_SYMLINK)

Definition at line 19 of file iso_tree.h.


#define LIBISO_ISREG (   node)    (iso_node_get_type(node) == LIBISO_FILE)

Definition at line 18 of file iso_tree.h.


#define LIBISO_ISSOCK (   node)

Definition at line 26 of file iso_tree.h.

◆ Xorriso_pvt_iso_tree_includeD

#define Xorriso_pvt_iso_tree_includeD   yes

Definition at line 14 of file iso_tree.h.

Function Documentation

◆ Xorriso__file_start_lba()

int Xorriso__file_start_lba ( IsoNode node,
int *  lba,
int  flag 

Definition at line 2259 of file iso_tree.c.

Referenced by Xorriso_is_plain_image_file(), and Xorriso_stream_type().

◆ Xorriso__start_end_lbas()

int Xorriso__start_end_lbas ( IsoNode node,
int *  lba_count,
int **  start_lbas,
int **  end_lbas,
off_t **  section_sizes,
off_t *  size,
int  flag 

◆ Xorriso_dir_from_path()

int Xorriso_dir_from_path ( struct XorrisO xorriso,
char *  purpose,
char *  path,
IsoDir **  dir_node,
int  flag 

◆ Xorriso_fake_stbuf()

◆ Xorriso_file_eval_damage()

int Xorriso_file_eval_damage ( struct XorrisO xorriso,
IsoNode node,
off_t *  damage_start,
off_t *  damage_end,
int  flag 

◆ Xorriso_get_attr_value()

int Xorriso_get_attr_value ( struct XorrisO xorriso,
void *  in_node,
char *  path,
char *  name,
size_t *  value_length,
char **  value,
int  flag 

Definition at line 1263 of file iso_tree.c.

References Xorriso_get_attrs().

Referenced by Xorriso_findi_action(), and Xorriso_record_dev_inode().

◆ Xorriso_get_node_by_path()

◆ Xorriso_getfname()

int Xorriso_getfname ( struct XorrisO xorriso,
char *  path,
int  flag 

◆ Xorriso_node_from_path()

◆ Xorriso_node_get_dev()

int Xorriso_node_get_dev ( struct XorrisO xorriso,
IsoNode node,
char *  path,
dev_t *  dev,
int  flag 

Definition at line 229 of file iso_tree.c.

References iso_special_get_dev().

Referenced by Xorriso_fake_stbuf(), and Xorriso_tree_restore_node().

◆ Xorriso_node_is_valid()

int Xorriso_node_is_valid ( struct XorrisO xorriso,
IsoNode in_node,
int  flag 

Definition at line 384 of file iso_tree.c.

References iso_node_get_parent().

Referenced by Xorriso_remake_hln_array().

◆ Xorriso_obtain_pattern_files_i()

int Xorriso_obtain_pattern_files_i ( struct XorrisO xorriso,
char *  wd,
IsoDir dir,
int *  filec,
char **  filev,
int  count_limit,
off_t *  mem,
int *  dive_count,
int  flag 

◆ Xorriso_path_from_lba()

int Xorriso_path_from_lba ( struct XorrisO xorriso,
IsoNode node,
int  lba,
char  path[SfileadrL],
int  flag 

◆ Xorriso_path_from_node()

int Xorriso_path_from_node ( struct XorrisO xorriso,
IsoNode in_node,
char  path[SfileadrL],
int  flag 

◆ Xorriso_report_damage()

int Xorriso_report_damage ( struct XorrisO xorriso,
char *  show_path,
IsoNode node,
int  flag 

◆ Xorriso_report_lba()

int Xorriso_report_lba ( struct XorrisO xorriso,
char *  show_path,
IsoNode node,
uint32_t *  last_block,
int  flag 

◆ Xorriso_retrieve_disk_path()

int Xorriso_retrieve_disk_path ( struct XorrisO xorriso,
IsoNode node,
char  disk_path[SfileadrL],
int  flag 

◆ Xorriso_show_du_subs()

◆ Xorriso_sorted_dir_i()

int Xorriso_sorted_dir_i ( struct XorrisO xorriso,
IsoDir dir_node,
int *  filec,
char ***  filev,
off_t  boss_mem,
int  flag 

◆ Xorriso_stream_type()

int Xorriso_stream_type ( struct XorrisO xorriso,
IsoNode node,
IsoStream stream,
char  type_text[],
int  flag