X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Frepo.h;h=e73ad35f48617f12607f4bbf3996c50dd702d9cb;hb=a01bfc1069ca1886f9541def229f4fff1c0efe4c;hp=0011371e5f46d7daf11967c3a4c4b9a10fbf632b;hpb=cb9d1fc8e7ebc8b5af01b822e7f7f37934c3c776;p=platform%2Fupstream%2Flibsolv.git diff --git a/src/repo.h b/src/repo.h index 0011371..e73ad35 100644 --- a/src/repo.h +++ b/src/repo.h @@ -196,8 +196,9 @@ Repodata *repo_last_repodata(Repo *repo); void repo_search(Repo *repo, Id p, Id key, const char *match, int flags, int (*callback)(void *cbdata, Solvable *s, Repodata *data, Repokey *key, KeyValue *kv), void *cbdata); /* returns the string value of the attribute, or NULL if not found */ +Id repo_lookup_type(Repo *repo, Id entry, Id key); const char *repo_lookup_str(Repo *repo, Id entry, Id key); -/* returns the integer value of the attribute, or 0 if not found */ +/* returns the integer value of the attribute, or notfound if not found */ unsigned int repo_lookup_num(Repo *repo, Id entry, Id key, unsigned int notfound); Id repo_lookup_id(Repo *repo, Id entry, Id keyid); int repo_lookup_void(Repo *repo, Id entry, Id keyid);