X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon.h;h=2d48dbbe0040d62ae7102efe78a893ec709e8d0b;hb=ac74317f46ae667f2d2be0e2ab69f8b218e86bd8;hp=77c353bc46a25a5124bf18bb99e2d0577afa7af3;hpb=aa976a517088ba75fa0168b47803b3988f89c9c3;p=chaz%2Ftar 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, ...);