Lines Matching defs:tag
63 uint32_t tag; /* 4 byte tag */
76 static char *rpm_getstr(int tag, int itemindex);
77 static int rpm_getint(int tag, int itemindex);
78 static int rpm_getcount(int tag);
280 tmpindex->tag = ntohl(tmpindex->tag);
285 tmpindex->tag -= 743;
299 int *tag = (int *)key;
301 return (*tag - tmp[0]->tag);
304 static int rpm_getcount(int tag)
307 found = bsearch(&tag, mytags, tagcount, sizeof(struct rpmtag *), bsearch_rpmtag);
313 static char *rpm_getstr(int tag, int itemindex)
316 found = bsearch(&tag, mytags, tagcount, sizeof(struct rpmtag *), bsearch_rpmtag);
329 static int rpm_getint(int tag, int itemindex)
335 * it's ok to ignore it because tag won't be used as a pointer */
336 found = bsearch(&tag, mytags, tagcount, sizeof(struct rpmtag *), bsearch_rpmtag);