#include "system.h"
#include "rpmbuild.h"
#include "debug.h"
Include dependency graph for parseChangelog.c:
Go to the source code of this file.
Defines | |
#define | mySKIPSPACE(s) { while (*(s) && isspace(*(s))) (s)++; } |
#define | mySKIPNONSPACE(s) { while (*(s) && !isspace(*(s))) (s)++; } |
Functions | |
void | addChangelogEntry (Header h, time_t time, const char *name, const char *text) |
Add changelog entry to header. | |
static int | dateToTimet (const char *datestr, time_t *secs) |
Parse date string to seconds. | |
time_t | get_date (const char *p, void *now) |
static int | addChangelog (Header h, StringBuf sb) |
Add changelog section to header. | |
int | parseChangelog (Spec spec) |
Parse %changelog section of a spec file. |
Definition in file parseChangelog.c.
|
Definition at line 12 of file parseChangelog.c. Referenced by addChangelog(), and dateToTimet(). |
|
Definition at line 11 of file parseChangelog.c. Referenced by addChangelog(), and dateToTimet(). |
|
Add changelog section to header.
Definition at line 110 of file parseChangelog.c. References _, _free(), addChangelogEntry(), dateToTimet(), get_date(), getStringBuf(), mySKIPNONSPACE, mySKIPSPACE, RPMERR_BADSPEC, rpmError, rpmExpand(), and xisspace(). Referenced by parseChangelog(). |
|
Parse date string to seconds.
Definition at line 33 of file parseChangelog.c. References alloca(), mySKIPNONSPACE, and mySKIPSPACE. Referenced by addChangelog(). |
|
Referenced by addChangelog(), and installArgCallback(). |