Lines Matching refs:tal
388 ta_get(struct tal *tal)
400 if ((tr->descr = strdup(tal->descr)) == NULL)
402 tr->basedir = repo_dir(tal->descr, ".ta", 0);
413 tr->urisz = tal->urisz;
414 tr->uri = tal->uri;
415 tal->urisz = 0;
416 tal->uri = NULL;
1099 ta_lookup(int id, struct tal *tal)
1103 if (tal->urisz == 0)
1104 errx(1, "TAL %s has no URI", tal->descr);
1108 if (strcmp(rp->repouri, tal->uri[0]) == 0)
1113 rp->basedir = repo_dir(tal->descr, "ta", 0);
1114 if ((rp->repouri = strdup(tal->uri[0])) == NULL)
1128 rp->ta = ta_get(tal);
1324 * Return the repository tal ID.