| 319 |
|
|
| 320 |
/* Number of elements in sparsearray. */ |
/* Number of elements in sparsearray. */ |
| 321 |
GLOBAL int sp_array_size; |
GLOBAL int sp_array_size; |
| 322 |
|
|
| 323 |
|
/* Obnoxious test to see if dimwit is trying to dump the archive. */ |
| 324 |
|
GLOBAL dev_t ar_dev; |
| 325 |
|
GLOBAL ino_t ar_ino; |
| 326 |
|
|
| 327 |
|
|
| 328 |
/* Declarations for each module. */ |
/* Declarations for each module. */ |
| 329 |
|
|
| 359 |
void print_total_written (void); |
void print_total_written (void); |
| 360 |
void reset_eof (void); |
void reset_eof (void); |
| 361 |
void set_next_block_after (union block *); |
void set_next_block_after (union block *); |
| 362 |
|
void clear_read_error_count (void); |
| 363 |
|
void xclose (int fd); |
| 364 |
|
void archive_write_error (ssize_t) __attribute__ ((noreturn)); |
| 365 |
|
void archive_read_error (void); |
| 366 |
|
|
| 367 |
/* Module create.c. */ |
/* Module create.c. */ |
| 368 |
|
|
| 615 |
void xheader_read (union block *, size_t); |
void xheader_read (union block *, size_t); |
| 616 |
void xheader_finish (struct xheader *); |
void xheader_finish (struct xheader *); |
| 617 |
void xheader_destroy (struct xheader *); |
void xheader_destroy (struct xheader *); |
| 618 |
|
|
| 619 |
|
/* Module system.c */ |
| 620 |
|
|
| 621 |
|
void sys_detect_dev_null_output (void); |
| 622 |
|
void sys_save_archive_dev_ino (void); |
| 623 |
|
void sys_drain_input_pipe (void); |
| 624 |
|
void sys_wait_for_child (pid_t); |
| 625 |
|
void sys_spawn_shell (void); |
| 626 |
|
void sys_compare_uid_gid (struct stat *a, struct stat *b); |
| 627 |
|
bool sys_file_is_archive (struct tar_stat_info *p); |
| 628 |
|
void sys_compare_links (struct stat *link_data, struct stat *stat_data); |
| 629 |
|
int sys_truncate (int fd); |
| 630 |
|
void sys_reset_uid_gid (void); |
| 631 |
|
pid_t sys_child_open_for_compress (void); |
| 632 |
|
pid_t sys_child_open_for_uncompress (void); |
| 633 |
|
ssize_t sys_write_archive_buffer (void); |
| 634 |
|
bool sys_get_archive_stat (void); |
| 635 |
|
|
| 636 |
|
/* Module compare.c */ |
| 637 |
|
void report_difference (const char *message, ...); |