22 RPMTD_ALLOCED = (1 << 0),
23 RPMTD_PTR_ALLOCED = (1 << 1),
24 RPMTD_IMMUTABLE = (1 << 2),
25 RPMTD_ARGV = (1 << 3),
26 RPMTD_INVALID = (1 << 4),
29typedef rpmFlags rpmtdFlags;
232 RPMTD_FORMAT_STRING = 0,
233 RPMTD_FORMAT_ARMOR = 1,
234 RPMTD_FORMAT_BASE64 = 2,
235 RPMTD_FORMAT_PGPSIG = 3,
236 RPMTD_FORMAT_DEPFLAGS = 4,
237 RPMTD_FORMAT_FFLAGS = 5,
238 RPMTD_FORMAT_PERMS = 6,
239 RPMTD_FORMAT_TRIGGERTYPE = 7,
240 RPMTD_FORMAT_XML = 8,
241 RPMTD_FORMAT_OCTAL = 9,
242 RPMTD_FORMAT_HEX = 10,
243 RPMTD_FORMAT_DATE = 11,
244 RPMTD_FORMAT_DAY = 12,
245 RPMTD_FORMAT_SHESCAPE = 13,
246 RPMTD_FORMAT_ARRAYSIZE = 14,
247 RPMTD_FORMAT_DEPTYPE = 15,
248 RPMTD_FORMAT_FSTATE = 16,
249 RPMTD_FORMAT_VFLAGS = 17,
250 RPMTD_FORMAT_EXPAND = 18,
251 RPMTD_FORMAT_FSTATUS = 19,
252 RPMTD_FORMAT_HUMANSI = 20,
253 RPMTD_FORMAT_HUMANIEC = 21,
254 RPMTD_FORMAT_TAGNAME = 22,
255 RPMTD_FORMAT_TAGNUM = 23,
256 RPMTD_FORMAT_JSON = 24,
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)
rpmtdFormats_e
Definition rpmtd.h:231
enum rpmtdFormats_e rpmtdFormats
rpmtdFlags_e
Definition rpmtd.h:20
int ix
Definition rpmtd.h:41
rpm_data_t data
Definition rpmtd.h:39
rpm_count_t size
Definition rpmtd.h:42
rpm_tagtype_t type
Definition rpmtd.h:37
rpm_count_t count
Definition rpmtd.h:38
rpm_tag_t tag
Definition rpmtd.h:36
rpmtdFlags flags
Definition rpmtd.h:40