build/parseChangelog.c - Parse changelog section from spec file.
#include 'system.h'
#include 'rpmbuild.h'
#include 'debug.h'
void addChangelogEntry (Header h, time_t time, const char *name, const char *text)
int dateToTimet (const char *datestr, time_t *secs)
Parse date string to seconds.
int addChangelog (Header h, StringBuf sb)
Add changelog section to header.
int parseChangelog (Spec spec)
Parse changelog section from spec file.
Definition in file parseChangelog.c.
Add changelog section to header.
Parameters:
Returns: 0 on success
Definition at line 108 of file parseChangelog.c.
References _, addChangelogEntry(), dateToTimet(), getStringBuf(), RPMERR_BADSPEC, rpmError, SKIPNONSPACE, SKIPSPACE, and xisspace().
Referenced by parseChangelog().
Parse date string to seconds.
Parameters:
Return values:
Returns: 0 on success, -1 on error
Definition at line 37 of file parseChangelog.c.
References alloca(), SKIPNONSPACE, and SKIPSPACE.
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |