Files | |
| file | base64.h |
| file | falloc.c |
| The entire file space is thus divided into blocks with a "struct fablock" at the header of each. | |
| file | macro.c |
| file | rpmerr.h |
| file | rpmio.c |
| file | rpmio.h |
| file | rpmio_internal.h |
| file | rpmlog.c |
| file | rpmmacro.h |
| file | rpmmalloc.c |
| file | rpmmessages.h |
| file | rpmrpc.c |
| file | rpmurl.h |
| file | strcasecmp.c |
| file | ugid.c |
| file | ugid.h |
| file | url.c |
Data Structures | |
| struct | _FD_s |
| struct | _FDSTACK_s |
| struct | FDIO_s |
| struct | OPSTAT_t |
[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. More... | |
| size_t | Fread (void *buf, size_t size, size_t nmemb, FD_t fd) |
| fread(3) clone. More... | |
| size_t | Fwrite (const void *buf, size_t size, size_t nmemb, FD_t fd) |
| fwrite(3) clone. More... | |
| int | Fseek (FD_t fd, _libio_off_t offset, int whence) |
| fseek(3) clone. More... | |
| int | Fclose (FD_t fd) |
| fclose(3) clone. More... | |
| FD_t | Fdopen (FD_t ofd, const char *fmode) |
| FD_t | Fopen (const char *path, const char *fmode) |
| fopen(3) clone. More... | |
| int | Fflush (FD_t fd) |
| fflush(3) clone. More... | |
| int | Ferror (FD_t fd) |
| ferror(3) clone. More... | |
| int | Fileno (FD_t fd) |
| fileno(3) clone. More... | |
| int | Fcntl (FD_t fd, int op, void *lip) |
| fcntl(2) clone. More... | |
| ssize_t | Pread (FD_t fd, void *buf, size_t count, _libio_off_t offset) |
| pread(2) clone. More... | |
| ssize_t | Pwrite (FD_t fd, const void *buf, size_t count, _libio_off_t offset) |
| pwrite(2) clone. More... | |
RPMIO Utilities. | |
| off_t | fdSize (FD_t fd) |
| FD_t | fdDup (int fdno) |
| ssize_t | fdRead (void *cookie, char *buf, size_t count) |
| ssize_t | fdWrite (void *cookie, const char *buf, size_t count) |
| int | fdClose (void *cookie) |
| FD_t | fdOpen (const char *path, int flags, mode_t mode) |
| int | fdWritable (FD_t fd, int secs) |
| int | fdReadable (FD_t fd, int secs) |
| const char* const | ftpStrerror (int errorNumber) |
| const char* | urlStrerror (const char *url) |
| int | ufdCopy (FD_t sfd, FD_t tfd) |
| int | ufdGetFile (FD_t sfd, FD_t tfd) |
| void* | ufdGetUrlinfo (FD_t fd) |
| FDIO_t | fdio = &fdio_s |
| FDIO_t | ufdio = &ufdio_s |
| FDIO_t | fpio = &fpio_s |
Typedefs | |
| typedef struct _FD_s* | FD_t |
| typedef struct FDIO_s* | FDIO_t |
| typedef struct _FDSTACK_s | FDSTACK_t |
| struct { | |
| struct timeval create | |
| struct timeval begin | |
| OPSTAT_t ops [4] | |
| } | FDSTAT_t |
| typedef enum rpmDigestFlags_e | rpmDigestFlags |
Enumerations | |
| enum | FDSTAT_e { FDSTAT_READ = 0, FDSTAT_WRITE = 1, FDSTAT_SEEK = 2, FDSTAT_CLOSE = 3 } |
| enum | rpmDigestFlags_e { RPMDIGEST_MD5 = (1 << 0), RPMDIGEST_SHA1 = (1 << 1), RPMDIGEST_REVERSE = (1 << 16), RPMDIGEST_BCSWAP = (1 << 17) } |
Functions | |
| int | xstrcasecmp (const char *s1, const char *s2) |
| int | xstrncasecmp (const char *s1, const char *s2, size_t n) |
| DIGEST_CTX | rpmDigestInit (rpmDigestFlags flags) |
| void | rpmDigestUpdate (DIGEST_CTX ctx, const void *data, size_t len) |
| void | rpmDigestFinal (DIGEST_CTX ctx, void **datap, size_t *lenp, int asAscii) |
| const 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) |
| void | fdstat_enter (FD_t fd, int opx) |
| time_t | tvsub (const struct timeval *etv, const struct timeval *btv) |
| 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 | fdInitMD5 (FD_t fd, int flags) |
| void | fdInitSHA1 (FD_t fd, int flags) |
| void | fdFiniMD5 (FD_t fd, void **datap, size_t *lenp, int asAscii) |
| void | fdFiniSHA1 (FD_t fd, void **datap, size_t *lenp, int asAscii) |
| int | fdFileno (void *cookie) |
|
|
|
|
|
|
|
|
Cumulative statistics for a descriptor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bit(s) to control digest operation. |
|
|
Identify per-desciptor I/O operation statistics.
Definition at line 34 of file rpmio_internal.h. |
|
|
Bit(s) to control digest operation.
Definition at line 53 of file rpmio_internal.h. |
|
|
fclose(3) clone.
|
|
|
fcntl(2) clone.
|
|
|
|
|
|
ferror(3) clone.
|
|
|
fflush(3) clone.
|
|
|
fileno(3) clone.
|
|
|
fopen(3) clone.
|
|
|
fread(3) clone.
|
|
|
fseek(3) clone.
|
|
|
strerror(3) clone.
Definition at line 2377 of file rpmio.c. Referenced by IDTXglob(), copyFile(), cpio_copy(), doFopen(), doReadRC(), isCompressed(), isSpecFile(), main(), manageFile(), processPackageFiles(), psmStage(), readIcon(), readLead(), readLine(), readRPM(), rpmInstall(), rpmInstallSource(), rpmQueryVerify(), rpmReSign(), rpmReadRC(), urlGetFile(), and writeRPM().
|
|
|
fwrite(3) clone.
|
|
|
pread(2) clone.
|
|
|
pwrite(2) clone.
|
|
|
Definition at line 408 of file rpmio_internal.h. Referenced by XfdLink(), fdClose(), fdFileno(), fdRead(), fdSeek(), fdSeekNot(), fdWrite(), ufdClose(), ufdRead(), ufdSeek(), and ufdWrite().
|
|
|
|
|
|
|
|
|
Definition at line 484 of file rpmio_internal.h. |
|
|
Definition at line 443 of file rpmio_internal.h. Referenced by domd5(), and expandRegular().
|
|
|
Definition at line 463 of file rpmio_internal.h. Referenced by writeRPM().
|
|
|
Definition at line 388 of file rpmio_internal.h. Referenced by fsmSetup(), fsmStage(), and writeFile().
|
|
|
Definition at line 186 of file rpmio_internal.h. |
|
|
Definition at line 224 of file rpmio_internal.h. Referenced by Fclose(), Fopen(), and ufdWrite().
|
|
|
Definition at line 198 of file rpmio_internal.h. Referenced by Fdopen(), Fflush(), Fopen(), XurlFree(), addFileToTagAux(), doFopen(), doScript(), processPackageFiles(), readLine(), and rpmReadPackageManifest().
|
|
|
Definition at line 162 of file rpmio_internal.h. Referenced by Fflush(), Fread(), Fseek(), Fwrite(), getFdErrstr(), ufdRead(), and ufdWrite().
|
|
|
Definition at line 378 of file rpmio_internal.h. |
|
|
Definition at line 421 of file rpmio_internal.h. Referenced by domd5(), and expandRegular().
|
|
|
Definition at line 432 of file rpmio_internal.h. Referenced by writeRPM().
|
|
|
|
|
|
Definition at line 268 of file rpmio_internal.h. Referenced by Fclose().
|
|
|
Definition at line 254 of file rpmio_internal.h. Referenced by Fdopen(), Fopen(), and XurlFree().
|
|
|
|
|
|
|
|
|
Definition at line 244 of file rpmio_internal.h. Referenced by db1cput().
|
|
|
Definition at line 398 of file rpmio_internal.h. Referenced by fsmSetup(), and fsmStage().
|
|
|
Definition at line 234 of file rpmio_internal.h. Referenced by fdClose(), fdDup(), fdOpen(), fdPop(), fdPush(), ftpReq(), and tcpConnect().
|
|
|
Definition at line 211 of file rpmio_internal.h. Referenced by Fclose(), Fdopen(), fdPop(), fdPush(), and ufdClose().
|
|
|
Definition at line 173 of file rpmio_internal.h. Referenced by fadOpen(), fdPop(), fdPush(), ftpOpen(), httpOpen(), ufdOpen(), and urlConnect().
|
|
|
Definition at line 365 of file rpmio_internal.h. Referenced by ftpLogin(), ftpReq(), httpReq(), and tcpConnect().
|
|
|
Definition at line 180 of file rpmio.c. Referenced by doReadRC(), and readIcon().
|
|
|
|
|
|
|
|
|
Definition at line 281 of file rpmio_internal.h. Referenced by fdClose(), fdRead(), fdSeek(), and fdWrite().
|
|
|
Definition at line 307 of file rpmio_internal.h. Referenced by fdClose(), fdRead(), fdSeek(), and fdWrite().
|
|
|
Definition at line 333 of file rpmio_internal.h. |
|
|
|
|
|
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 592 of file digest.c. Referenced by fdFiniMD5(), fdFiniSHA1(), rhnUnload(), and rpmVerifyDigest().
|
|
|
Initialize digest. Set bit count to 0 and buffer to mysterious initialization constants.
Definition at line 495 of file digest.c. Referenced by fdInitMD5(), fdInitSHA1(), rhnUnload(), and rpmVerifyDigest().
|
|
|
Update context to with next plain text buffer.
Definition at line 544 of file digest.c. Referenced by fdRead(), fdWrite(), rhnUnload(), and rpmVerifyDigest().
|
|
|
Definition at line 292 of file rpmio_internal.h. Referenced by fdstat_exit().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Locale insensitive strcasecmp(3). Definition at line 9 of file strcasecmp.c. |
|
|
Locale insensitive strncasecmp(3). Definition at line 30 of file strcasecmp.c. |
|
|
Operation start time. Definition at line 46 of file rpmio_internal.h. |
|
|
Structure creation time. Definition at line 45 of file rpmio_internal.h. |
|
|
|
|
|
|
|
|
Cumulative statistics. Definition at line 47 of file rpmio_internal.h. |
|
|
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001