![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <file_io.h>
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 | src_has_seen_input |
bool | flush_needed |
For –flush-timeout: True when flushing is needed. | |
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. | |
int dest_fd |
File descriptor of the target file.
char * dest_name |
Destination filename converted from src_name or pointer to static "(stdout)" when writing to standard output.
off_t 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.
struct stat dest_st |
Stat of the destination file.
bool dest_try_sparse |
If true, we look for long chunks of zeros and try to create a sparse file.
bool flush_needed |
For –flush-timeout: True when flushing is needed.
bool src_eof |
True once end of the source file has been detected.
int src_fd |
File descriptor of the source file.
bool src_has_seen_input |
For –flush-timeout: True if at least one byte has been read since the previous flush or the start of the file.
const char * src_name |
Name of the source filename (as given on the command line) or pointer to static "(stdin)" when reading from standard input.
struct stat src_st |
Stat of the source file.