Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

build/rpmspec.h File Reference

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

Go to the source code of this file.

Data Structures

struct  OpenFileInfo
struct  Package_s
struct  ReadLevelEntry
struct  Source
struct  Spec_s
struct  speclines_s
struct  spectag_s
struct  spectags_s
struct  TriggerFileEntry

Defines

#define RPMBUILD_ISSOURCE   (1 << 0)
#define RPMBUILD_ISPATCH   (1 << 1)
#define RPMBUILD_ISICON   (1 << 2)
#define RPMBUILD_ISNO   (1 << 3)
#define RPMBUILD_DEFAULT_LANG   "C"

Typedefs

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

Functions

Spec newSpec (void)
Spec freeSpec (Spec spec)
int rpmspecQuery (rpmts ts, QVA_t qva, const char *arg)
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)


Detailed Description

The Spec and Package data structures used during build.

Definition in file rpmspec.h.


Define Documentation

#define RPMBUILD_DEFAULT_LANG   "C"
 

Definition at line 28 of file rpmspec.h.

Referenced by findPreambleTag(), handlePreambleTag(), parseDescription(), printNewSpecfile(), and stashSt().

#define RPMBUILD_ISICON   (1 << 2)
 

Definition at line 25 of file rpmspec.h.

Referenced by addSource().

#define RPMBUILD_ISNO   (1 << 3)
 

Definition at line 26 of file rpmspec.h.

Referenced by doRmSource(), parseNoSource(), and processSourceFiles().

#define RPMBUILD_ISPATCH   (1 << 1)
 

Definition at line 24 of file rpmspec.h.

Referenced by addSource(), doPatch(), parseNoSource(), and processSourceFiles().

#define RPMBUILD_ISSOURCE   (1 << 0)
 

Definition at line 23 of file rpmspec.h.

Referenced by addSource(), doUntar(), parseNoSource(), and processSourceFiles().


Function Documentation

spectag stashSt Spec    spec,
Header    h,
int    tag,
const char *    lang
 

Parameters:
spec  spec file control structure
h 
tag 
lang 

Definition at line 416 of file parsePreamble.c.

References HGE_t, Spec_s::lineNum, RPMBUILD_DEFAULT_LANG, RPMTAG_NAME, Spec_s::st, spectags_s::st_nalloc, spectags_s::st_ntags, spectags_s::st_t, spectag_s::t_lang, spectag_s::t_msgid, spectag_s::t_nlines, spectag_s::t_startx, spectag_s::t_tag, tagName(), xrealloc(), and xstrdup().

Referenced by handlePreambleTag(), and parseDescription().


Generated on Sun Oct 26 13:02:04 2003 for rpm by doxygen1.2.18