|
rpm 5.3.7
|
The Spec and Package data structures used during build. More...
#include <rpmevr.h>#include <rpmfi.h>#include <rpmcli.h>

Go to the source code of this file.
Data Structures | |
| struct | TriggerFileEntry |
| struct | Source |
| struct | ReadLevelEntry |
| struct | OpenFileInfo |
| struct | spectag_s |
| struct | spectags_s |
| struct | speclines_s |
| struct | Spec_s |
| The structure used to store values parsed from a spec file. More... | |
| struct | Package_s |
| The structure used to store values for a package. More... | |
Defines | |
| #define | RPMBUILD_DEFAULT_LANG "C" |
| #define | freeSpec(_spec) ((Spec)rpmioFreePoolItem((rpmioItem)(_spec), __FUNCTION__, __FILE__, __LINE__)) |
Typedefs | |
| typedef struct Package_s * | Package |
| typedef struct Source * | SpecSource |
| typedef struct ReadLevelEntry | RLE_t |
| typedef struct OpenFileInfo | OFI_t |
| typedef struct spectag_s * | spectag |
| typedef struct spectags_s * | spectags |
| typedef struct speclines_s * | speclines |
Functions | |
| Spec | freeSpec (Spec spec) |
| Destroy a spec file control structure. | |
| Spec | newSpec (void) |
| Create and initialize Spec structure. | |
| int | rpmspecQuery (rpmts ts, QVA_t qva, const char *arg) |
| Function to query spec file(s). | |
| struct OpenFileInfo * | newOpenFileInfo (void) |
| spectag | stashSt (Spec spec, Header h, rpmTag tag, const char *lang) |
| stashSt. | |
| int | addSource (Spec spec, Package pkg, const char *field, rpmTag tag) |
| addSource. | |
| int | parseNoSource (Spec spec, const char *field, rpmTag tag) |
| parseNoSource. | |
| int | SpecSourceCount (Spec spec) |
| Return the count of source set in specfile. | |
| SpecSource | getSource (Spec spec, int num) |
| Return a source control structure. | |
| const char * | specSourceName (SpecSource source) |
| Return a ptr to the source file name. | |
| const char * | specFullSourceName (SpecSource source) |
| Return a ptr to the full url of the source. | |
| int | specSourceNum (SpecSource source) |
| Return the spec or source patch number. | |
| int | specSourceFlags (SpecSource source) |
| Return flags set for the source. | |
| const char * | getSourceDir (rpmfileAttrs attr) |
| Return the macro directory location from source file flags. | |
The Spec and Package data structures used during build.
Definition in file rpmspec.h.
| #define RPMBUILD_DEFAULT_LANG "C" |
Definition at line 35 of file rpmspec.h.
Referenced by findPreambleTag(), handlePreambleTag(), parseDescription(), printNewSpecfile(), and stashSt().
1.7.3