#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <time.h>
#include <strings.h>
#include <errno.h>
#include <sys/file.h>
Go to the source code of this file.
Data Structures | |
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) /* empty */ |
#define | bindtextdomain(Domain, Directory) /* empty */ |
#define | textdomain(Domain) /* empty */ |
#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 * | realpath (const char *path, char resolved_path[]) |
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) |
int | setenv (const char *name, const char *value, int replace) |
void | unsetenv (const char *name) |
our_mntent * | getmntent (FILE *filep) |
Variables | |
int | errno |
const char * | program_name |
Definition in file system.h.
|
|
Definition at line 330 of file system.h. Referenced by argerror(), main(), and printUsage(). |
|
Definition at line 361 of file system.h. Referenced by main(). |
|
Definition at line 368 of file system.h. Referenced by i18nTag(). |
|
Definition at line 147 of file system.h. Referenced by myftw_dir(), and Readdir(). |
|
Definition at line 122 of file system.h. Referenced by argerror(), checkSpec(), dataLength(), fadAlloc(), getOutputFrom(), main(), poptGetNextOpt(), rpmReSign(), vmefail(), and vrpmlog(). |
|
Definition at line 137 of file system.h. Referenced by db3open(), rpmdbRebuild(), and rpmQueryVerify(). |
|
|
|
|
|
Definition at line 534 of file system.h. Referenced by fsmStage(). |
|
Definition at line 62 of file system.h. Referenced by cpioHeaderRead(), cpioHeaderWrite(), and rpmReadPackageHeader(). |
|
Definition at line 64 of file system.h. Referenced by cpioHeaderRead(). |
|
Definition at line 63 of file system.h. Referenced by cpioHeaderRead(), cpioHeaderWrite(), and rpmReadPackageHeader(). |
|
Definition at line 585 of file system.h. Referenced by getFilesystemList(). |
|
|
|
|
|
|
|
|
|
Definition at line 494 of file system.h. Referenced by vfs_parse_filetype(). |
|
Definition at line 498 of file system.h. Referenced by fsmStage(), genCpioListAndHeader(), makeTempFile(), printFileInfo(), rpmPermsString(), rpmVerifyFile(), vfs_parse_ls_lga(), whatis(), and writeFile(). |
|
Definition at line 502 of file system.h. Referenced by fsmStage(), rpmPermsString(), and whatis(). |
|
|
|
Definition at line 134 of file system.h. Referenced by fadOpen(), and poptReadConfigFile(). |
|
Definition at line 132 of file system.h. Referenced by db1cput(), doGetRecord(), Pread(), Pwrite(), readRPM(), and writeRPM(). |
|
Definition at line 352 of file system.h. Referenced by main(). |
|
Value: { if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ } Definition at line 331 of file system.h. Referenced by main(). |
|
Definition at line 364 of file system.h. Referenced by main(). |
|
|
|
Definition at line 138 of file system.h. Referenced by findProgramPath(). |
|
|
Referenced by dosetenv(), findProgramPath(), headerFindI18NString(), i18nTag(), poptGetContext(), poptReadDefaultConfig(), rpmInitMacros(), and rpmReadRC(). |
|
Referenced by getFilesystemList(). |
|
|
|
Referenced by doLookup(), and rpmQueryVerify(). |
|
Referenced by i18nTag(). |
|
|
Referenced by doLookup(). |
|
Referenced by i18nTag(). |
|
Definition at line 13 of file rpmmalloc.c. References _, and EXIT_FAILURE. Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup(). |
|
|
|
Definition at line 45 of file rpmmalloc.c. References vmefail(). Referenced by addCanon(), addDefault(), addFile(), alAddPackage(), alAllFileSatisfiesDepend(), alAllSatisfiesDepend(), appendStringBufAux(), buildArgCallback(), checkPackageDeps(), currentDirectory(), dbiAppendSet(), dbiTagsInit(), expandMacroTable(), fsmMkdirs(), ftpNLST(), generateDepends(), getFilesystemList(), gidToGname(), gnameToGid(), handleInstInstalledFiles(), handleOverlappedFiles(), htAddEntry(), IDTXgrow(), installArgCallback(), machAddEquiv(), machCompatCacheAdd(), main(), parseForLang(), psAppend(), queryArgCallback(), readLine(), relocateFileList(), removePackage(), rpmdbGrowIterator(), rpmdbSetIteratorRE(), rpmdepCheck(), rpmGlob(), rpmInstall(), rpmtransAddPackage(), showQueryPackage(), singleSprintf(), stashSt(), triggercondsTag(), uidToUname(), unameToUid(), urlFind(), and vrpmlog(). |
|
|
|
|