/dragonfly/contrib/libarchive/tar/ |
H A D | bsdtar.c | 153 struct bsdtar *bsdtar, bsdtar_storage; in main() local 167 memset(bsdtar, 0, sizeof(*bsdtar)); in main() 331 set_chdir(bsdtar, bsdtar->argument); in main() 370 bsdtar->filename = bsdtar->argument; in main() 383 bsdtar->gname = bsdtar->argument; in main() 423 bsdtar->names_from_file = bsdtar->argument; in main() 629 bsdtar->option_options = bsdtar->argument; in main() 654 bsdtar->passphrase = bsdtar->argument; in main() 726 bsdtar->uname = bsdtar->argument; in main() 755 bsdtar->matching, bsdtar->argument, 0) in main() [all …]
|
H A D | write.c | 100 static void archive_names_from_file(struct bsdtar *bsdtar, 206 tar_mode_c(struct bsdtar *bsdtar) in tar_mode_c() argument 259 tar_mode_r(struct bsdtar *bsdtar) in tar_mode_r() argument 350 tar_mode_u(struct bsdtar *bsdtar) in tar_mode_u() argument 477 bsdtar->matching, excluded_callback, bsdtar); in write_archive() 479 bsdtar->diskreader, metadata_filter, bsdtar); in write_archive() 814 struct bsdtar *bsdtar = (struct bsdtar *)_data; in excluded_callback() local 829 struct bsdtar *bsdtar = (struct bsdtar *)_data; in metadata_filter() local 961 write_file(struct bsdtar *bsdtar, struct archive *a, in write_file() argument 971 write_entry(struct bsdtar *bsdtar, struct archive *a, in write_entry() argument [all …]
|
H A D | cmdline.c | 215 bsdtar_getopt(struct bsdtar *bsdtar) in bsdtar_getopt() argument 231 ++bsdtar->argv; in bsdtar_getopt() 232 --bsdtar->argc; in bsdtar_getopt() 240 bsdtar->getopt_word = *bsdtar->argv++; in bsdtar_getopt() 241 --bsdtar->argc; in bsdtar_getopt() 260 bsdtar->argument = *bsdtar->argv; in bsdtar_getopt() 290 bsdtar->getopt_word = *bsdtar->argv++; in bsdtar_getopt() 291 --bsdtar->argc; in bsdtar_getopt() 327 bsdtar->getopt_word = *bsdtar->argv; in bsdtar_getopt() 342 bsdtar->argument = bsdtar->getopt_word; in bsdtar_getopt() [all …]
|
H A D | read.c | 82 struct bsdtar *bsdtar; member 92 tar_mode_t(struct bsdtar *bsdtar) in tar_mode_t() argument 101 tar_mode_x(struct bsdtar *bsdtar) in tar_mode_x() argument 124 struct bsdtar *bsdtar = progress_data->bsdtar; in progress_func() local 133 if (bsdtar->verbose) in progress_func() 160 read_archive(struct bsdtar *bsdtar, char mode, struct archive *writer) in read_archive() argument 174 bsdtar->argv++; in read_archive() 179 bsdtar->matching, bsdtar->names_from_file, in read_archive() 227 do_chdir(bsdtar); in read_archive() 231 progress_data.bsdtar = bsdtar; in read_archive() [all …]
|
H A D | util.c | 290 set_chdir(struct bsdtar *bsdtar, const char *newdir) argument 325 do_chdir(struct bsdtar *bsdtar) argument 378 warn_strip_leading_char(struct bsdtar *bsdtar, const char *c) argument 389 warn_strip_drive_letter(struct bsdtar *bsdtar) argument 404 strip_absolute_path(struct bsdtar *bsdtar, const char *p) argument 467 edit_pathname(struct bsdtar *bsdtar, struct archive_entry *entry) argument 631 struct bsdtar *bsdtar = (struct bsdtar *)_client_data; local 685 if (!bsdtar->u_width) { 686 bsdtar->u_width = 6; 687 bsdtar->gs_width = 13; [all …]
|
H A D | bsdtar.h | 48 struct bsdtar { struct 198 int bsdtar_getopt(struct bsdtar *); 199 void do_chdir(struct bsdtar *); 204 void set_chdir(struct bsdtar *, const char *newdir); 206 void tar_mode_c(struct bsdtar *bsdtar); 207 void tar_mode_r(struct bsdtar *bsdtar); 208 void tar_mode_t(struct bsdtar *bsdtar); 209 void tar_mode_u(struct bsdtar *bsdtar); 210 void tar_mode_x(struct bsdtar *bsdtar); 217 void cleanup_substitution(struct bsdtar *); [all …]
|
H A D | subst.c | 59 init_substitution(struct bsdtar *bsdtar) in init_substitution() argument 63 bsdtar->substitution = subst = malloc(sizeof(*subst)); in init_substitution() 70 add_substitution(struct bsdtar *bsdtar, const char *rule_text) in add_substitution() argument 78 if ((subst = bsdtar->substitution) == NULL) { in add_substitution() 79 init_substitution(bsdtar); in add_substitution() 80 subst = bsdtar->substitution; in add_substitution() 210 apply_substitution(struct bsdtar *bsdtar, const char *name, char **result, in apply_substitution() argument 222 if ((subst = bsdtar->substitution) == NULL) in apply_substitution() 312 cleanup_substitution(struct bsdtar *bsdtar) in cleanup_substitution() argument 317 if ((subst = bsdtar->substitution) == NULL) in cleanup_substitution()
|
/dragonfly/usr.bin/tar/ |
H A D | Makefile | 1 PROG= bsdtar 2 SRCS= bsdtar.c cmdline.c creation_set.c read.c subst.c util.c write.c 16 SYMLINKS= bsdtar ${BINDIR}/tar 17 MLINKS= bsdtar.1 tar.1
|
/dragonfly/contrib/libarchive/ |
H A D | NEWS | 396 Feb 18, 2008: [bsdtar] Permit appending on block devices. 446 Dec 03, 2007: Fixed bsdcpio -help, bsdtar -help tests. 447 Dec 02, 2007: First cut at real bsdtar test harness. 473 hope this eventually replaces the code currently in bsdtar. 478 bsdtar.1 manpages. 481 bsdtar extraction of zip archives. 490 that bsdtar has. 613 some unnecessary headers, added #include guards in bsdtar. 720 file that builds both libarchive and bsdtar. 742 new directory-walking code for bsdtar. [all …]
|