19 RPMTD_ALLOCED = (1 << 0),
20 RPMTD_PTR_ALLOCED = (1 << 1),
21 RPMTD_IMMUTABLE = (1 << 2),
22 RPMTD_ARGV = (1 << 3),
23 RPMTD_INVALID = (1 << 4),
26typedef rpmFlags rpmtdFlags;
225typedef enum rpmtdFormats_e {
226 RPMTD_FORMAT_STRING = 0,
227 RPMTD_FORMAT_ARMOR = 1,
228 RPMTD_FORMAT_BASE64 = 2,
229 RPMTD_FORMAT_PGPSIG = 3,
230 RPMTD_FORMAT_DEPFLAGS = 4,
231 RPMTD_FORMAT_FFLAGS = 5,
232 RPMTD_FORMAT_PERMS = 6,
233 RPMTD_FORMAT_TRIGGERTYPE = 7,
234 RPMTD_FORMAT_XML = 8,
235 RPMTD_FORMAT_OCTAL = 9,
236 RPMTD_FORMAT_HEX = 10,
237 RPMTD_FORMAT_DATE = 11,
238 RPMTD_FORMAT_DAY = 12,
239 RPMTD_FORMAT_SHESCAPE = 13,
240 RPMTD_FORMAT_ARRAYSIZE = 14,
241 RPMTD_FORMAT_DEPTYPE = 15,
242 RPMTD_FORMAT_FSTATE = 16,
243 RPMTD_FORMAT_VFLAGS = 17,
244 RPMTD_FORMAT_EXPAND = 18,
245 RPMTD_FORMAT_FSTATUS = 19,
246 RPMTD_FORMAT_HUMANSI = 20,
247 RPMTD_FORMAT_HUMANIEC = 21,
248 RPMTD_FORMAT_TAGNAME = 22,
249 RPMTD_FORMAT_TAGNUM = 23,
enum rpmTagClass_e rpmTagClass
uint64_t * rpmtdGetUint64(rpmtd td)
const char * rpmtdGetString(rpmtd td)
rpmTagVal rpmtdTag(rpmtd td)
int rpmtdFromUint32(rpmtd td, rpmTagVal tag, uint32_t *data, rpm_count_t count)
rpmtd rpmtdFree(rpmtd td)
int rpmtdFromStringArray(rpmtd td, rpmTagVal tag, const char **data, rpm_count_t count)
int rpmtdSetIndex(rpmtd td, int index)
uint64_t rpmtdGetNumber(rpmtd td)
void rpmtdFreeData(rpmtd td)
rpmTagClass rpmtdClass(rpmtd td)
int rpmtdSetTag(rpmtd td, rpmTagVal tag)
rpm_count_t rpmtdCount(rpmtd td)
rpmsid * rpmtdToPool(rpmtd td, rpmstrPool pool)
const char * rpmtdNextString(rpmtd td)
int rpmtdGetIndex(rpmtd td)
uint16_t * rpmtdGetUint16(rpmtd td)
int rpmtdFromUint8(rpmtd td, rpmTagVal tag, uint8_t *data, rpm_count_t count)
int rpmtdFromArgi(rpmtd td, rpmTagVal tag, ARGI_t argi)
uint32_t * rpmtdGetUint32(rpmtd td)
int rpmtdFromArgv(rpmtd td, rpmTagVal tag, ARGV_t argv)
rpm_count_t rpmtdSize(rpmtd td)
char * rpmtdGetChar(rpmtd td)
void rpmtdReset(rpmtd td)
int rpmtdFromUint64(rpmtd td, rpmTagVal tag, uint64_t *data, rpm_count_t count)
int rpmtdFromUint16(rpmtd td, rpmTagVal tag, uint16_t *data, rpm_count_t count)
char * rpmtdFormat(rpmtd td, rpmtdFormats fmt, const char *errmsg)
uint32_t * rpmtdNextUint32(rpmtd td)
int rpmtdFromString(rpmtd td, rpmTagVal tag, const char *data)
uint64_t * rpmtdNextUint64(rpmtd td)
rpmtdFlags rpmtdGetFlags(rpmtd td)
rpmTagType rpmtdType(rpmtd td)