89enum headerImportFlags_e {
90 HEADERIMPORT_COPY = (1 << 0),
91 HEADERIMPORT_FAST = (1 << 1),
94typedef rpmFlags headerImportFlags;
140 HEADERGET_DEFAULT = 0,
141 HEADERGET_MINMEM = (1 << 0),
142 HEADERGET_EXT = (1 << 1),
143 HEADERGET_RAW = (1 << 2),
144 HEADERGET_ALLOC = (1 << 3),
145 HEADERGET_ARGV = (1 << 4),
148typedef rpmFlags headerGetFlags;
161enum headerPutFlags_e {
162 HEADERPUT_DEFAULT = 0,
163 HEADERPUT_APPEND = (1 << 0),
166typedef rpmFlags headerPutFlags;
202int headerPutString(
Header h, rpmTagVal tag,
const char *val);
203int headerPutStringArray(
Header h, rpmTagVal tag,
const char **val, rpm_count_t size);
204int headerPutChar(
Header h, rpmTagVal tag,
const char *val, rpm_count_t size);
205int headerPutUint8(
Header h, rpmTagVal tag,
const uint8_t *val, rpm_count_t size);
206int headerPutUint16(
Header h, rpmTagVal tag,
const uint16_t *val, rpm_count_t size);
207int headerPutUint32(
Header h, rpmTagVal tag,
const uint32_t *val, rpm_count_t size);
208int headerPutUint64(
Header h, rpmTagVal tag,
const uint64_t *val, rpm_count_t size);
272 const rpmTagVal * tagstocopy);
341typedef enum headerConvOps_e {
342 HEADERCONV_EXPANDFILELIST = 0,
343 HEADERCONV_COMPRESSFILELIST = 1,
344 HEADERCONV_RETROFIT_V3 = 2,
struct _FD_s * FD_t
Definition rpmtypes.h:99
struct headerToken_s * Header
Definition rpmtypes.h:24