build/spec.c - Handle spec data structure.
#include 'system.h'
#include 'buildio.h'
#include 'debug.h'
#define SKIPWHITE(_x) {while(*(_x) && (xisspace(*_x) || *(_x) == ',')) (_x)++;}
#define SKIPNONWHITE(_x) {while(*(_x) &&!(xisspace(*_x) || *(_x) == ',')) (_x)++;}
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)
Handle spec data structure.
Definition at line 16 of file spec.c.
Definition at line 15 of file spec.c.
Definition at line 194 of file spec.c.
References Source::flags, Source::next, and Source::num.
Referenced by parseNoSource().
Definition at line 376 of file spec.c.
References _free(), and speclines_s::sl_lines.
Destroy source component chain.
Parameters:
Returns: NULL always
Definition at line 47 of file spec.c.
References _free(), Source::fullSource, and Source::next.
Referenced by freePackage(), and freeSpec().
Definition at line 408 of file spec.c.
References _free(), spectags_s::st_t, spectag_s::t_lang, and spectag_s::t_msgid.
Parameters:
Returns: NULL always
Definition at line 25 of file spec.c.
References _free(), TriggerFileEntry::fileName, TriggerFileEntry::next, TriggerFileEntry::prog, and TriggerFileEntry::script.
Definition at line 359 of file spec.c.
References speclines_s::sl_lines, speclines_s::sl_nalloc, speclines_s::sl_nlines, and xmalloc().
Definition at line 391 of file spec.c.
References spectags_s::st_nalloc, spectags_s::st_ntags, spectags_s::st_t, and xmalloc().
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |