#include "system.h"
#include "buildio.h"
#include "rpmds.h"
#include "rpmfi.h"
#include "rpmts.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | SKIPWHITE(_x) {while(*(_x) && (xisspace(*_x) || *(_x) == ',')) (_x)++;} |
#define | SKIPNONWHITE(_x) {while(*(_x) &&!(xisspace(*_x) || *(_x) == ',')) (_x)++;} |
Functions | |
TriggerFileEntry * | freeTriggerFiles (struct TriggerFileEntry *p) |
Source * | freeSources (struct Source *s) |
Destroy source component chain. | |
int | lookupPackage (Spec spec, const char *name, int flag, Package *pkg) |
Package | newPackage (Spec spec) |
Package | freePackage (Package pkg) |
Package | freePackages (Package packages) |
Source * | findSource (Spec spec, int num, int flag) |
int | parseNoSource (Spec spec, const char *field, int tag) |
int | addSource (Spec spec, Package pkg, const char *field, int tag) |
speclines | newSl (void) |
speclines | freeSl (speclines sl) |
spectags | newSt (void) |
spectags | freeSt (spectags st) |
Spec | newSpec (void) |
Spec | freeSpec (Spec spec) |
OpenFileInfo * | newOpenFileInfo (void) |
void | printNewSpecfile (Spec spec) |
Print copy of spec file, filling in Group/Description/Summary from specspo. | |
int | rpmspecQuery (rpmts ts, QVA_t qva, const char *arg) |
Variables | |
int | specedit |
Definition in file spec.c.
|
|
|
|
|
Definition at line 199 of file spec.c. References findSource(), Source::flags, Source::next, Source::num, and Spec. Referenced by findSource(), and parseNoSource(). |
|
Definition at line 373 of file spec.c. References _free(), speclines_s::sl_lines, and speclines_s::sl_nlines. Referenced by freeSpec(). |
|
Destroy source component chain.
Definition at line 52 of file spec.c. References _free(), freeSources(), Source::fullSource, and Source::next. Referenced by freePackage(), freeSources(), and freeSpec(). |
|
Definition at line 406 of file spec.c. References _free(), spectags_s::st_ntags, spectags_s::st_t, spectag_s::t_lang, and spectag_s::t_msgid. Referenced by freeSpec(). |
|
Definition at line 30 of file spec.c. References _free(), TriggerFileEntry::fileName, freeTriggerFiles(), TriggerFileEntry::next, TriggerFileEntry::prog, and TriggerFileEntry::script. Referenced by freePackage(), and freeTriggerFiles(). |
|
Definition at line 355 of file spec.c. References speclines_s::sl_lines, speclines_s::sl_nalloc, speclines_s::sl_nlines, and xmalloc(). Referenced by newSpec(). |
|
Definition at line 389 of file spec.c. References spectags_s::st_nalloc, spectags_s::st_ntags, spectags_s::st_t, and xmalloc(). Referenced by newSpec(). |
|
Print copy of spec file, filling in Group/Description/Summary from specspo.
Definition at line 585 of file spec.c. References _, _free(), Package_s::header, headerNVR(), headerSprintf(), Package_s::next, Spec_s::packages, RPMBUILD_DEFAULT_LANG, RPMERR_QFMT, rpmError, rpmHeaderFormats, RPMTAG_DESCRIPTION, RPMTAG_GROUP, RPMTAG_SUMMARY, rpmTagTable, Spec_s::sl, speclines_s::sl_lines, speclines_s::sl_nlines, Spec_s::st, spectags_s::st_ntags, spectags_s::st_t, stpcpy(), spectag_s::t_lang, spectag_s::t_msgid, spectag_s::t_nlines, spectag_s::t_startx, spectag_s::t_tag, tagName(), xmalloc(), and xstrdup(). Referenced by rpmspecQuery(). |