Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
file_pair Struct Reference

#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.
 

Field Documentation

◆ dest_fd

int dest_fd

File descriptor of the target file.

◆ dest_name

char * dest_name

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

◆ dest_pending_sparse

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.

◆ dest_st

struct stat dest_st

Stat of the destination file.

◆ dest_try_sparse

bool dest_try_sparse

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

◆ flush_needed

bool flush_needed

For –flush-timeout: True when flushing is needed.

◆ src_eof

bool src_eof

True once end of the source file has been detected.

◆ src_fd

int src_fd

File descriptor of the source file.

◆ src_has_seen_input

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.

◆ src_name

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.

◆ src_st

struct stat src_st

Stat of the source file.


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