rpm 5.2.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- Data Structures
- Data Fields

Data Fields
_FD_s Struct Reference
RPMIO.

The FD_t File Handle data structure. More...

`#include <rpmio/rpmio_internal.h>`

Collaboration diagram for _FD_s:
[legend]

## Data Fields
struct rpmioItem_s | _item
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
const char * | opath
int | oflags
mode_t | omode
rpmxar | xar
pgpDig | dig
FDSTAT_t | stats
int | ndigests
struct _FDDIGEST_s | digests [32]
const char * | contentType
const char * | contentDisposition
time_t | lastModified
int | ftpFileDoneNeeded
unsigned long long | fd_cpioPos

## Detailed Description

The FD_t File Handle data structure.

Definition at line 60 of file rpmio_internal.h.

## Field Documentation

struct rpmioItem_s _FD_s::_item

usage mutex and pool identifier.

Definition at line 61 of file rpmio_internal.h.

Referenced by httpOpen().

ssize_t _FD_s::bytesRemain

Definition at line 77 of file rpmio_internal.h.

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

const char* _FD_s::contentDisposition

Definition at line 105 of file rpmio_internal.h.

Referenced by fdFini(), and XfdNew().

ssize_t _FD_s::contentLength

Definition at line 78 of file rpmio_internal.h.

Referenced by checkResponse(), fdSetContentLength(), Fstat(), ftpOpen(), ftpReq(), httpOpen(), ufdClose(), ufdOpen(), urlConnect(), and XfdNew().

const char* _FD_s::contentType

Definition at line 103 of file rpmio_internal.h.

Referenced by fdFini(), and XfdNew().

pgpDig _FD_s::dig

Definition at line 94 of file rpmio_internal.h.

Referenced by fdFini(), fdGetDig(), fdSetDig(), and XfdNew().

struct _FDDIGEST_s _FD_s::digests[32]

Definition at line 100 of file rpmio_internal.h.

Referenced by fdFini(), fdFiniDigest(), fdInitDigest(), fdStealDigest(), fdUpdateDigests(), and XfdNew().

const void* _FD_s::errcookie

Definition at line 84 of file rpmio_internal.h.

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

unsigned long long _FD_s::fd_cpioPos

Definition at line 108 of file rpmio_internal.h.

Referenced by fdGetCpioPos(), fdSetCpioPos(), and XfdNew().

int _FD_s::flags

Definition at line 62 of file rpmio_internal.h.

Referenced by __fdOpen(), and XfdNew().

FDSTACK_t _FD_s::fps[8]

Definition at line 68 of file rpmio_internal.h.

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

int _FD_s::ftpFileDoneNeeded

Definition at line 107 of file rpmio_internal.h.

Referenced by ftpAbort(), ftpFileDone(), ftpOpen(), ftpReq(), httpOpen(), ufdClose(), urlConnect(), and XfdNew().

time_t _FD_s::lastModified

Definition at line 106 of file rpmio_internal.h.

Referenced by Fstat(), and XfdNew().

int _FD_s::magic

Definition at line 65 of file rpmio_internal.h.

Referenced by XfdNew().

int _FD_s::ndigests

Definition at line 98 of file rpmio_internal.h.

Referenced by __fdRead(), __fdWrite(), fdFini(), fdFiniDigest(), fdInitDigest(), fdStealDigest(), fdUpdateDigests(), and XfdNew().

int _FD_s::nfps

Definition at line 67 of file rpmio_internal.h.

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

int _FD_s::oflags

Definition at line 88 of file rpmio_internal.h.

Referenced by fdGetOFlags(), fdSetOpen(), and XfdNew().

mode_t _FD_s::omode

Definition at line 89 of file rpmio_internal.h.

Referenced by fdGetOMode(), fdSetOpen(), and XfdNew().

const char* _FD_s::opath

Definition at line 87 of file rpmio_internal.h.

Referenced by fdFini(), fdGetOPath(), fdSetOpen(), and XfdNew().

int _FD_s::persist

Definition at line 79 of file rpmio_internal.h.

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

int _FD_s::rd_timeoutsecs

Definition at line 76 of file rpmio_internal.h.

Referenced by fdbg(), fdFgets(), fdGetRdTimeoutSecs(), ftpAbort(), ftpOpen(), httpOpen(), ufdOpen(), ufdRead(), urlConnect(), and XfdNew().

void* _FD_s::req

Definition at line 74 of file rpmio_internal.h.

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

FDSTAT_t _FD_s::stats

Definition at line 96 of file rpmio_internal.h.

Referenced by fdFini(), fdstat_enter(), fdstat_exit(), fdstat_op(), fdstat_print(), rdSignature(), rpmReadHeader(), rpmReadPackageFile(), and XfdNew().

int _FD_s::syserrno

Definition at line 82 of file rpmio_internal.h.

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

void* _FD_s::url

Definition at line 72 of file rpmio_internal.h.

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

int _FD_s::urlType

Definition at line 69 of file rpmio_internal.h.

Referenced by ftpOpen(), httpOpen(), ufdOpen(), ufdSeek(), and XfdNew().

int _FD_s::wr_chunked

Definition at line 80 of file rpmio_internal.h.

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

rpmxar _FD_s::xar

Definition at line 92 of file rpmio_internal.h.

Referenced by __fdRead(), fdFini(), fdGetXAR(), fdSetXAR(), and XfdNew().

The documentation for this struct was generated from the following file:

- rpmio/rpmio_internal.h