Lines Matching defs: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) {
193 * pkg array contains the instance identifiers to
204 if (pkg[0] == NULL) { /* It's just a continuation. */
207 } else if (pkgnmchk(pkg[i], "all", 1)) {
210 inst = fpkginst(pkg[i], NULL, NULL);
212 progerr(pkg_gt(ERR_NOPKG), pkg[i]);
228 } while (inst = fpkginst(pkg[i], NULL, NULL));
230 if (fpkginfo(&info, pkg[i])) {
231 progerr(pkg_gt(ERR_NOPKG), pkg[i]);
237 nwpkg[n] = strdup(pkg[i]);
241 } while (pkg[++i]);