Files | |
file | argv.c |
file | argv.h |
file | macro.c |
file | rpmlog.c |
file | rpmlog.h |
Yet Another syslog(3) API clone. | |
file | rpmerr.h |
file | rpmio.c |
file | rpmio.h |
file | rpmio_internal.h |
file | rpmmacro.h |
file | rpmmalloc.c |
file | rpmmessages.h |
file | rpmpgp.c |
Routines to handle RFC-2440 detached signatures. | |
file | rpmpgp.h |
OpenPGP constants and structures from RFC-2440. | |
file | rpmrpc.c |
file | rpmsq.c |
file | rpmsq.h |
file | rpmsw.c |
file | rpmsw.h |
file | rpmurl.h |
file | strcasecmp.c |
file | ugid.c |
file | ugid.h |
file | url.c |
Data Structures | |
struct | FDIO_s |
struct | pgpDigParams_s |
struct | pgpDig_s |
struct | _FDSTACK_s |
struct | _FDDIGEST_s |
struct | _FD_s |
struct | rpmsw_s |
struct | rpmop_s |
[NOHEADER] | |
typedef off_t | _libio_off_t |
typedef off_t | _libio_pos_t |
RPMIO Vectors. | |
typedef ssize_t(* | fdio_read_function_t )(void *cookie, char *buf, size_t nbytes) |
typedef ssize_t(* | fdio_write_function_t )(void *cookie, const char *buf, size_t nbytes) |
typedef int(* | fdio_seek_function_t )(void *cookie, _libio_pos_t pos, int whence) |
typedef int(* | fdio_close_function_t )(void *cookie) |
typedef FD_t(* | fdio_ref_function_t )(void *cookie, const char *msg, const char *file, unsigned line) |
typedef FD_t(* | fdio_deref_function_t )(FD_t fd, const char *msg, const char *file, unsigned line) |
typedef FD_t(* | fdio_new_function_t )(const char *msg, const char *file, unsigned line) |
typedef int(* | fdio_fileno_function_t )(void *cookie) |
typedef FD_t(* | fdio_open_function_t )(const char *path, int flags, mode_t mode) |
typedef FD_t(* | fdio_fopen_function_t )(const char *path, const char *fmode) |
typedef void *(* | fdio_ffileno_function_t )(FD_t fd) |
typedef int(* | fdio_fflush_function_t )(FD_t fd) |
RPMIO Interface. | |
const char * | Fstrerror (FD_t fd) |
strerror(3) clone. | |
size_t | Fread (void *buf, size_t size, size_t nmemb, FD_t fd) |
fread(3) clone. | |
size_t | Fwrite (const void *buf, size_t size, size_t nmemb, FD_t fd) |
fwrite(3) clone. | |
int | Fseek (FD_t fd, _libio_off_t offset, int whence) |
fseek(3) clone. | |
int | Fclose (FD_t fd) |
fclose(3) clone. | |
FD_t | Fdopen (FD_t ofd, const char *fmode) |
FD_t | Fopen (const char *path, const char *fmode) |
fopen(3) clone. | |
int | Fflush (FD_t fd) |
fflush(3) clone. | |
int | Ferror (FD_t fd) |
ferror(3) clone. | |
int | Fileno (FD_t fd) |
fileno(3) clone. | |
int | Fcntl (FD_t fd, int op, void *lip) |
fcntl(2) clone. | |
RPMIO Utilities. | |
off_t | fdSize (FD_t fd) |
Typedefs | |
typedef _FD_s * | FD_t |
typedef FDIO_s * | FDIO_t |
typedef _FDSTACK_s | FDSTACK_t |
typedef enum fdOpX_e | fdOpX |
struct { | |
rpmop_s ops [FDSTAT_MAX] | |
} | FDSTAT_t |
typedef _FDDIGEST_s * | FDDIGEST_t |
typedef enum rpmDigestFlags_e | rpmDigestFlags |
typedef unsigned long int | rpmtime_t |
typedef rpmsw_s * | rpmsw |
typedef rpmop_s * | rpmop |
Enumerations | |
enum | fdOpX_e { FDSTAT_READ = 0, FDSTAT_WRITE = 1, FDSTAT_SEEK = 2, FDSTAT_CLOSE = 3, FDSTAT_DIGEST = 4, FDSTAT_MAX = 5 } |
enum | rpmDigestFlags_e { RPMDIGEST_NONE = 0 } |
Functions | |
int | xstrcasecmp (const char *s1, const char *s2) |
int | xstrncasecmp (const char *s1, const char *s2, size_t n) |
int | fdFgets (FD_t fd, char *buf, size_t len) |
FD_t | ftpOpen (const char *url, int flags, mode_t mode, urlinfo *uret) |
int | ftpReq (FD_t data, const char *ftpCmd, const char *ftpArg) |
int | ftpCmd (const char *cmd, const char *url, const char *arg2) |
int | ufdClose (void *cookie) |
FDIO_t | fdGetIo (FD_t fd) |
void | fdSetIo (FD_t fd, FDIO_t io) |
FILE * | fdGetFILE (FD_t fd) |
void * | fdGetFp (FD_t fd) |
void | fdSetFp (FD_t fd, void *fp) |
int | fdGetFdno (FD_t fd) |
void | fdSetFdno (FD_t fd, int fdno) |
void | fdSetContentLength (FD_t fd, ssize_t contentLength) |
void | fdPush (FD_t fd, FDIO_t io, void *fp, int fdno) |
void | fdPop (FD_t fd) |
rpmop | fdstat_op (FD_t fd, fdOpX opx) |
void | fdstat_enter (FD_t fd, int opx) |
void | fdstat_exit (FD_t fd, int opx, ssize_t rc) |
void | fdstat_print (FD_t fd, const char *msg, FILE *fp) |
void | fdSetSyserrno (FD_t fd, int syserrno, const void *errcookie) |
int | fdGetRdTimeoutSecs (FD_t fd) |
long int | fdGetCpioPos (FD_t fd) |
void | fdSetCpioPos (FD_t fd, long int cpioPos) |
FD_t | c2f (void *cookie) |
void | fdInitDigest (FD_t fd, pgpHashAlgo hashalgo, int flags) |
void | fdUpdateDigests (FD_t fd, const unsigned char *buf, ssize_t buflen) |
void | fdFiniDigest (FD_t fd, pgpHashAlgo hashalgo, void **datap, size_t *lenp, int asAscii) |
int | fdFileno (void *cookie) |
DIGEST_CTX | rpmDigestDup (DIGEST_CTX octx) |
DIGEST_CTX | rpmDigestInit (pgpHashAlgo hashalgo, rpmDigestFlags flags) |
int | rpmDigestUpdate (DIGEST_CTX ctx, const void *data, size_t len) |
int | rpmDigestFinal (DIGEST_CTX ctx, void **datap, size_t *lenp, int asAscii) |
rpmtime_t | tvsub (const struct timeval *etv, const struct timeval *btv) |
int | rpmswEnter (rpmop op, ssize_t rc) |
rpmtime_t | rpmswExit (rpmop op, ssize_t rc) |
rpmtime_t | rpmswAdd (rpmop to, rpmop from) |
rpmtime_t | rpmswSub (rpmop to, rpmop from) |
|
|
|
Definition at line 41 of file rpmio.h. Referenced by Fseek(). |
|
|
Referenced by fdFiniDigest(), fdInitDigest(), fdUpdateDigests(), readFile(), rpmReadPackageFile(), and XfdFree(). |
|
Definition at line 84 of file rpmio.h. Referenced by Fclose(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 64 of file rpmio.h. Referenced by Fread(). |
|
|
|
Definition at line 78 of file rpmio.h. Referenced by Fseek(). |
|
|
|
Definition at line 72 of file rpmio.h. Referenced by Fwrite(). |
|
Identify per-desciptor I/O operation statistics. |
|
|
|
Cumulative statistics for a descriptor. |
|
Bit(s) to control digest operation. |
|
Definition at line 18 of file rpmsw.h. Referenced by fdstat_op(), fdstat_print(), rpmswAdd(), rpmswEnter(), rpmswExit(), rpmswSub(), and rpmtsOp(). |
|
Definition at line 14 of file rpmsw.h. Referenced by rpmswDiff(), and rpmswNow(). |
|
Definition at line 10 of file rpmsw.h. Referenced by psmWait(), rpmswAdd(), rpmswDiff(), rpmswExit(), rpmswInit(), rpmswSub(), and tvsub(). |
|
Identify per-desciptor I/O operation statistics.
Definition at line 114 of file rpmio_internal.h. |
|
Bit(s) to control digest operation. |
|
Definition at line 496 of file rpmio_internal.h. Referenced by __fdClose(), __fdRead(), __fdWrite(), fdFileno(), fdSeek(), fdSeekNot(), ufdClose(), ufdRead(), ufdSeek(), ufdWrite(), and XfdLink(). |
|
|
fcntl(2) clone.
|
|
Definition at line 582 of file rpmio.c. References errno, FD_t, fdFileno, fdRead, fdReadable(), _FD_s::rd_timeoutsecs, strerror(), and _FD_s::syserrno. Referenced by checkResponse(), and ftpNLST(). |
|
Definition at line 587 of file rpmio_internal.h. References c2f(), FD_t, _FDSTACK_s::fdno, and _FD_s::fps. |
|
Definition at line 548 of file rpmio_internal.h. References _FD_s::digests, FD_t, FDDIGEST_t, FDSTAT_DIGEST, fdstat_enter(), fdstat_exit(), _FDDIGEST_s::hashalgo, _FDDIGEST_s::hashctx, _FD_s::ndigests, and rpmDigestFinal(). Referenced by domd5(), expandRegular(), and writeRPM(). |
|
Definition at line 476 of file rpmio_internal.h. References _FD_s::fd_cpioPos, FD_t, and FDSANE. Referenced by fsmSetup(), and fsmStage(). |
|
Definition at line 310 of file rpmio_internal.h. References FD_t, _FDSTACK_s::fdno, FDSANE, _FD_s::fps, and _FD_s::nfps. Referenced by Fclose(), Fopen(), and ufdWrite(). |
|
Definition at line 268 of file rpmio_internal.h. References FD_t, FDSANE, _FDSTACK_s::fp, _FD_s::fps, and _FD_s::nfps. |
|
Definition at line 282 of file rpmio_internal.h. References FD_t, FDSANE, _FDSTACK_s::fp, _FD_s::fps, and _FD_s::nfps. Referenced by addFileToTagAux(), doScript(), Fdopen(), Fflush(), Fopen(), processPackageFiles(), readLine(), rpmfd_Fopen(), rpmReadPackageManifest(), and XurlFree(). |
|
Definition at line 240 of file rpmio_internal.h. References FD_t, FDIO_t, FDSANE, _FD_s::fps, _FDSTACK_s::io, and _FD_s::nfps. Referenced by Fflush(), Fread(), Fseek(), Fwrite(), getFdErrstr(), ufdRead(), and ufdWrite(). |
|
Definition at line 466 of file rpmio_internal.h. References FD_t, FDSANE, and _FD_s::rd_timeoutsecs. |
|
Attach digest to fd. Definition at line 510 of file rpmio_internal.h. References _FD_s::digests, FD_t, FDDIGEST_t, FDSTAT_DIGEST, fdstat_enter(), fdstat_exit(), _FDDIGEST_s::hashalgo, _FDDIGEST_s::hashctx, _FD_s::ndigests, and rpmDigestInit(). Referenced by domd5(), expandRegular(), rpmReadPackageFile(), rpmVerifySignatures(), and writeRPM(). |
|
Definition at line 2841 of file rpmio.c. References FDIO_s::close, cvtfmode(), DBGIO, FD_t, fdbg(), fdGetFp(), FDIO_t, fdLink, fdPush(), FDSANE, fdSetFp(), Fileno(), fpio, FDIO_s::read, FDIO_s::seek, and FDIO_s::write. Referenced by cpio_doio(), doScript(), Fopen(), main(), and rpmpsmStage(). |
|
Definition at line 359 of file rpmio_internal.h. References FD_t, FDSANE, fdSetFdno(), fdSetFp(), fdSetIo(), and _FD_s::nfps. Referenced by Fclose(). |
|
Definition at line 344 of file rpmio_internal.h. References FD_t, FDIO_t, FDSANE, fdSetFdno(), fdSetFp(), fdSetIo(), _FD_s::fps, and _FD_s::nfps. Referenced by Fdopen(), Fopen(), and XurlFree(). |
|
Definition at line 334 of file rpmio_internal.h. References _FD_s::bytesRemain, _FD_s::contentLength, FD_t, and FDSANE. |
|
Definition at line 486 of file rpmio_internal.h. References _FD_s::fd_cpioPos, FD_t, and FDSANE. Referenced by fsmSetup(), and fsmStage(). |
|
Definition at line 322 of file rpmio_internal.h. References FD_t, _FDSTACK_s::fdno, FDSANE, _FD_s::fps, and _FD_s::nfps. Referenced by __fdClose(), __fdOpen(), fdDup(), fdPop(), fdPush(), ftpReq(), and tcpConnect(). |
|
Definition at line 295 of file rpmio_internal.h. References FD_t, FDSANE, _FDSTACK_s::fp, _FD_s::fps, and _FD_s::nfps. Referenced by Fclose(), Fdopen(), fdPop(), fdPush(), and ufdClose(). |
|
Definition at line 253 of file rpmio_internal.h. References FD_t, FDIO_t, FDSANE, _FD_s::fps, _FDSTACK_s::io, and _FD_s::nfps. Referenced by fdPop(), fdPush(), ftpOpen(), httpOpen(), ufdOpen(), and urlConnect(). |
|
Definition at line 453 of file rpmio_internal.h. References _FD_s::errcookie, FD_t, FDSANE, and _FD_s::syserrno. Referenced by ftpLogin(), ftpReq(), httpReq(), and tcpConnect(). |
|
Definition at line 195 of file rpmio.c. References _FD_s::contentLength, DBGIO, FD_t, FDSANE, Fileno(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and _FD_s::urlType. Referenced by doReadRC(), readIcon(), and rpmioSlurp(). |
|
Definition at line 388 of file rpmio_internal.h. References FD_t, fdstat_op(), rpmswEnter(), and _FD_s::stats. Referenced by __fdClose(), __fdRead(), __fdWrite(), fdFiniDigest(), fdInitDigest(), fdSeek(), and fdUpdateDigests(). |
|
Definition at line 400 of file rpmio_internal.h. References _FD_s::bytesRemain, FD_t, fdstat_op(), rpmswExit(), _FD_s::stats, and _FD_s::syserrno. Referenced by __fdClose(), __fdRead(), __fdWrite(), fdFiniDigest(), fdInitDigest(), fdSeek(), and fdUpdateDigests(). |
|
Definition at line 373 of file rpmio_internal.h. References FD_t, rpmop, and _FD_s::stats. Referenced by fdstat_enter(), fdstat_exit(), fsmStage(), and rpmpsmStage(). |
|
Definition at line 417 of file rpmio_internal.h. References rpmop_s::bytes, rpmop_s::count, FD_t, FDSTAT_CLOSE, FDSTAT_READ, FDSTAT_SEEK, FDSTAT_WRITE, rpmop, _FD_s::stats, and rpmop_s::usecs. |
|
Update digest(s) attached to fd. Definition at line 528 of file rpmio_internal.h. References _FD_s::digests, FD_t, FDDIGEST_t, FDSTAT_DIGEST, fdstat_enter(), fdstat_exit(), _FDDIGEST_s::hashctx, _FD_s::ndigests, and rpmDigestUpdate(). Referenced by __fdRead(), and __fdWrite(). |
|
ferror(3) clone.
Definition at line 3039 of file rpmio.c. References DBGIO, _FD_s::errcookie, FD_t, fdbg(), fdFileno, fdGetFILE, FDSTACK_t, _FD_s::fps, _FDSTACK_s::io, _FD_s::nfps, and _FD_s::syserrno. Referenced by addFileToTagAux(), cpio_copy(), defaultMachine(), domd5(), doReadRC(), doScript(), fsmStage(), ftsStashLatest(), IDTXglob(), isCompressed(), isSpecFile(), main(), makeGPGSignature(), makeHDRSignature(), makePGPSignature(), makeTempFile(), manageFile(), processPackageFiles(), readIcon(), readLead(), readLine(), readRPM(), rpmcliSign(), rpmfd_Fopen(), rpmfd_init(), rpmGraph(), rpmInstall(), rpmioSlurp(), rpmLoadMacroFile(), rpmpsmStage(), rpmQueryVerify(), rpmReadRC(), rpmShowProgress(), rpmtsSolve(), runScript(), urlGetFile(), and writeRPM(). |
|
fflush(3) clone.
Definition at line 3019 of file rpmio.c. References FD_t, fdGetFILE, fdGetFp(), and fdGetIo(). Referenced by cpio_doio(), expandRegular(), rpmpsmStage(), and writeRPM(). |
|
fileno(3) clone.
Definition at line 3074 of file rpmio.c. References DBGIO, FD_t, fdbg(), _FDSTACK_s::fdno, _FD_s::fps, and _FD_s::nfps. Referenced by cpio_doio(), doScript(), Fcntl(), Fdopen(), fdSize(), makeTempFile(), printSize(), rpmpsmStage(), rpmReadPackageFile(), runScript(), ufdOpen(), writeFile(), and writeRPM(). |
|
fopen(3) clone.
Definition at line 2948 of file rpmio.c. References cvtfmode(), FD_t, fdClose, fdFileno, fdGetFdno(), fdGetFp(), Fdopen(), fdOpen, fdPush(), fpio, ufdOpen(), URL_IS_DASH, URL_IS_FTP, URL_IS_HTTP, URL_IS_PATH, URL_IS_UNKNOWN, and urlIsURL(). Referenced by addFileToTagAux(), defaultMachine(), domd5(), doReadRC(), fsmStage(), ftsStashLatest(), IDTXglob(), isCompressed(), isSpecFile(), main(), makeGPGSignature(), makeHDRSignature(), makePGPSignature(), makeTempFile(), manageFile(), processPackageFiles(), readIcon(), readLine(), readRPM(), rpmcliSign(), rpmfd_Fopen(), rpmfd_init(), rpmGraph(), rpmHeaderFromFile(), rpmInstall(), rpmioSlurp(), rpmLoadMacroFile(), rpmpsmStage(), rpmQueryVerify(), rpmReadRC(), rpmShowProgress(), rpmtsSolve(), runScript(), urlGetFile(), and writeRPM(). |
|
fread(3) clone.
Definition at line 2608 of file rpmio.c. References DBGIO, FD_t, fdbg(), fdGetFILE, fdGetIo(), fdio_read_function_t, FDIOVEC, and FDSANE. Referenced by copyFile(), cpio_copy(), defaultMachine(), domd5(), doReadRC(), fsmStage(), isCompressed(), isSpecFile(), main(), readFile(), readIcon(), readRPM(), rpmioSlurp(), rpmReadPackageFile(), ufdCopy(), and writeRPM(). |
|
fseek(3) clone.
Definition at line 2655 of file rpmio.c. References _libio_pos_t, DBGIO, FD_t, fdbg(), fdGetFILE, fdGetIo(), fdio_seek_function_t, FDIOVEC, and FDSANE. Referenced by readRPM(), and writeRPM(). |
|
strerror(3) clone.
Definition at line 2597 of file rpmio.c. References errno, FD_t, FDSANE, getFdErrstr(), and strerror(). Referenced by copyFile(), cpio_copy(), doReadRC(), IDTXglob(), isCompressed(), isSpecFile(), main(), manageFile(), processPackageFiles(), readFile(), readIcon(), readLead(), readLine(), readRPM(), rpmfd_Fopen(), rpmfd_init(), rpmGraph(), rpmInstall(), rpmpsmStage(), rpmQueryVerify(), rpmReadPackageFile(), rpmReadRC(), rpmReSign(), rpmShowProgress(), rpmtsSolve(), urlGetFile(), and writeRPM(). |
|
Definition at line 1416 of file rpmio.c. References urlinfo_s::ctrl, fdFree, ftpCommand(), urlConnect(), urlinfo, and urlPath(). Referenced by ftpChdir(), ftpMkdir(), ftpRename(), ftpReq(), ftpRmdir(), and ftpUnlink(). |
|
Definition at line 1952 of file rpmio.c. References _FD_s::bytesRemain, _FD_s::contentLength, urlinfo_s::data, FD_t, fdLink, fdNew, fdSetIo(), _FD_s::ftpFileDoneNeeded, _FD_s::rd_timeoutsecs, ufdio, _FD_s::url, urlConnect(), urlinfo, urlLink, and _FD_s::urlType. |
|
Definition at line 1136 of file rpmio.c. References alloca(), _FD_s::contentLength, urlinfo_s::ctrl, errno, FD_t, fdClose, fdFileno, fdLink, fdSetFdno(), fdSetSyserrno(), fdWrite, ftpCheckResponse(), ftpCmd(), ftpCommand(), _FD_s::ftpFileDoneNeeded, ftpStrerror(), inet_aton(), stpcpy(), _FD_s::url, urlinfo, and URLSANE. |
|
fwrite(3) clone.
Definition at line 2630 of file rpmio.c. References DBGIO, FD_t, fdbg(), fdGetFILE, fdGetIo(), fdio_write_function_t, FDIOVEC, and FDSANE. Referenced by copyFile(), cpio_copy(), fsmStage(), main(), rpmWriteSignature(), runScript(), ufdCopy(), writeLead(), and writeRPM(). |
|
Duplicate a digest context.
Definition at line 36 of file digest.c. References DIGEST_CTX, DIGEST_CTX_s::param, DIGEST_CTX_s::paramlen, and xcalloc(). Referenced by verifyGPGSignature(), verifyMD5Signature(), verifyPGPSignature(), and verifySHA1Signature(). |
|
Return digest and destroy context. Final wrapup - pad to 64-byte boundary with the bit pattern 1 0* (64-bit count of bits processed, MSB-first)
Definition at line 114 of file digest.c. References byte, DIGEST_CTX_s::Digest, DIGEST_CTX, DIGEST_CTX_s::digestlen, DPRINTF, DIGEST_CTX_s::param, DIGEST_CTX_s::paramlen, and xmalloc(). Referenced by domd5(), fdFiniDigest(), makeHDRSignature(), pgpFreeDig(), rhnUnload(), verifyGPGSignature(), verifyMD5Signature(), verifyPGPSignature(), verifySHA1Signature(), and XfdFree(). |
|
Initialize digest. Set bit count to 0 and buffer to mysterious initialization constants.
Definition at line 46 of file digest.c. References DIGEST_CTX_s::datalen, DIGEST_CTX_s::Digest, DIGEST_CTX, DIGEST_CTX_s::digestlen, DPRINTF, DIGEST_CTX_s::flags, DIGEST_CTX_s::param, DIGEST_CTX_s::paramlen, PGPHASHALGO_HAVAL_5_160, PGPHASHALGO_MD2, PGPHASHALGO_MD5, PGPHASHALGO_RIPEMD160, PGPHASHALGO_SHA1, PGPHASHALGO_TIGER192, DIGEST_CTX_s::Reset, DIGEST_CTX_s::Update, and xcalloc(). Referenced by domd5(), fdInitDigest(), headerCheck(), makeHDRSignature(), readFile(), rhnUnload(), and rpmReadPackageFile(). |
|
Update context with next plain text buffer.
Definition at line 100 of file digest.c. References DIGEST_CTX, DPRINTF, DIGEST_CTX_s::param, and DIGEST_CTX_s::Update. Referenced by domd5(), fdUpdateDigests(), headerCheck(), makeHDRSignature(), readFile(), rhnUnload(), rpmReadPackageFile(), verifyGPGSignature(), and verifyPGPSignature(). |
|
Sum statistic counters.
Definition at line 273 of file rpmsw.c. References rpmop_s::bytes, rpmop_s::count, rpmop, rpmtime_t, and rpmop_s::usecs. Referenced by fsmStage(), psmWait(), rpmpsmStage(), rpmtsCloseDB(), and rpmtsCloseSDB(). |
|
Enter timed operation.
Definition at line 241 of file rpmsw.c. References rpmop_s::begin, rpmop_s::bytes, rpmop_s::count, rpmop, rpmswNow(), and rpmop_s::usecs. Referenced by dbiDel(), dbiGet(), dbiPget(), dbiPut(), fdstat_enter(), headerCheck(), rpmpsmStage(), rpmsqWaitUnregister(), rpmtsCheck(), rpmtsCreate(), rpmtsOrder(), rpmtsRun(), verifyGPGSignature(), verifyMD5Signature(), verifyPGPSignature(), and verifySHA1Signature(). |
|
Exit timed operation.
Definition at line 257 of file rpmsw.c. References rpmop_s::begin, rpmop_s::bytes, rpmop, rpmswDiff(), rpmswNow(), rpmtime_t, and rpmop_s::usecs. Referenced by dbiDel(), dbiGet(), dbiPget(), dbiPut(), fdstat_exit(), headerCheck(), rpmpsmStage(), rpmsqWaitUnregister(), rpmtsCheck(), rpmtsOrder(), rpmtsPrintStats(), rpmtsRun(), verifyGPGSignature(), verifyMD5Signature(), verifyPGPSignature(), and verifySHA1Signature(). |
|
Subtract statistic counters.
Definition at line 285 of file rpmsw.c. References rpmop_s::bytes, rpmop_s::count, rpmop, rpmtime_t, and rpmop_s::usecs. |
|
Return difference of 2 timeval stamps in micro-seconds.
Definition at line 107 of file rpmsw.c. References rpmtime_t. Referenced by rpmswDiff(). |
|
Definition at line 1831 of file rpmio.c. References _FD_s::bytesRemain, c2f(), _FD_s::contentLength, urlinfo_s::ctrl, urlinfo_s::data, FD_t, fdClose, fdFree, fdGetFILE, fdReadable(), fdSetFp(), fdWrite, ftpAbort(), ftpFileDone(), _FD_s::ftpFileDoneNeeded, httpResp(), urlinfo_s::httpVersion, noLibio, _FD_s::persist, urlinfo_s::service, UFDONLY, _FD_s::url, urlFree, urlinfo, urlinfo_s::urltype, and _FD_s::wr_chunked. |
|
Locale insensitive strcasecmp(3). Definition at line 9 of file strcasecmp.c. References xtolower(). Referenced by findTag(), getTagVal(), hdr_subscript(), isMemberInEntry(), machEquivSearch(), optionCompare(), parseYesNo(), rpmLookupSignatureType(), rpmRebuildTargetVars(), tagNumFromPyObject(), and tagValue(). |
|
Locale insensitive strncasecmp(3). Definition at line 32 of file strcasecmp.c. References xtolower(). Referenced by db3New(), findPreambleTag(), getTagVal(), isPart(), Link(), matchTok(), and Rename(). |
|
Cumulative statistics. Definition at line 127 of file rpmio_internal.h. |