SpecStruct Struct Reference
[RPMBUILD.]

The structure used to store values parsed from a spec file. More...

#include <rpmspec.h>


Data Fields

const char * specFile
const char * sourceRpmName
const char * buildRootURL
const char * buildSubdir
const char * rootURL
speclines sl
spectags st
OpenFileInfofileStack
char lbuf [4 *BUFSIZ]
char nextpeekc
char * nextline
char * line
int lineNum
ReadLevelEntryreadStack
Header buildRestrictions
SpecStruct ** BASpecs
const char ** BANames
int BACount
int recursing
int force
int anyarch
int gotBuildRootURL
char * passPhrase
int timeCheck
const char * cookie
Sourcesources
int numSources
int noSource
Header sourceHeader
void * sourceCpioList
MacroContext macros
StringBuf prep
StringBuf build
StringBuf install
StringBuf clean
PackageStructpackages


Detailed Description

The structure used to store values parsed from a spec file.

Definition at line 92 of file rpmspec.h.


Field Documentation

const char* SpecStruct::specFile

Name of the spec file.

Definition at line 93 of file rpmspec.h.

Referenced by doRmSource(), freeSpec(), and parseSpec().

const char* SpecStruct::sourceRpmName

Definition at line 94 of file rpmspec.h.

Referenced by freeSpec(), genSourceRpmName(), packageBinaries(), and packageSources().

const char* SpecStruct::buildRootURL

Definition at line 95 of file rpmspec.h.

Referenced by freeSpec(), handlePreambleTag(), parsePreamble(), parseSpec(), and processPackageFiles().

const char* SpecStruct::buildSubdir

Definition at line 96 of file rpmspec.h.

Referenced by addFileToTagAux(), doScript(), doSetupMacro(), freeSpec(), and processPackageFiles().

const char* SpecStruct::rootURL

Definition at line 97 of file rpmspec.h.

Referenced by doScript(), doSetupMacro(), freeSpec(), handlePreambleTag(), parseSpec(), and processPackageFiles().

speclines SpecStruct::sl

Definition at line 99 of file rpmspec.h.

Referenced by freeSpec(), printNewSpecfile(), and readLine().

spectags SpecStruct::st

Definition at line 100 of file rpmspec.h.

Referenced by freeSpec(), printNewSpecfile(), and stashSt().

struct OpenFileInfo* SpecStruct::fileStack [read]

Definition at line 102 of file rpmspec.h.

Referenced by closeSpec(), forceIncludeFile(), freeSpec(), parseSpec(), and readLine().

char SpecStruct::lbuf[4 *BUFSIZ]

Definition at line 103 of file rpmspec.h.

Referenced by copyNextLine().

char SpecStruct::nextpeekc

Definition at line 104 of file rpmspec.h.

Referenced by copyNextLine().

char* SpecStruct::nextline

Definition at line 105 of file rpmspec.h.

Referenced by copyNextLine().

char* SpecStruct::line

Definition at line 106 of file rpmspec.h.

Referenced by addSource(), copyNextLine(), doPatchMacro(), findPreambleTag(), handlePreambleTag(), parseBuildInstallClean(), parseChangelog(), parseDescription(), parseFiles(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), and readLine().

int SpecStruct::lineNum

Definition at line 107 of file rpmspec.h.

Referenced by addSource(), copyNextLine(), doPatchMacro(), doSetupMacro(), handlePreambleTag(), parseBuildInstallClean(), parseDescription(), parseFiles(), parseNoSource(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), readLine(), and stashSt().

struct ReadLevelEntry* SpecStruct::readStack [read]

Definition at line 109 of file rpmspec.h.

Referenced by copyNextLine(), freeSpec(), and readLine().

Header SpecStruct::buildRestrictions

Definition at line 111 of file rpmspec.h.

Referenced by checkForValidArchitectures(), freeSpec(), handlePreambleTag(), initSourceHeader(), and parseRCPOT().

struct SpecStruct** SpecStruct::BASpecs [read]

Definition at line 112 of file rpmspec.h.

Referenced by buildSpec(), freeSpec(), and parseSpec().

const char** SpecStruct::BANames

Definition at line 113 of file rpmspec.h.

Referenced by freeSpec(), handlePreambleTag(), initSourceHeader(), parsePreamble(), and parseSpec().

int SpecStruct::BACount

Definition at line 114 of file rpmspec.h.

Referenced by buildSpec(), freeSpec(), handlePreambleTag(), initSourceHeader(), and parseSpec().

int SpecStruct::recursing

parse is recursive?

Definition at line 115 of file rpmspec.h.

Referenced by buildSpec(), freeSpec(), parsePreamble(), and parseSpec().

int SpecStruct::force

Definition at line 117 of file rpmspec.h.

Referenced by doPatch(), doUntar(), parsePrep(), and parseSpec().

int SpecStruct::anyarch

Definition at line 118 of file rpmspec.h.

Referenced by parsePreamble(), and parseSpec().

int SpecStruct::gotBuildRootURL

Definition at line 120 of file rpmspec.h.

Referenced by handlePreambleTag(), parsePreamble(), and parseSpec().

char* SpecStruct::passPhrase

Definition at line 122 of file rpmspec.h.

Referenced by freeSpec(), packageBinaries(), packageSources(), parseSpec(), and rewriteRPM().

int SpecStruct::timeCheck

Definition at line 123 of file rpmspec.h.

Referenced by parseSpec(), and processPackageFiles().

const char* SpecStruct::cookie

Definition at line 124 of file rpmspec.h.

Referenced by freeSpec(), packageBinaries(), packageSources(), parseSpec(), and rewriteRPM().

struct Source* SpecStruct::sources [read]

Definition at line 126 of file rpmspec.h.

Referenced by addSource(), doPatch(), doRmSource(), doUntar(), findSource(), and freeSpec().

int SpecStruct::numSources

Definition at line 127 of file rpmspec.h.

Referenced by addSource().

int SpecStruct::noSource

Definition at line 128 of file rpmspec.h.

Referenced by genSourceRpmName(), and handlePreambleTag().

Header SpecStruct::sourceHeader

Definition at line 131 of file rpmspec.h.

Referenced by buildForTarget(), freeSpec(), initSourceHeader(), packageSources(), and processSourceFiles().

void* SpecStruct::sourceCpioList

Definition at line 133 of file rpmspec.h.

Referenced by freeSpec(), and packageSources().

MacroContext SpecStruct::macros

Definition at line 135 of file rpmspec.h.

Referenced by addFileToTagAux(), addSource(), copyNextLine(), doScript(), doSetupMacro(), handlePreambleTag(), parseSpec(), and processPackageFiles().

StringBuf SpecStruct::prep

prep scriptlet.

Definition at line 137 of file rpmspec.h.

Referenced by doPatchMacro(), doScript(), doSetupMacro(), freeSpec(), and parsePrep().

StringBuf SpecStruct::build

build scriptlet.

Definition at line 138 of file rpmspec.h.

Referenced by doScript(), freeSpec(), and parseBuildInstallClean().

StringBuf SpecStruct::install

install scriptlet.

Definition at line 139 of file rpmspec.h.

Referenced by doScript(), freeSpec(), and parseBuildInstallClean().

StringBuf SpecStruct::clean

clean scriptlet.

Definition at line 140 of file rpmspec.h.

Referenced by doScript(), freeSpec(), and parseBuildInstallClean().

struct PackageStruct* SpecStruct::packages [read]

Package list.

Definition at line 142 of file rpmspec.h.

Referenced by doRmSource(), doSetupMacro(), freeSpec(), genSourceRpmName(), initSourceHeader(), lookupPackage(), newPackage(), packageBinaries(), parseChangelog(), parsePreamble(), parseSpec(), printNewSpecfile(), processBinaryFiles(), readRPM(), rewriteRPM(), and rpmQueryVerify().


The documentation for this struct was generated from the following file:
Generated on Wed Feb 13 20:33:49 2008 for rpm by  doxygen 1.5.2