Lines Matching refs:basedir
84 parse_proto_line(const char *basedir, char *line, elem_list *list, short arch,
151 * if a basedir has a value, prepend it to the filename
153 if (basedir[0])
154 (void) strcat(strcat(strcpy(e->name, basedir), "/"), file);
257 parse_proto_link(const char *basedir, char *line, elem_list *list, short arch,
290 * if a basedir has a value, prepend it to the filename
292 if (basedir[0])
293 (void) strcat(strcat(strcpy(e->name, basedir), "/"), file);
355 * I will set the arch and basedir variables based on these fields.
358 read_pkginfo(const char *protodir, short *arch, char *basedir)
370 basedir[0] = '\0';
417 (void) strcpy(basedir, &buf[0]);
444 * basedir - basedir for package
453 elem_list *list, short arch, const char *basedir, const char *pkgname)
480 if ((rc = parse_proto_line(basedir, buf, list, arch,
510 protodir, list, arch, basedir,
551 * basedir - basedir for package
560 elem_list *list, short arch, const char *basedir, const char *pkgname)
580 if ((rc = parse_proto_link(basedir, buf, list, arch,
609 protodir, list, arch, basedir, pkgname);
639 char basedir[MAXPATHLEN];
683 read_pkginfo(protodir, &arch, basedir);
686 basedir, pkgname);
688 basedir, pkgname);