#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <time.h>
#include <strings.h>
#include <errno.h>
#include <sys/file.h>
#include <ctype.h>
Go to the source code of this file.
Compounds | |
struct | our_mntent |
Defines | |
#define | major(dev) (((dev) >> 8) & 0xff) |
#define | minor(dev) ((dev) & 0xff) |
#define | makedev(maj, min) (((maj) << 8) | (min)) |
#define | EXIT_FAILURE 1 |
#define | SEEK_SET 0 |
#define | SEEK_CUR 1 |
#define | SEEK_END 2 |
#define | F_OK 0 |
#define | X_OK 1 |
#define | W_OK 2 |
#define | R_OK 4 |
#define | dirent direct |
#define | NLENGTH(direct) ((direct)->d_namlen) |
#define | __progname program_name |
#define | setprogname(pn) |
#define | setlocale(Category, Locale) |
#define | bindtextdomain(Domain, Directory) |
#define | textdomain(Domain) |
#define | _(Text) Text |
#define | dgettext(DomainName, Text) Text |
#define | N_(Text) Text |
#define | S_IFSOCK (0xC000) |
#define | S_ISLNK(mode) ((mode & 0xF000) == S_IFLNK) |
#define | S_ISSOCK(mode) ((mode & 0xF000) == S_IFSOCK) |
#define | lchown chown |
#define | our_mntent struct our_mntent |
#define | GETMNTENT_ONE 1 |
#define | GETMNTENT_TWO 0 |
#define | MOUNTED "/etc/mnttab" |
Functions | |
char* | memchr () |
char* | stpcpy (char * dest, const char * src) |
char* | stpncpy (char * dest, const char * src, size_t n) |
char* | getenv (const char *name) |
char* | alloca () |
void* | xmalloc (size_t size) |
void* | xcalloc (size_t nmemb, size_t size) |
void* | xrealloc ( void *ptr, size_t size) |
char* | xstrdup (const char *str) |
void* | vmefail (size_t size) |
char* | realpath (const char *path, char resolved_path []) |
int | setenv (const char *name, const char *value, int replace) |
void | unsetenv (const char *name) |
struct our_mntent* | getmntent (FILE *filep) |
Variables | |
int | errno |
const char* | program_name |
Definition in file system.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 261 of file system.h. Referenced by poptHelpOptions(), rpmAllPoptTable(), rpmBuildPoptTable(), rpmQVSourcePoptTable(), rpmQueryPoptTable(), rpmVerifyPoptTable(), and rpmlogMsgPrefix(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 283 of file system.h. Referenced by PATH_MAX(), cpioInstallArchive(), createDirectory(), expandSymlink(), genCpioListAndHeader(), makeTempFile(), permsString(), printFileInfo(), rpmVerifyFile(), setInfo(), vfs_parse_ls_lga(), whatis(), and writeFile(). |
|
Definition at line 287 of file system.h. Referenced by PATH_MAX(), cpioInstallArchive(), permsString(), and whatis(). |
|
|
|
|
|
|
|
|
Definition at line 253 of file system.h. Referenced by main(). |
|
Definition at line 258 of file system.h. Referenced by i18nTag(). |
|
|
|
Definition at line 325 of file system.h. Referenced by setInfo(). |
|
Definition at line 56 of file system.h. Referenced by writeFile(). |
|
Definition at line 58 of file system.h. Referenced by getNextHeader(). |
|
Definition at line 57 of file system.h. Referenced by writeFile(). |
|
|
|
Definition at line 245 of file system.h. Referenced by main(). |
|
Initializer: \ { if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ } Definition at line 222 of file system.h. Referenced by main(). |
|
Definition at line 255 of file system.h. Referenced by main(). |
|
|
Referenced by dosetenv(), findProgramPath(), headerFindI18NString(), i18nTag(), poptGetContext(), poptReadDefaultConfig(), rpmInitMacros(), and rpmReadRC(). |
|
Referenced by getFilesystemList(). |
|
|
|
Referenced by doLookup(), and rpmQueryVerify(). |
|
Referenced by i18nTag(). |
|
Referenced by checkHardLinks(), db1basename(), decideFileFate(), doAddSubtract(), doBuildFileList(), doUntar(), findTag(), formatValue(), ftpCommand(), ftpReq(), genCpioListAndHeader(), grabArgs(), handleOverlappedFiles(), headerMatchesDepFlags(), installArchive(), installBinaryPackage(), installSources(), main(), printNewSpecfile(), providePackageNVR(), psAppend(), relocateFileList(), removeBinaryPackage(), removeFile(), rpmDetectPGPVersion(), rpmExpand(), rpmGetPath(), rpmHeaderGetEntry(), rpmMkpath(), rpmdbRebuild(), rpmlibNeedsFeature(), rpmtransCreateSet(), showQueryPackage(), and verifyDependencies(). |
|
Referenced by doLookup(). |
|
Referenced by i18nTag(). |
|
Definition at line 12 of file rpmmalloc.c. Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup(). |
|
Definition at line 34 of file rpmmalloc.c. Referenced by XfdNew(), addIndexEntry(), alCreate(), allocateExtensionCache(), assembleFileList(), checkResponse(), dbiIndexNewItem(), dbiTagsInit(), defaultMachine(), fssizesTag(), ftpNLST(), getFilesystemList(), headerGetLangs(), headerLoad(), headerNew(), htCreate(), main(), mergeFiles(), newHardLink(), newRpmdb(), newStringBuf(), parseFormat(), rpmDigestInit(), rpmGetFilesystemUsage(), rpmInstall(), rpmRunTransactions(), rpmdbAppendIterator(), rpmdbFindByFile(), rpmdbFindFpList(), rpmdbInitIterator(), and rpmtransCreateSet(). |
|
|
Definition at line 45 of file rpmmalloc.c. Referenced by addCanon(), addDefault(), addFile(), appendStringBufAux(), buildArgCallback(), checkDirectory(), currentDirectory(), dbiAppendSet(), dbiTagsInit(), expandMacroTable(), ftpNLST(), getFilesystemList(), gidToGname(), gnameToGid(), handleInstInstalledFiles(), handleOverlappedFiles(), headerAddEntry(), headerAddI18NString(), headerAppendEntry(), headerSprintf(), htAddEntry(), machAddEquiv(), machCompatCacheAdd(), main(), parseForLang(), psAppend(), queryArgCallback(), readLine(), relocateFileList(), removePackage(), rpmGlob(), rpmInstall(), rpmdbGrowIterator(), rpmtransAddPackage(), showQueryPackage(), singleSprintf(), stashSt(), triggercondsTag(), uidToUname(), unameToUid(), and vrpmlog(). |
|
|
|
|
|