_FD_s Struct Reference
[RPMIO.]

The FD_t File Handle data structure. More...

#include <rpmio_internal.h>


Data Fields

int nrefs
int flags
int magic
int nfps
FDSTACK_t fps [8]
int urlType
void * url
void * req
int rd_timeoutsecs
ssize_t bytesRemain
ssize_t contentLength
int persist
int wr_chunked
int syserrno
const void * errcookie
FDSTAT_t stats
int ndigests
_FDDIGEST_s digests [4]
int ftpFileDoneNeeded
unsigned int firstFree
long int fileSize
long int fd_cpioPos


Detailed Description

The FD_t File Handle data structure.

Definition at line 143 of file rpmio_internal.h.


Field Documentation

int _FD_s::nrefs

Definition at line 145 of file rpmio_internal.h.

Referenced by httpOpen(), and XfdLink().

int _FD_s::flags

Definition at line 146 of file rpmio_internal.h.

Referenced by __fdOpen().

int _FD_s::magic

Definition at line 149 of file rpmio_internal.h.

int _FD_s::nfps

Definition at line 151 of file rpmio_internal.h.

Referenced by Fclose(), fdbg(), fdGetFdno(), fdGetFILE(), fdGetFp(), fdGetIo(), fdPop(), fdPush(), fdSetFdno(), fdSetFp(), fdSetIo(), Ferror(), and Fileno().

FDSTACK_t _FD_s::fps[8]

Definition at line 152 of file rpmio_internal.h.

Referenced by Fclose(), fdbg(), fdFileno(), fdGetFdno(), fdGetFILE(), fdGetFp(), fdGetIo(), fdPush(), fdSetFdno(), fdSetFp(), fdSetIo(), Ferror(), Fileno(), and ftpAbort().

int _FD_s::urlType

Definition at line 153 of file rpmio_internal.h.

Referenced by fdSize(), ufdOpen(), and ufdSeek().

void* _FD_s::url

Definition at line 156 of file rpmio_internal.h.

Referenced by ftpOpen(), ftpReq(), httpOpen(), httpReq(), ufdClose(), ufdGetUrlinfo(), and urlConnect().

void* _FD_s::req

Definition at line 158 of file rpmio_internal.h.

Referenced by __fdClose(), __fdRead(), __fdWrite(), Fclose(), fdReadable(), fdWritable(), Ferror(), Fileno(), and Fopen().

int _FD_s::rd_timeoutsecs

Definition at line 160 of file rpmio_internal.h.

Referenced by fdbg(), fdFgets(), fdGetRdTimeoutSecs(), ftpAbort(), ufdRead(), and urlConnect().

ssize_t _FD_s::bytesRemain

Definition at line 161 of file rpmio_internal.h.

Referenced by __fdRead(), __fdWrite(), fdbg(), fdSeek(), fdSetContentLength(), fdstat_exit(), ufdClose(), ufdOpen(), ufdRead(), ufdWrite(), and urlConnect().

ssize_t _FD_s::contentLength

Definition at line 162 of file rpmio_internal.h.

Referenced by checkResponse(), fdSetContentLength(), fdSize(), ftpReq(), ufdClose(), ufdOpen(), and urlConnect().

int _FD_s::persist

Definition at line 163 of file rpmio_internal.h.

Referenced by checkResponse(), Fclose(), and ufdClose().

int _FD_s::wr_chunked

Definition at line 164 of file rpmio_internal.h.

Referenced by checkResponse(), fdbg(), httpReq(), and ufdOpen().

int _FD_s::syserrno

Definition at line 166 of file rpmio_internal.h.

Referenced by fdFgets(), fdSetSyserrno(), fdstat_exit(), Ferror(), getFdErrstr(), and httpResp().

const void* _FD_s::errcookie

Definition at line 168 of file rpmio_internal.h.

Referenced by fdSetSyserrno(), Ferror(), and getFdErrstr().

FDSTAT_t _FD_s::stats

Definition at line 170 of file rpmio_internal.h.

Referenced by fdstat_enter(), fdstat_exit(), fdstat_op(), fdstat_print(), and rpmReadPackageFile().

int _FD_s::ndigests

Definition at line 172 of file rpmio_internal.h.

Referenced by __fdRead(), __fdWrite(), fdFiniDigest(), fdInitDigest(), fdUpdateDigests(), readFile(), and rpmReadPackageFile().

struct _FDDIGEST_s _FD_s::digests[4] [read]

Definition at line 174 of file rpmio_internal.h.

Referenced by fdFiniDigest(), fdInitDigest(), fdUpdateDigests(), readFile(), and rpmReadPackageFile().

int _FD_s::ftpFileDoneNeeded

Definition at line 176 of file rpmio_internal.h.

Referenced by ftpAbort(), ftpFileDone(), ufdClose(), and urlConnect().

unsigned int _FD_s::firstFree

Definition at line 177 of file rpmio_internal.h.

long int _FD_s::fileSize

Definition at line 178 of file rpmio_internal.h.

long int _FD_s::fd_cpioPos

Definition at line 179 of file rpmio_internal.h.

Referenced by fdGetCpioPos(), and fdSetCpioPos().


The documentation for this struct was generated from the following file:
Generated on Fri Oct 12 08:44:57 2007 for rpm by  doxygen 1.5.2