18typedef struct Package_s * rpmSpecPkg;
19typedef struct Source * rpmSpecSrc;
20typedef struct rpmSpecIter_s * rpmSpecPkgIter;
21typedef struct rpmSpecIter_s * rpmSpecSrcIter;
23enum rpmSourceFlags_e {
24 RPMBUILD_ISSOURCE = (1 << 0),
25 RPMBUILD_ISPATCH = (1 << 1),
26 RPMBUILD_ISICON = (1 << 2),
27 RPMBUILD_ISNO = (1 << 3),
30typedef rpmFlags rpmSourceFlags;
32#define RPMBUILD_DEFAULT_LANG "C"
36 RPMSPEC_ANYARCH = (1 << 0),
37 RPMSPEC_FORCE = (1 << 1),
38 RPMSPEC_NOLANG = (1 << 2),
39 RPMSPEC_NOUTF8 = (1 << 3),
40 RPMSPEC_NOFINALIZE = (1 << 4),
43typedef rpmFlags rpmSpecFlags;
53rpmSpecPkgIter rpmSpecPkgIterInit(rpmSpec spec);
54rpmSpecPkg rpmSpecPkgIterNext(rpmSpecPkgIter iter);
55rpmSpecPkgIter rpmSpecPkgIterFree(rpmSpecPkgIter iter);
58Header rpmSpecPkgHeader(rpmSpecPkg pkg);
64char * rpmSpecPkgGetSection(rpmSpecPkg pkg,
int section);
68rpmSpecSrcIter rpmSpecSrcIterInit(rpmSpec spec);
69rpmSpecSrc rpmSpecSrcIterNext(rpmSpecSrcIter iter);
70rpmSpecSrcIter rpmSpecSrcIterFree(rpmSpecSrcIter iter);
73rpmSourceFlags rpmSpecSrcFlags(rpmSpecSrc src);
74int rpmSpecSrcNum(rpmSpecSrc src);
75const char * rpmSpecSrcFilename(rpmSpecSrc src,
int full);
82const char * rpmSpecGetSection(rpmSpec spec,
int section);
rpmSpec rpmSpecFree(rpmSpec spec)
int rpmspecQuery(rpmts ts, QVA_t qva, const char *arg)
struct rpmts_s * rpmts
Definition rpmtypes.h:63
struct headerToken_s * Header
Definition rpmtypes.h:24