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),
42typedef rpmFlags rpmSpecFlags;
52rpmSpecPkgIter rpmSpecPkgIterInit(rpmSpec spec);
53rpmSpecPkg rpmSpecPkgIterNext(rpmSpecPkgIter iter);
54rpmSpecPkgIter rpmSpecPkgIterFree(rpmSpecPkgIter iter);
57Header rpmSpecPkgHeader(rpmSpecPkg pkg);
63char * rpmSpecPkgGetSection(rpmSpecPkg pkg,
int section);
67rpmSpecSrcIter rpmSpecSrcIterInit(rpmSpec spec);
68rpmSpecSrc rpmSpecSrcIterNext(rpmSpecSrcIter iter);
69rpmSpecSrcIter rpmSpecSrcIterFree(rpmSpecSrcIter iter);
72rpmSourceFlags rpmSpecSrcFlags(rpmSpecSrc src);
73int rpmSpecSrcNum(rpmSpecSrc src);
74const char * rpmSpecSrcFilename(rpmSpecSrc src,
int full);
81const 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