Lines Matching defs:arcn
256 ftree_sel(ARCHD *arcn)
276 if (Mflag || !dflag || (arcn->type != PAX_DIR))
403 * 0 when contents of arcn have been set with the next file, -1 when done.
407 next_file(ARCHD *arcn)
425 * from specfile info, and jump below to complete setup of arcn.
640 * ok got a file tree node to process. copy info into arcn
643 arcn->skip = 0;
644 arcn->pad = 0;
645 arcn->ln_nlen = 0;
646 arcn->ln_name[0] = '\0';
647 arcn->sb = *(ftent->fts_statp);
650 * file type based set up and copy into the arcn struct
659 switch(S_IFMT & arcn->sb.st_mode) {
661 arcn->type = PAX_DIR;
664 add_atdir(ftent->fts_path, arcn->sb.st_dev,
665 arcn->sb.st_ino, arcn->sb.st_mtime,
666 arcn->sb.st_atime);
669 arcn->type = PAX_CHR;
672 arcn->type = PAX_BLK;
681 arcn->type = PAX_REG;
682 arcn->skip = arcn->sb.st_size;
685 arcn->type = PAX_SLK;
687 cnt = strlcpy(arcn->ln_name, curlink,
688 sizeof(arcn->ln_name));
693 readlink(ftent->fts_path, arcn->ln_name,
694 sizeof(arcn->ln_name) - 1)) < 0) {
703 arcn->ln_name[cnt] = '\0';
704 arcn->ln_nlen = cnt;
713 arcn->type = PAX_SCK;
717 arcn->type = PAX_FIF;
726 arcn->nlen = strlcpy(arcn->name, ftent->fts_path, sizeof(arcn->name));
727 arcn->org_name = arcn->fts_name;
728 strlcpy(arcn->fts_name, ftent->fts_path, sizeof arcn->fts_name);