| /src/external/bsd/libarchive/dist/tar/ |
| read.c | 59 #include "bsdtar.h" 63 struct bsdtar *bsdtar; member in struct:progress_data 68 static void read_archive(struct bsdtar *bsdtar, char mode, struct archive *); 73 tar_mode_t(struct bsdtar *bsdtar) 75 read_archive(bsdtar, 't', NULL); 76 if (unmatched_inclusions_warn(bsdtar->matching, 78 bsdtar->return_value = 1 105 struct bsdtar *bsdtar = progress_data->bsdtar; local [all...] |
| bsdtar.c | 57 #include "bsdtar.h" 105 static void only_mode(struct bsdtar *, const char *opt, 107 static void set_mode(struct bsdtar *, int opt); 140 struct bsdtar *bsdtar, bsdtar_storage; local 155 bsdtar = &bsdtar_storage; 156 memset(bsdtar, 0, sizeof(*bsdtar)); 157 bsdtar->fd = -1; /* Mark as "unused" */ 158 bsdtar->gid = -1 [all...] |
| util.c | 43 #include "bsdtar.h" 235 /* To be resilient when stdin is a pipe, bsdtar prefers to read from 295 set_chdir(struct bsdtar *bsdtar, const char *newdir) 307 free(bsdtar->pending_chdir); 308 bsdtar->pending_chdir = NULL; 310 if (bsdtar->pending_chdir == NULL) 312 bsdtar->pending_chdir = strdup(newdir); 315 char *old_pending = bsdtar->pending_chdir; 321 bsdtar->pending_chdir = malloc(new_len) 654 struct bsdtar *bsdtar = (struct bsdtar *)_client_data; local [all...] |
| write.c | 60 #include "bsdtar.h" 79 static int append_archive(struct bsdtar *, struct archive *, 81 static int append_archive_filename(struct bsdtar *, 83 static void archive_names_from_file(struct bsdtar *bsdtar, 85 static int copy_file_data_block(struct bsdtar *, 90 static void report_write(struct bsdtar *, struct archive *, 92 static void test_for_append(struct bsdtar *); 95 static void write_archive(struct archive *, struct bsdtar *); 96 static void write_entry(struct bsdtar *, struct archive * 826 struct bsdtar *bsdtar = (struct bsdtar *)_data; local 841 struct bsdtar *bsdtar = (struct bsdtar *)_data; local [all...] |
| bsdtar.h | 27 * The internal state for the "bsdtar" program. 31 * pointer to this structure is passed to most bsdtar internal 34 struct bsdtar { struct 191 int bsdtar_getopt(struct bsdtar *); 192 void do_chdir(struct bsdtar *); 193 int edit_pathname(struct bsdtar *, struct archive_entry *); 194 void edit_mtime(struct bsdtar *, struct archive_entry *); 198 void set_chdir(struct bsdtar *, const char *newdir); 200 void tar_mode_c(struct bsdtar *bsdtar); [all...] |