Lines Matching defs:tf_hdr
113 struct ustar_hdr tf_hdr;
242 if (strcmp(fn, tf->tf_hdr.ut_name) == 0) {
246 fn, tf->tf_hdr.ut_typeflag[0]));
247 if (tf->tf_hdr.ut_typeflag[0] == '2') {
253 return pkg_open_follow(tf->tf_hdr.ut_linkname,
418 sb->st_mtime = pkg_atol(tf->tf_hdr.ut_mtime, 12);
440 memcpy(d->d_name, tf->tf_hdr.ut_name, sizeof(d->d_name));
537 __func__, tf->tf_hdr.ut_name));
650 return (pkg_atol(tf->tf_hdr.ut_mode, sizeof(tf->tf_hdr.ut_mode)));
795 if (get_zipped(pkg, &cur->tf_hdr,
796 sizeof(cur->tf_hdr)) == -1) {
805 if (strncmp(cur->tf_hdr.ut_magic, "ustar", 5) != 0) {
812 cur->tf_size = pkg_atol(cur->tf_hdr.ut_size,
813 sizeof(cur->tf_hdr.ut_size));
815 if (cur->tf_hdr.ut_name[0] != '+')