Data Fields | |
const char * | src_name |
char * | dest_name |
int | src_fd |
File descriptor of the source file. | |
int | dest_fd |
File descriptor of the target file. | |
bool | src_eof |
True once end of the source file has been detected. | |
bool | dest_try_sparse |
off_t | dest_pending_sparse |
struct stat | src_st |
Stat of the source file. | |
struct stat | dest_st |
Stat of the destination file. |
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(), io_close_src(), io_open_src(), io_open_src_real(), io_pread(), io_read(), 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_copy_attrs(), and io_write().
File descriptor of the source file.
Referenced by io_close_src(), io_open_src_real(), io_pread(), and io_read().
File descriptor of the target file.
Referenced by io_close(), io_close_dest(), io_copy_attrs(), 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().
If true, we look for long chunks of zeros and try to create a sparse file.
Referenced by io_close(), and io_write().
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().