#include "system.h"
#include "file.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
static const char * | rcsid (const char *p) |
static int | swrite (int fd, const void *buf, size_t n) |
static int | sread (int fd, void *buf, size_t n) |
int | file_pipe2file (int fd, const void *startbuf, size_t nbytes) |
static int | uncompressbuf (int method, const unsigned char *old, unsigned char **newch, int n) |
int | fmagicZ (fmagic fm) |
Variables | |
struct { | |
const char * magic | |
int maglen | |
const char *const argv [3] | |
int silent | |
const char * human | |
const char * mime | |
rpmop_s ops [FDSTAT_MAX] | |
} | compr [] |
static int | ncompr = sizeof(compr) / sizeof(compr[0]) |
|
Definition at line 90 of file compress.c. References errno, error(), EXIT_FAILURE, SEEK_SET, sread(), strerror(), and swrite(). |
|
Definition at line 311 of file compress.c. References fmagic_s::buf, fmagicF(), maglen, fmagic_s::nb, ncompr, and uncompressbuf(). Referenced by fmagicF(). |
|
Definition at line 6 of file compress.c. |
|
Definition at line 66 of file compress.c. References errno. Referenced by file_pipe2file(), and uncompressbuf(). |
|
Definition at line 40 of file compress.c. References errno. Referenced by file_pipe2file(), and uncompressbuf(). |
|
Definition at line 234 of file compress.c. References argv, errno, error(), EXIT_FAILURE, HOWMANY, silent, sread(), strerror(), swrite(), and xmalloc(). Referenced by fmagicZ(). |
|
Definition at line 17 of file compress.c. Referenced by addOrAppendListEntry(), doScript(), doSetupMacro(), execCommand(), grabArgs(), main(), mireSkip(), parseDescription(), parseFiles(), parseScript(), poptParseArgvString(), processBinaryFile(), rpmfcExpandAppend(), rpmGlob(), rpmGraph(), rpmInstallLoadMacros(), rpmReadPackageManifest(), runInstScript(), runScript(), uncompressbuf(), and XpoptParseArgvString(). |
|
|
|
Definition at line 14 of file compress.c. |
|
Definition at line 15 of file compress.c. Referenced by fmagicZ(). |
|
Definition at line 34 of file compress.c. Referenced by fmagicZ(). |
|
Definition at line 18 of file compress.c. Referenced by uncompressbuf(). |