Searched refs:bsdtar (Results 1 - 8 of 8) sorted by relevance

/freebsd-9.3-release/contrib/libarchive/tar/
H A Dbsdtar.c70 #include "bsdtar.h"
92 static struct bsdtar *_bsdtar;
123 static void only_mode(struct bsdtar *, const char *opt,
125 static void set_mode(struct bsdtar *, char opt);
136 struct bsdtar *bsdtar, bsdtar_storage; local
147 _bsdtar = bsdtar = &bsdtar_storage;
148 memset(bsdtar, 0, sizeof(*bsdtar));
149 bsdtar
653 set_mode(struct bsdtar *bsdtar, char opt) argument
665 only_mode(struct bsdtar *bsdtar, const char *opt, const char *valid_modes) argument
[all...]
H A Dread.c68 #include "bsdtar.h"
72 struct bsdtar *bsdtar; member in struct:progress_data
77 static void list_item_verbose(struct bsdtar *, FILE *,
79 static void read_archive(struct bsdtar *bsdtar, char mode);
82 tar_mode_t(struct bsdtar *bsdtar) argument
84 read_archive(bsdtar, 't');
85 if (lafe_unmatched_inclusions_warn(bsdtar
90 tar_mode_x(struct bsdtar *bsdtar) argument
102 struct bsdtar *bsdtar = progress_data->bsdtar; local
138 read_archive(struct bsdtar *bsdtar, char mode) argument
361 list_item_verbose(struct bsdtar *bsdtar, FILE *out, struct archive_entry *entry) argument
[all...]
H A Dwrite.c87 #include "bsdtar.h"
125 static void add_dir_list(struct bsdtar *bsdtar, const char *path,
127 static int append_archive(struct bsdtar *, struct archive *,
129 static int append_archive_filename(struct bsdtar *,
131 static void archive_names_from_file(struct bsdtar *bsdtar,
133 static int copy_file_data(struct bsdtar *, struct archive *a,
135 static int new_enough(struct bsdtar *, const char *path,
137 static void report_write(struct bsdtar *, struc
166 tar_mode_c(struct bsdtar *bsdtar) argument
249 tar_mode_r(struct bsdtar *bsdtar) argument
343 tar_mode_u(struct bsdtar *bsdtar) argument
438 write_archive(struct archive *a, struct bsdtar *bsdtar) argument
524 archive_names_from_file(struct bsdtar *bsdtar, struct archive *a) argument
559 append_archive_filename(struct bsdtar *bsdtar, struct archive *a, const char *filename) argument
590 append_archive(struct bsdtar *bsdtar, struct archive *a, struct archive *ina) argument
638 copy_file_data(struct bsdtar *bsdtar, struct archive *a, struct archive *ina, struct archive_entry *entry) argument
668 write_hierarchy(struct bsdtar *bsdtar, struct archive *a, const char *path) argument
937 write_entry_backend(struct bsdtar *bsdtar, struct archive *a, struct archive_entry *entry) argument
990 report_write(struct bsdtar *bsdtar, struct archive *a, struct archive_entry *entry, int64_t progress) argument
1020 write_file_data(struct bsdtar *bsdtar, struct archive *a, struct archive_entry *entry, int fd) argument
1062 new_enough(struct bsdtar *bsdtar, const char *path, const struct stat *st) argument
1111 add_dir_list(struct bsdtar *bsdtar, const char *path, time_t mtime_sec, int mtime_nsec) argument
1149 test_for_append(struct bsdtar *bsdtar) argument
[all...]
H A Dbsdtar.h36 * The internal state for the "bsdtar" program.
40 * pointer to this structure is passed to most bsdtar internal
43 struct bsdtar { struct
145 int bsdtar_getopt(struct bsdtar *);
146 void do_chdir(struct bsdtar *);
147 int edit_pathname(struct bsdtar *, struct archive_entry *);
151 void set_chdir(struct bsdtar *, const char *newdir);
153 void tar_mode_c(struct bsdtar *bsdtar);
154 void tar_mode_r(struct bsdtar *bsdta
[all...]
H A Dcmdline.c43 #include "bsdtar.h"
56 * defined in bsdtar.h. Also note that so far I've found no need
141 * has, of course, been shamelessly tailored for bsdtar. (If you're
159 * early bsdtar as a way to access long options on platforms that did
170 * bsdtar.c.
179 bsdtar_getopt(struct bsdtar *bsdtar) argument
192 bsdtar->optarg = NULL;
197 ++bsdtar->argv;
198 --bsdtar
[all...]
H A Dutil.c62 #include "bsdtar.h"
273 set_chdir(struct bsdtar *bsdtar, const char *newdir) argument
277 free(bsdtar->pending_chdir);
278 bsdtar->pending_chdir = NULL;
280 if (bsdtar->pending_chdir == NULL)
282 bsdtar->pending_chdir = strdup(newdir);
285 char *old_pending = bsdtar->pending_chdir;
287 bsdtar->pending_chdir = malloc(old_len + strlen(newdir) + 2);
290 if (bsdtar
300 do_chdir(struct bsdtar *bsdtar) argument
359 edit_pathname(struct bsdtar *bsdtar, struct archive_entry *entry) argument
[all...]
H A Dsubst.c30 #include "bsdtar.h"
55 init_substitution(struct bsdtar *bsdtar) argument
59 bsdtar->substitution = subst = malloc(sizeof(*subst));
66 add_substitution(struct bsdtar *bsdtar, const char *rule_text) argument
74 if ((subst = bsdtar->substitution) == NULL) {
75 init_substitution(bsdtar);
76 subst = bsdtar->substitution;
186 apply_substitution(struct bsdtar *bsdta argument
274 cleanup_substitution(struct bsdtar *bsdtar) argument
[all...]
/freebsd-9.3-release/usr.bin/tar/
H A DMakefile6 PROG= bsdtar
10 SRCS= bsdtar.c \
39 SYMLINKS= bsdtar ${BINDIR}/tar
40 MLINKS= bsdtar.1 tar.1
44 check test: $(PROG) bsdtar.1.gz

Completed in 60 milliseconds