Lines Matching defs:info
52 static char *prompt(struct pkginfo *info, int npkgs);
63 getinst(int *updatingExisting, struct pkginfo *info, int npkgs,
72 /* entry debugging info */
113 if (strcmp(info[i].arch, pkgarch) == NULL) {
116 if (strcmp(info[i].version, pkgvers) == NULL) {
117 sameinst = info[i].pkginst;
157 inst = info[samearch].pkginst;
158 if (info[samearch].status == PI_PRESVR4) {
194 inst = prompt(info, npkgs);
204 if (strcmp(inst, info[i].pkginst) == NULL) {
205 if (info[i].status == PI_PRESVR4) {
228 struct pkginfo info;
233 info.pkginst = NULL;
235 while (pkginfo(&info, newinst, NULL, NULL) == 0) {
243 prompt(struct pkginfo *info, int npkgs)
273 "%s %s\n(%s) %s", info[i].pkginst,
274 info[i].name, info[i].arch, info[i].version);
287 (void) strcpy(newinst, info[0].pkginst);