From: Sergey Poznyakoff Date: Tue, 6 Dec 2005 16:32:05 +0000 (+0000) Subject: (archive_format_string,subcommand_string,sys_exec_info_script): New prototypes. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=02510592673b2f01c9b7d760e8e941752a82b7ba;p=chaz%2Ftar (archive_format_string,subcommand_string,sys_exec_info_script): New prototypes. --- diff --git a/src/common.h b/src/common.h index 77c353b..2d48dbb 100644 --- a/src/common.h +++ b/src/common.h @@ -617,6 +617,8 @@ void tar_stat_init (struct tar_stat_info *st); void tar_stat_destroy (struct tar_stat_info *st); void usage (int) __attribute__ ((noreturn)); int tar_timespec_cmp (struct timespec a, struct timespec b); +const char *archive_format_string (enum archive_format fmt); +const char *subcommand_string (enum subcommand c); /* Module update.c. */ @@ -664,6 +666,7 @@ size_t sys_write_archive_buffer (void); bool sys_get_archive_stat (void); int sys_exec_command (char *file_name, int typechar, struct tar_stat_info *st); void sys_wait_command (void); +int sys_exec_info_script (const char *archive_name, int volume_number); /* Module compare.c */ void report_difference (struct tar_stat_info *st, const char *message, ...);