Main Page Modules Data Structures File List Data Fields Globals Related Pages

# _FD_s Struct Reference
[RPMIO.]

`#include <rpmio_internal.h>`

## Data Fields
int | nrefs
int | flags
int | magic
int | nfps
FDSTACK_t | fps [8]
int | urlType
void * | url
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 141 of file rpmio_internal.h.

## Field Documentation

ssize_t _FD_s::bytesRemain

| Definition at line 154 of file rpmio_internal.h. Referenced by fdSetContentLength, and fdstat_exit.

ssize_t _FD_s::contentLength

| Definition at line 155 of file rpmio_internal.h. Referenced by fdSetContentLength.

struct _FDDIGEST_s _FD_s::digests[ 4 ]

| Definition at line 166 of file rpmio_internal.h. Referenced by fdFiniDigest, fdInitDigest, fdUpdateDigests, and rpmReadPackageFile.

const void* _FD_s::errcookie

| Definition at line 160 of file rpmio_internal.h. Referenced by fdSetSyserrno.

long int _FD_s::fd_cpioPos

| Definition at line 171 of file rpmio_internal.h. Referenced by fdGetCpioPos, and fdSetCpioPos.

long int _FD_s::fileSize

| Definition at line 170 of file rpmio_internal.h.

unsigned int _FD_s::firstFree

| Definition at line 169 of file rpmio_internal.h.

int _FD_s::flags

| Definition at line 143 of file rpmio_internal.h.

FDSTACK_t _FD_s::fps[8]

| Definition at line 149 of file rpmio_internal.h. Referenced by fdFileno, fdGetFdno, fdGetFILE, fdGetFp, fdGetIo, fdPush, fdSetFdno, fdSetFp, and fdSetIo.

int _FD_s::ftpFileDoneNeeded

| Definition at line 168 of file rpmio_internal.h.

int _FD_s::magic

| Definition at line 146 of file rpmio_internal.h.

int _FD_s::ndigests

| Definition at line 164 of file rpmio_internal.h. Referenced by fdFiniDigest, fdInitDigest, fdUpdateDigests, and rpmReadPackageFile.

int _FD_s::nfps

| Definition at line 148 of file rpmio_internal.h. Referenced by fdGetFdno, fdGetFILE, fdGetFp, fdGetIo, fdPop, fdPush, fdSetFdno, fdSetFp, and fdSetIo.

int _FD_s::nrefs

| Definition at line 142 of file rpmio_internal.h.

int _FD_s::persist

| Definition at line 156 of file rpmio_internal.h.

int _FD_s::rd_timeoutsecs

| Definition at line 153 of file rpmio_internal.h. Referenced by fdGetRdTimeoutSecs.

FDSTAT_t _FD_s::stats

| Definition at line 162 of file rpmio_internal.h. Referenced by fdstat_enter, fdstat_exit, and fdstat_print.

int _FD_s::syserrno

| Definition at line 159 of file rpmio_internal.h. Referenced by fdSetSyserrno, and fdstat_exit.

void* _FD_s::url

| Definition at line 152 of file rpmio_internal.h.

int _FD_s::urlType

| Definition at line 150 of file rpmio_internal.h.

int _FD_s::wr_chunked

| Definition at line 157 of file rpmio_internal.h.

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

- rpmio/rpmio_internal.h