#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.
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) |
#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" |
#define | FILE_RCSID(id) |
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 348 of file system.h. Referenced by apprentice_1(), apprentice_compile(), apprentice_file(), apprentice_map(), argerror(), error(), fmagicSetup(), magwarn(), main(), rpmcliInit(), and usage(). |
|
Definition at line 379 of file system.h. Referenced by main(), and rpmcliInit(). |
|
Definition at line 384 of file system.h. Referenced by i18nTag(). |
|
Definition at line 162 of file system.h. Referenced by ftpOpendir(), ftpReaddir(), fts_build(), and Readdir(). |
|
Definition at line 137 of file system.h. Referenced by argerror(), fmagicD(), fmagicProcess(), fmagicSCheck(), fmagicSConvert(), fmagicSetup(), fmagicSPrint(), getOutputFrom(), main(), pipe2file(), poptGetNextOpt(), rpmcliConfigured(), rpmcliInit(), rpmdbCheckSignals(), rpmReSign(), uncompressbuf(), unwrap(), usage(), vmefail(), and vrpmlog(). |
|
Definition at line 152 of file system.h. Referenced by db3open(), rpmdbRebuild(), and rpmQueryVerify(). |
|
Value: |
|
|
|
|
|
Definition at line 550 of file system.h. Referenced by fsmStage(). |
|
Definition at line 77 of file system.h. Referenced by bsddb_version(), cpioHeaderRead(), cpioHeaderWrite(), and fmagicD(). |
|
Definition at line 79 of file system.h. Referenced by cpioHeaderRead(). |
|
Definition at line 78 of file system.h. Referenced by bsddb_version(), cpioHeaderRead(), cpioHeaderWrite(), and fmagicD(). |
|
Definition at line 601 of file system.h. Referenced by getFilesystemList(). |
|
Definition at line 387 of file system.h. Referenced by rpmProblemString(). |
|
|
|
|
|
|
|
Definition at line 510 of file system.h. Referenced by fmagicD(), and vfs_parse_filetype(). |
|
Definition at line 514 of file system.h. Referenced by fsmStage(), fts_stat(), genCpioListAndHeader(), makeTempFile(), printFileInfo(), rpmPermsString(), rpmVerifyFile(), vfs_parse_ls_lga(), whatis(), and writeFile(). |
|
Definition at line 518 of file system.h. Referenced by fsmStage(), rpmPermsString(), and whatis(). |
|
|
|
Definition at line 149 of file system.h. Referenced by poptReadConfigFile(). |
|
Definition at line 147 of file system.h. Referenced by apprentice_compile(), pipe2file(), readRPM(), and writeRPM(). |
|
Definition at line 371 of file system.h. Referenced by main(), and rpmcliInit(). |
|
Value: { if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ } Definition at line 349 of file system.h. Referenced by main(), and rpmcliInit(). |
|
Definition at line 381 of file system.h. Referenced by main(), and rpmcliInit(). |
|
Definition at line 154 of file system.h. Referenced by db3open(), and rpmMkdirPath(). |
|
Definition at line 153 of file system.h. Referenced by findProgramPath(). |
|
|
Referenced by dosetenv(), findProgramPath(), headerFindI18NString(), i18nTag(), main(), poptGetContext(), poptReadDefaultConfig(), rpmInitMacros(), and rpmReadRC(). |
|
Referenced by getFilesystemList(). |
|
|
|
Referenced by doLookup(), and rpmQueryVerify(). |
|
Referenced by i18nTag(). |
|
|
Referenced by doLookup(), ftpOpendir(), and rpmVerifySignatures(). |
|
Referenced by checkPassPhrase(), getOutputFrom(), i18nTag(), makeGPGSignature(), makePGPSignature(), open_dso(), and runScript(). |
|
Definition at line 13 of file rpmmalloc.c. References _, and EXIT_FAILURE. Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup(). |
|
|
|
|
|
|
|