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)  

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

Go to the source code of this file.

Data Structures

struct  SectorbitmaP
 
struct  CheckmediajoB
 

Macros

#define Xorriso_pvt_check_includeD   yes
 
#define Xorriso_read_quality_gooD   0x7fffffff
 
#define Xorriso_read_quality_md5_matcH   0x70000000
 
#define Xorriso_read_quality_sloW   0x60000000
 
#define Xorriso_read_quality_partiaL   0x50000000
 
#define Xorriso_read_quality_valiD   0x40000000
 
#define Xorriso_read_quality_untesteD   0x3fffffff
 
#define Xorriso_read_quality_md5_mismatcH   0x38000000
 
#define Xorriso_read_quality_invaliD   0x30000000
 
#define Xorriso_read_quality_tao_enD   0x20000000
 
#define Xorriso_read_quality_off_tracK   0x10000000
 
#define Xorriso_read_quality_unreadablE   0x00000000
 

Functions

int Xorriso_check_media_setup_job (struct XorrisO *xorriso, struct CheckmediajoB *job, char **argv, int old_idx, int end_idx, int flag)
 
int Xorriso_sectormap_to_spotlist (struct XorrisO *xorriso, struct CheckmediajoB *job, struct SpotlisT **spotlist, int flag)
 
int Xorriso_spotlist_to_sectormap (struct XorrisO *xorriso, struct SpotlisT *spotlist, int read_chunk, struct SectorbitmaP **map, int flag)
 
int Xorriso_open_job_data_to (struct XorrisO *xorriso, struct CheckmediajoB *job, int flag)
 
int Xorriso_check_media_list_job (struct XorrisO *xorriso, struct CheckmediajoB *job, char *report, int flag)
 
int Xorriso_update_in_sector_map (struct XorrisO *xorriso, struct SpotlisT *spotlist, int read_chunk, struct CheckmediajoB *job, int flag)
 
int Spotlist_new (struct SpotlisT **o, int flag)
 
int Spotlist_destroy (struct SpotlisT **o, int flag)
 
int Spotlist_add_item (struct SpotlisT *o, int start_lba, int blocks, int quality, int flag)
 
int Spotlist_count (struct SpotlisT *o, int flag)
 
int Spotlist_block_count (struct SpotlisT *o, int flag)
 
int Spotlist_sector_size (struct SpotlisT *o, int read_chunk, int flag)
 
int Spotlist_get_item (struct SpotlisT *o, int idx, int *start_lba, int *blocks, int *quality, int flag)
 
char * Spotlist__quality_name (int quality, char name[80], int bad_limit, int flag)
 
int Checkmediajob_new (struct CheckmediajoB **o, int flag)
 
int Checkmediajob_destroy (struct CheckmediajoB **o, int flag)
 
int Checkmediajob_copy (struct CheckmediajoB *from, struct CheckmediajoB *to, int flag)
 
int Sectorbitmap_new (struct SectorbitmaP **o, int sectors, int sector_size, int flag)
 
int Sectorbitmap_destroy (struct SectorbitmaP **o, int flag)
 
int Sectorbitmap_from_file (struct SectorbitmaP **o, char *path, char *msg, int *os_errno, int flag)
 
int Sectorbitmap_to_file (struct SectorbitmaP *o, char *path, char *info, char *msg, int *os_errno, int flag)
 
int Sectorbitmap_set (struct SectorbitmaP *o, int sector, int flag)
 
int Sectorbitmap_set_range (struct SectorbitmaP *o, int start_sector, int sectors, int flag)
 
int Sectorbitmap_is_set (struct SectorbitmaP *o, int sector, int flag)
 
int Sectorbitmap_bytes_are_set (struct SectorbitmaP *o, off_t start_byte, off_t end_byte, int flag)
 
int Sectorbitmap_get_layout (struct SectorbitmaP *o, int *sectors, int *sector_size, int flag)
 
int Sectorbitmap_copy (struct SectorbitmaP *from, struct SectorbitmaP *to, int flag)
 
int Sectorbitmap_clone (struct SectorbitmaP *from, struct SectorbitmaP **clone, int flag)
 

Macro Definition Documentation

◆ Xorriso_pvt_check_includeD

#define Xorriso_pvt_check_includeD   yes

Definition at line 14 of file check_media.h.

◆ Xorriso_read_quality_gooD

#define Xorriso_read_quality_gooD   0x7fffffff

Definition at line 82 of file check_media.h.

◆ Xorriso_read_quality_invaliD

#define Xorriso_read_quality_invaliD   0x30000000

Definition at line 89 of file check_media.h.

◆ Xorriso_read_quality_md5_matcH

#define Xorriso_read_quality_md5_matcH   0x70000000

Definition at line 83 of file check_media.h.

◆ Xorriso_read_quality_md5_mismatcH

#define Xorriso_read_quality_md5_mismatcH   0x38000000

Definition at line 88 of file check_media.h.

◆ Xorriso_read_quality_off_tracK

#define Xorriso_read_quality_off_tracK   0x10000000

Definition at line 91 of file check_media.h.

◆ Xorriso_read_quality_partiaL

#define Xorriso_read_quality_partiaL   0x50000000

Definition at line 85 of file check_media.h.

◆ Xorriso_read_quality_sloW

#define Xorriso_read_quality_sloW   0x60000000

Definition at line 84 of file check_media.h.

◆ Xorriso_read_quality_tao_enD

#define Xorriso_read_quality_tao_enD   0x20000000

Definition at line 90 of file check_media.h.

◆ Xorriso_read_quality_unreadablE

#define Xorriso_read_quality_unreadablE   0x00000000

Definition at line 92 of file check_media.h.

◆ Xorriso_read_quality_untesteD

#define Xorriso_read_quality_untesteD   0x3fffffff

Definition at line 87 of file check_media.h.

◆ Xorriso_read_quality_valiD

#define Xorriso_read_quality_valiD   0x40000000

Definition at line 86 of file check_media.h.

Function Documentation

◆ Checkmediajob_copy()

◆ Checkmediajob_destroy()

◆ Checkmediajob_new()

◆ Sectorbitmap_bytes_are_set()

int Sectorbitmap_bytes_are_set ( struct SectorbitmaP o,
off_t  start_byte,
off_t  end_byte,
int  flag 
)

Definition at line 485 of file check_media.c.

References SectorbitmaP::sector_size, and Sectorbitmap_is_set().

Referenced by Xorriso_update_iso_lba0().

◆ Sectorbitmap_clone()

int Sectorbitmap_clone ( struct SectorbitmaP from,
struct SectorbitmaP **  clone,
int  flag 
)

◆ Sectorbitmap_copy()

◆ Sectorbitmap_destroy()

◆ Sectorbitmap_from_file()

int Sectorbitmap_from_file ( struct SectorbitmaP **  o,
char *  path,
char *  msg,
int *  os_errno,
int  flag 
)

◆ Sectorbitmap_get_layout()

int Sectorbitmap_get_layout ( struct SectorbitmaP o,
int *  sectors,
int *  sector_size,
int  flag 
)

◆ Sectorbitmap_is_set()

int Sectorbitmap_is_set ( struct SectorbitmaP o,
int  sector,
int  flag 
)

◆ Sectorbitmap_new()

int Sectorbitmap_new ( struct SectorbitmaP **  o,
int  sectors,
int  sector_size,
int  flag 
)

◆ Sectorbitmap_set()

int Sectorbitmap_set ( struct SectorbitmaP o,
int  sector,
int  flag 
)

Definition at line 438 of file check_media.c.

References SectorbitmaP::map, and SectorbitmaP::sectors.

Referenced by Sectorbitmap_set_range().

◆ Sectorbitmap_set_range()

int Sectorbitmap_set_range ( struct SectorbitmaP o,
int  start_sector,
int  sectors,
int  flag 
)

◆ Sectorbitmap_to_file()

int Sectorbitmap_to_file ( struct SectorbitmaP o,
char *  path,
char *  info,
char *  msg,
int *  os_errno,
int  flag 
)

◆ Spotlist__quality_name()

◆ Spotlist_add_item()

◆ Spotlist_block_count()

int Spotlist_block_count ( struct SpotlisT o,
int  flag 
)

◆ Spotlist_count()

◆ Spotlist_destroy()

int Spotlist_destroy ( struct SpotlisT **  o,
int  flag 
)

◆ Spotlist_get_item()

int Spotlist_get_item ( struct SpotlisT o,
int  idx,
int *  start_lba,
int *  blocks,
int *  quality,
int  flag 
)

◆ Spotlist_new()

◆ Spotlist_sector_size()

int Spotlist_sector_size ( struct SpotlisT o,
int  read_chunk,
int  flag 
)

◆ Xorriso_check_media_list_job()

◆ Xorriso_check_media_setup_job()

◆ Xorriso_open_job_data_to()

int Xorriso_open_job_data_to ( struct XorrisO xorriso,
struct CheckmediajoB job,
int  flag 
)

◆ Xorriso_sectormap_to_spotlist()

◆ Xorriso_spotlist_to_sectormap()

◆ Xorriso_update_in_sector_map()