build/rpmspec.h File Reference

The Spec and Package data structures used during build. More...

#include <rpmevr.h>

Include dependency graph for rpmspec.h:

This graph shows which files directly or indirectly include this file:

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"

Typedefs

typedef struct Package_sPackage
typedef struct SourceSpecSource
typedef struct ReadLevelEntry RLE_t
typedef struct OpenFileInfo OFI_t
typedef struct spectag_sspectag
typedef struct spectags_sspectags
typedef struct speclines_sspeclines

Functions

Spec newSpec (void)
 Create and initialize Spec structure.
Spec freeSpec (Spec spec)
 Destroy Spec structure.
int rpmspecQuery (rpmts ts, QVA_t qva, const char *arg)
 Function to query spec file(s).
struct OpenFileInfonewOpenFileInfo (void)
spectag stashSt (Spec spec, Header h, int tag, const char *lang)
int addSource (Spec spec, Package pkg, const char *field, int tag)
int parseNoSource (Spec spec, const char *field, int tag)
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.


Detailed Description

The Spec and Package data structures used during build.

Definition in file rpmspec.h.


Define Documentation

#define RPMBUILD_DEFAULT_LANG   "C"


Generated on Tue Apr 21 04:26:45 2009 for rpm by  doxygen 1.5.8