#include "system.h"
#include <rpmlib.h>
#include "debug.h"
Go to the source code of this file.
Functions | |
static int | tagcmp (const void *a, const void *b) |
int | tagType (int tag) |
Return tag data type from value. | |
const char *const | tagName (int tag) |
Return tag name from value. | |
int | tagValue (const char *tagstr) |
Return tag value from name. |
Definition in file tagname.c.
|
Definition at line 12 of file tagname.c. References headerTagTableEntry_s::val. Referenced by tagType(). |
|
Return tag name from value.
Definition at line 35 of file tagname.c. References name, RPMDBI_ADDED, RPMDBI_ARGLIST, RPMDBI_AVAILABLE, RPMDBI_DEPENDS, RPMDBI_FTSWALK, RPMDBI_HDLIST, RPMDBI_PACKAGES, RPMDBI_REMOVED, rpmTagTable, rpmTagTableSize, and xtolower(). Referenced by checkForDuplicates(), checkForRequired(), db3close(), db3open(), dbiFindMatches(), dbiOpen(), handlePreambleTag(), i18nTag(), miFreeHeader(), printNewSpecfile(), rpmdbAdd(), rpmdbCountPackages(), rpmdbFindByFile(), rpmdbGrowIterator(), rpmdbInitIterator(), rpmdbMoveDatabase(), rpmdbRemove(), rpmdbRemoveDatabase(), rpmgiInitFilter(), rpmHeaderGetEntry(), sql_copen(), sql_initDB(), sql_open(), and stashSt(). |
|
Return tag data type from value.
Definition at line 20 of file tagname.c. References alloca(), RPM_NULL_TYPE, rpmTagTable, rpmTagTableSize, tagcmp(), and headerTagTableEntry_s::type. Referenced by sql_bind_key(), sql_copen(), sql_initDB(), and writeRPM(). |
|
Return tag value from name.
Definition at line 85 of file tagname.c. References headerTagTableEntry_s::name, RPMDBI_ADDED, RPMDBI_ARGLIST, RPMDBI_AVAILABLE, RPMDBI_DEPENDS, RPMDBI_FTSWALK, RPMDBI_HDLIST, RPMDBI_PACKAGES, RPMDBI_REMOVED, rpmTagTable, headerTagTableEntry_s::val, and xstrcasecmp(). Referenced by dbiTagsInit(), main(), and rpmgiInitFilter(). |