Lines Matching refs:pkg
51 extern int pkgnmchk(register char *pkg, register char *spec,
54 extern char *fpkginst(char *pkg, ...);
113 gpkglist(char *dir, char **pkg, char **catg)
138 if (pkg[0] == NULL && !cont_in_list) {
194 * pkg array contains the instance identifiers to
205 if (pkg[0] == NULL) { /* It's just a continuation. */
208 } else if (pkgnmchk(pkg[i], "all", 1)) {
211 inst = fpkginst(pkg[i], NULL, NULL);
213 progerr(pkg_gt(ERR_NOPKG), pkg[i]);
229 } while (inst = fpkginst(pkg[i], NULL, NULL));
231 if (fpkginfo(&info, pkg[i])) {
232 progerr(pkg_gt(ERR_NOPKG), pkg[i]);
238 nwpkg[n] = strdup(pkg[i]);
242 } while (pkg[++i]);