XZ Utils  5.2.2
Data Fields
file_pair Struct Reference

Data Fields

const char * src_name
 
char * dest_name
 
int src_fd
 File descriptor of the source file. More...
 
int dest_fd
 File descriptor of the target file. More...
 
bool src_eof
 True once end of the source file has been detected. More...
 
bool dest_try_sparse
 
off_t dest_pending_sparse
 
struct stat src_st
 Stat of the source file. More...
 
struct stat dest_st
 Stat of the destination file. More...
 

Field Documentation

const char* file_pair::src_name

Name of the source filename (as given on the command line) or pointer to static "(stdin)" when reading from standard input.

Referenced by coder_init(), coder_normal(), get_check_names(), io_close_src(), io_open_src(), io_open_src_real(), io_pread(), io_read(), io_wait(), parse_block_header(), and parse_indexes().

char* file_pair::dest_name

Destination filename converted from src_name or pointer to static "(stdout)" when writing to standard output.

Referenced by io_close(), io_close_dest(), io_close_src(), io_copy_attrs(), io_pread(), io_wait(), and io_write().

int file_pair::src_fd

File descriptor of the source file.

Referenced by io_close_src(), io_fix_src_pos(), io_open_src_real(), io_pread(), io_read(), and io_wait().

int file_pair::dest_fd

File descriptor of the target file.

Referenced by io_close(), io_close_dest(), io_close_src(), io_copy_attrs(), io_pread(), io_wait(), and io_write().

bool file_pair::src_eof

True once end of the source file has been detected.

Referenced by coder_normal(), and io_read().

bool file_pair::dest_try_sparse

If true, we look for long chunks of zeros and try to create a sparse file.

Referenced by io_close(), io_close_src(), and io_write().

off_t file_pair::dest_pending_sparse

This is used only if dest_try_sparse is true. This holds the number of zero bytes we haven't written out, because we plan to make that byte range a sparse chunk.

Referenced by io_close(), and io_write().

struct stat file_pair::src_st

Stat of the source file.

Referenced by coder_run(), io_close_src(), io_copy_attrs(), io_open_src_real(), and parse_indexes().

struct stat file_pair::dest_st

Stat of the destination file.

Referenced by io_close_dest(), and io_close_src().


The documentation for this struct was generated from the following file: