rpm
4.5
|
Go to the source code of this file.
Functions | |
static int | tagCmpName (const void *avp, const void *bvp) |
Compare tag table entries by name. | |
static int | tagCmpValue (const void *avp, const void *bvp) |
Compare tag table entries by value. | |
static int | tagLoadIndex (headerTagTableEntry **ipp, int *np, int(*cmp)(const void *avp, const void *bvp)) |
Load/sort a tag index. | |
static const char * | _tagName (int tag) |
static int | _tagType (int tag) |
static int | _tagValue (const char *tagstr) |
Variables | |
static struct headerTagIndices_s | _rpmTags |
headerTagIndices | rpmTags = &_rpmTags |
|
static |
Definition at line 97 of file tagname.c.
References headerTagIndices_s::byValue, headerTagIndices_s::byValueSize, headerTagTableEntry_s::name, RPMDBI_ADDED, RPMDBI_ARGLIST, RPMDBI_AVAILABLE, RPMDBI_DEPENDS, RPMDBI_FTSWALK, RPMDBI_HDLIST, RPMDBI_PACKAGES, RPMDBI_REMOVED, RPMTAG_CONFLICTS, RPMTAG_HDRID, tagCmpValue(), tagLoadIndex(), headerTagTableEntry_s::val, and xtolower().
|
static |
Definition at line 181 of file tagname.c.
References headerTagIndices_s::byValue, headerTagIndices_s::byValueSize, RPM_NULL_TYPE, RPMDBI_ADDED, RPMDBI_ARGLIST, RPMDBI_AVAILABLE, RPMDBI_DEPENDS, RPMDBI_FTSWALK, RPMDBI_HDLIST, RPMDBI_PACKAGES, RPMDBI_REMOVED, tagCmpValue(), tagLoadIndex(), headerTagTableEntry_s::type, and headerTagTableEntry_s::val.
|
static |
Definition at line 230 of file tagname.c.
References headerTagIndices_s::byName, headerTagIndices_s::byNameSize, headerTagTableEntry_s::name, RPMDBI_ADDED, RPMDBI_ARGLIST, RPMDBI_AVAILABLE, RPMDBI_DEPENDS, RPMDBI_FTSWALK, RPMDBI_HDLIST, RPMDBI_PACKAGES, RPMDBI_REMOVED, tagCmpName(), tagLoadIndex(), headerTagTableEntry_s::val, and xstrcasecmp().
|
static |
Compare tag table entries by name.
*avp | tag table entry a |
*bvp | tag table entry b |
Definition at line 19 of file tagname.c.
References headerTagTableEntry_s::name.
Referenced by _tagValue().
|
static |
Compare tag table entries by value.
*avp | tag table entry a |
*bvp | tag table entry b |
Definition at line 33 of file tagname.c.
References headerTagTableEntry_s::name, and headerTagTableEntry_s::val.
Referenced by _tagName(), and _tagType().
|
static |
Load/sort a tag index.
*ipp | tag index |
*np | no. of tags |
cmp | sort compare routine |
Definition at line 52 of file tagname.c.
References headerTagTableEntry_s::name, rpmTagTable, rpmTagTableSize, and xcalloc().
Referenced by _tagName(), _tagType(), and _tagValue().
|
static |
headerTagIndices rpmTags = &_rpmTags |
Definition at line 94 of file tagname.c.
Referenced by rpmcliFini().