#include "system.h"
#include "stringbuf.h"
#include "debug.h"
Include dependency graph for stringbuf.c:
Go to the source code of this file.
Data Structures | |
struct | StringBufRec |
Defines | |
#define | BUF_CHUNK 1024 |
Functions | |
static int | xisspace (int c) |
Locale insensitive isspace(3). | |
static void * | _free (const void *p) |
Wrapper to free(3), hides const compilation noise, permit NULL, return NULL. | |
StringBuf | newStringBuf (void) |
StringBuf | freeStringBuf (StringBuf sb) |
void | truncStringBuf (StringBuf sb) |
void | stripTrailingBlanksStringBuf (StringBuf sb) |
char * | getStringBuf (StringBuf sb) |
void | appendStringBufAux (StringBuf sb, const char *s, int nl) |
Definition in file stringbuf.c.
|
Definition at line 10 of file stringbuf.c. Referenced by appendStringBufAux(), and newStringBuf(). |
|
|
Definition at line 88 of file stringbuf.c. References StringBufRec::allocated, StringBufRec::buf, BUF_CHUNK, StringBufRec::free, StringBufRec::tail, and xrealloc(). |
|
Definition at line 52 of file stringbuf.c. References _free(), and StringBufRec::buf. Referenced by addFileToArrayTag(), addFileToTag(), addFileToTagAux(), checkFiles(), doSetupMacro(), freePackage(), freeSpec(), initSourceHeader(), parseChangelog(), parseDescription(), parsePrep(), parseScript(), processBinaryFiles(), processSourceFiles(), rpmfcExec(), rpmfcFree(), rpmfcGenerateDependsHelper(), rpmfcGenerateScriptletDeps(), rpmfcHelper(), and rpmReadPackageManifest(). |
|
Definition at line 83 of file stringbuf.c. References StringBufRec::buf. Referenced by addChangelog(), addFileToArrayTag(), addFileToTag(), checkFiles(), doScript(), doSetupMacro(), initSourceHeaderScriptlet(), parseDescription(), parsePrep(), parseScript(), processPackageFiles(), processSourceFiles(), rpmfcExec(), rpmfcGenerateDependsHelper(), rpmfcGenerateScriptletDeps(), rpmfcHelper(), and rpmReadPackageManifest(). |
|
Definition at line 40 of file stringbuf.c. References BUF_CHUNK, xcalloc(), and xmalloc(). Referenced by addFileToArrayTag(), addFileToTag(), doSetupMacro(), getOutputFrom(), initSourceHeader(), parseBuildInstallClean(), parseChangelog(), parseDescription(), parseFiles(), parseForSimple(), parsePrep(), parseScript(), processBinaryFiles(), processSourceFiles(), rpmfcGenerateDependsHelper(), rpmfcGenerateScriptletDeps(), rpmfcHelper(), and rpmReadPackageManifest(). |
|
Definition at line 70 of file stringbuf.c. References StringBufRec::allocated, StringBufRec::free, StringBufRec::tail, and xisspace(). Referenced by parseDescription(), parseScript(), and rpmfcGenerateScriptletDeps(). |
|
Definition at line 61 of file stringbuf.c. References StringBufRec::allocated, StringBufRec::buf, StringBufRec::free, and StringBufRec::tail. Referenced by rpmfcGenerateScriptletDeps(). |
|
Locale insensitive isspace(3).
Definition at line 24 of file stringbuf.c. Referenced by addChangelog(), copyNextLine(), dbiTagsInit(), doReadRC(), findPreambleTag(), isPart(), machCompatCacheAdd(), parseBits(), rdToken(), readLine(), rpmcliAllArgCallback(), rpmPlatform(), and stripTrailingBlanksStringBuf(). |