The rpmSpec and Package data structures used during build.
More...
#include <rpm/rpmstring.h>
#include <rpm/rpmcli.h>
Go to the source code of this file.
Defines |
| #define | RPMBUILD_DEFAULT_LANG "C" |
Typedefs |
| typedef struct Package_s * | rpmSpecPkg |
| typedef struct Source * | rpmSpecSrc |
| typedef struct rpmSpecIter_s * | rpmSpecPkgIter |
| typedef struct rpmSpecIter_s * | rpmSpecSrcIter |
| typedef rpmFlags | rpmSourceFlags |
| typedef rpmFlags | rpmSpecFlags |
Enumerations |
| enum | rpmSourceFlags_e { RPMBUILD_ISSOURCE = (1 << 0),
RPMBUILD_ISPATCH = (1 << 1),
RPMBUILD_ISICON = (1 << 2),
RPMBUILD_ISNO = (1 << 3)
} |
| enum | rpmSpecFlags_e { RPMSPEC_NONE = 0,
RPMSPEC_ANYARCH = (1 << 0),
RPMSPEC_FORCE = (1 << 1),
RPMSPEC_NOLANG = (1 << 2)
} |
Functions |
| rpmSpec | rpmSpecFree (rpmSpec spec) |
| | Destroy Spec structure.
|
| rpmSpecPkgIter | rpmSpecPkgIterInit (rpmSpec spec) |
| rpmSpecPkg | rpmSpecPkgIterNext (rpmSpecPkgIter iter) |
| rpmSpecPkgIter | rpmSpecPkgIterFree (rpmSpecPkgIter iter) |
| Header | rpmSpecPkgHeader (rpmSpecPkg pkg) |
| rpmSpecSrcIter | rpmSpecSrcIterInit (rpmSpec spec) |
| rpmSpecSrc | rpmSpecSrcIterNext (rpmSpecSrcIter iter) |
| rpmSpecSrcIter | rpmSpecSrcIterFree (rpmSpecSrcIter iter) |
| rpmSourceFlags | rpmSpecSrcFlags (rpmSpecSrc src) |
| int | rpmSpecSrcNum (rpmSpecSrc src) |
| const char * | rpmSpecSrcFilename (rpmSpecSrc src, int full) |
| const char * | rpmSpecGetSection (rpmSpec spec, int section) |
| int | rpmspecQuery (rpmts ts, QVA_t qva, const char *arg) |
| | Function to query spec file(s).
|
Detailed Description
The rpmSpec and Package data structures used during build.
Definition in file rpmspec.h.
Define Documentation
| #define RPMBUILD_DEFAULT_LANG "C" |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
| RPMBUILD_ISSOURCE |
|
| RPMBUILD_ISPATCH |
|
| RPMBUILD_ISICON |
|
| RPMBUILD_ISNO |
|
Definition at line 23 of file rpmspec.h.
- Enumerator:
| RPMSPEC_NONE |
|
| RPMSPEC_ANYARCH |
|
| RPMSPEC_FORCE |
|
| RPMSPEC_NOLANG |
|
Definition at line 34 of file rpmspec.h.
Function Documentation
| const char* rpmSpecGetSection |
( |
rpmSpec |
spec, |
|
|
int |
section | |
|
) |
| | |
| const char* rpmSpecSrcFilename |
( |
rpmSpecSrc |
src, |
|
|
int |
full | |
|
) |
| | |