Lines Matching defs:repo
188 entity_write_repo(const struct repo *rp)
217 * repo, then flush those into the parser process.
220 entityq_flush(struct entityq *q, struct repo *rp)
238 struct repo *rp, unsigned char *data, size_t datasz, int talid, int certid,
261 * Write to the queue if there's no repo or the repo has already
406 struct repo *rp;
458 struct repo *repo;
467 /* figure out the TA filename, must be done before repo lookup */
474 repo = ta_lookup(tal->id, tal);
475 if (repo == NULL) {
483 entityq_add(NULL, nfile, RTYPE_CER, DIR_UNKNOWN, repo, data,
493 struct repo *repo;
500 if (strncmp(cert->repo, RSYNC_PROTO, RSYNC_PROTO_LEN) != 0)
502 host = cert->repo + RSYNC_PROTO_LEN;
506 warnx("skipping %s (listed in skiplist)", cert->repo);
519 warnx("skipping %s (not shortlisted)", cert->repo);
523 repo = repo_lookup(cert->talid, cert->repo,
525 if (repo == NULL)
530 * MFT URI in the cert based on the repo base URI.
533 repouri = repo_uri(repo);
552 entityq_add(npath, nfile, RTYPE_MFT, DIR_UNKNOWN, repo, NULL, 0,
574 struct repo *rp;
762 sum_stats(const struct repo *rp, const struct repotalstats *in, void *arg)
795 sum_repostats(const struct repo *rp, const struct repostats *in, void *arg)