Lines Matching refs:basedir
87 parse_proto_line(const char *basedir, char *line, elem_list *list, short arch,
154 * if a basedir has a value, prepend it to the filename
156 if (basedir[0])
157 (void) strcat(strcat(strcpy(e->name, basedir), "/"), file);
260 parse_proto_link(const char *basedir, char *line, elem_list *list, short arch,
293 * if a basedir has a value, prepend it to the filename
295 if (basedir[0])
296 (void) strcat(strcat(strcpy(e->name, basedir), "/"), file);
358 * I will set the arch and basedir variables based on these fields.
361 read_pkginfo(const char *protodir, short *arch, char *basedir)
373 basedir[0] = '\0';
420 (void) strcpy(basedir, &buf[0]);
447 * basedir - basedir for package
456 elem_list *list, short arch, const char *basedir, const char *pkgname)
483 if ((rc = parse_proto_line(basedir, buf, list, arch,
513 protodir, list, arch, basedir,
554 * basedir - basedir for package
563 elem_list *list, short arch, const char *basedir, const char *pkgname)
583 if ((rc = parse_proto_link(basedir, buf, list, arch,
612 protodir, list, arch, basedir, pkgname);
642 char basedir[MAXPATHLEN];
686 read_pkginfo(protodir, &arch, basedir);
689 basedir, pkgname);
691 basedir, pkgname);