Lines Matching refs:arcn
190 ftree_sel(ARCHD *arcn)
209 if (!dflag || (arcn->type != PAX_DIR))
342 * 0 when contents of arcn have been set with the next file, -1 when done.
346 next_file(ARCHD *arcn)
447 * ok got a file tree node to process. copy info into arcn
450 arcn->skip = 0;
451 arcn->pad = 0;
452 arcn->ln_nlen = 0;
453 arcn->ln_name[0] = '\0';
455 arcn->sb = ftent->fts_statb;
457 arcn->sb = *(ftent->fts_statp);
461 * file type based set up and copy into the arcn struct
470 switch(S_IFMT & arcn->sb.st_mode) {
472 arcn->type = PAX_DIR;
475 add_atdir(ftent->fts_path, arcn->sb.st_dev,
476 arcn->sb.st_ino, arcn->sb.st_mtime,
477 arcn->sb.st_atime);
480 arcn->type = PAX_CHR;
483 arcn->type = PAX_BLK;
492 arcn->type = PAX_REG;
493 arcn->skip = arcn->sb.st_size;
496 arcn->type = PAX_SLK;
500 if ((cnt = readlink(ftent->fts_path, arcn->ln_name,
510 arcn->ln_name[cnt] = '\0';
511 arcn->ln_nlen = cnt;
519 arcn->type = PAX_SCK;
522 arcn->type = PAX_FIF;
531 arcn->nlen = l_strncpy(arcn->name, ftent->fts_path, sizeof(arcn->name) - 1);
532 arcn->name[arcn->nlen] = '\0';
533 arcn->org_name = ftent->fts_path;