Lines Matching refs:info
128 short info;
134 static struct pkginfo info;
348 if (pkginfo(&info, choice->pkginst, ckarch, ckvers)) {
357 if (info.name == NULL || *(info.name) == NULL ||
358 info.arch == NULL || *(info.arch) == NULL ||
359 info.version == NULL || *(info.version) == NULL ||
360 info.catg == NULL || *(info.catg) == NULL) {
367 if (iscatg(info.catg)) {
374 (choice->partial || (info.status == PI_PARTIAL) ||
375 (info.status == PI_UNKNOWN))) {
380 if (!iflag && (info.status == PI_INSTALLED)) {
419 (void) pkginfo(&info, NULL); /* free up all memory and open fds */
434 (void) puts((info.basedir) ? info.basedir : "none");
439 (void) puts(info.pkginst);
442 (void) printf(XFMT, pkgLngth, pkgLngth, info.pkginst,
443 info.name);
445 if (info.arch || info.version) {
447 if (info.arch)
448 (void) printf("(%s) ", info.arch);
449 if (info.version)
450 (void) printf("%s", info.version);
455 if (info.catg) {
456 (void) sscanf(info.catg, "%[^, \t\n]", category);
460 (void) printf(SFMT, category, pkgLngth, pkgLngth, info.pkginst,
461 info.name);
464 if (info.pkginst)
465 (void) printf(FMT, "PKGINST", info.pkginst);
466 if (info.name)
467 (void) printf(FMT, "NAME", info.name);
468 if (lflag && info.catg)
469 (void) printf(FMT, "CATEGORY", info.catg);
470 if (lflag && info.arch)
471 (void) printf(FMT, "ARCH", info.arch);
472 if (info.version)
473 (void) printf(FMT, "VERSION", info.version);
474 if (info.basedir)
475 (void) printf(FMT, "BASEDIR", info.basedir);
476 if (info.vendor)
477 (void) printf(FMT, "VENDOR", info.vendor);
480 if ((pt = pkgparam(info.pkginst, parmlst[i])) != NULL && *pt)
483 if (info.status == PI_SPOOLED)
485 else if (info.status == PI_PARTIAL)
488 else if (info.status == PI_INSTALLED)
524 if (dp->info)
526 dp->info+1); /* pkgmap counts! */
728 dp->info++;