rpmdc_s Struct Reference
Collaboration diagram for rpmdc_s:
[legend]

## Data Fields

int | ftsoptions
FTS * | t
FTSENT * | p
struct stat | sb
enum dcFlags_e | flags
uint32_t | algo
uint32_t | dalgo
const char * | dalgoName
const char * | digest
size_t | digestlen
const char * | fn
FD_t | fd
int(* | parse )(rpmdc dc)
const char *(* | print )(rpmdc dc, int rc)
const char * | ofn
FD_t | ofd
uint32_t | oalgo
const char * | oalgoName
ARGV_t | manifests
ARGI_t | algos
ARGV_t | digests
ARGV_t | paths
unsigned char | buf [BUFSIZ]
ssize_t | nb
int | ix
size_t | ncomputed
size_t | nchecked
size_t | nmatched
size_t | nfailed
struct rpmop_s | totalops
struct rpmop_s | readops
struct rpmop_s | digestops

## Detailed Description

Definition at line 43 of file rpmdigest.c.

## Field Documentation

uint32_t rpmdc_s::algo

default digest algorithm.

Definition at line 50 of file rpmdigest.c.

Referenced by main(), rpmdcFiniFile(), rpmdcInitFile(), and rpmdcParseCoreutils().

ARGI_t rpmdc_s::algos

array of file digest algorithms.

Definition at line 65 of file rpmdigest.c.

Referenced by main(), rpmdcFiniFile(), rpmdcParseCoreutils(), and rpmdcParseZeroInstall().

unsigned char rpmdc_s::buf[BUFSIZ]

Definition at line 68 of file rpmdigest.c.

Referenced by rpmdcCalcFile().

uint32_t rpmdc_s::dalgo

digest algorithm.

Definition at line 51 of file rpmdigest.c.

Referenced by rpmdcFiniFile(), rpmdcInitFile(), rpmdcParseCoreutils(), rpmdcParseZeroInstall(), and rpmdcPrintFile().

const char* rpmdc_s::dalgoName

digest algorithm name.

Definition at line 53 of file rpmdigest.c.

Referenced by rpmdcFiniFile(), rpmdcInitFile(), rpmdcParseCoreutils(), and rpmdcPrintCoreutils().

const char* rpmdc_s::digest

Definition at line 54 of file rpmdigest.c.

Referenced by main(), rpmdcParseZeroInstall(), rpmdcPrintCoreutils(), rpmdcPrintFile(), and rpmdcPrintZeroInstall().

size_t rpmdc_s::digestlen

Definition at line 55 of file rpmdigest.c.

Referenced by main(), rpmdcPrintCoreutils(), rpmdcPrintFile(), and rpmdcPrintZeroInstall().

struct rpmop_s rpmdc_s::digestops

Definition at line 78 of file rpmdigest.c.

Referenced by main(), and rpmdcFiniFile().

ARGV_t rpmdc_s::digests

array of file digests.

Definition at line 66 of file rpmdigest.c.

Referenced by main(), rpmdcParseCoreutils(), rpmdcParseZeroInstall(), and rpmdcPrintFile().

FD_t rpmdc_s::fd

Definition at line 57 of file rpmdigest.c.

Referenced by rpmdcCalcFile(), rpmdcFiniFile(), rpmdcInitFile(), rpmdcParseCoreutils(), and rpmdcPrintFile().

enum dcFlags_e rpmdc_s::flags

rpmdc control bits.

Definition at line 49 of file rpmdigest.c.

const char* rpmdc_s::fn

Definition at line 56 of file rpmdigest.c.

Referenced by main(), rpmdcCalcFile(), rpmdcCWalk(), rpmdcFiniFile(), rpmdcInitFile(), rpmdcParseCoreutils(), rpmdcParseZeroInstall(), rpmdcPrintCoreutils(), rpmdcPrintFile(), rpmdcPrintZeroInstall(), and rpmdcVisitF().

int rpmdc_s::ftsoptions

global Fts(3) traversal options.

Definition at line 44 of file rpmdigest.c.

Referenced by main(), and rpmdcCWalk().

int rpmdc_s::ix

Definition at line 70 of file rpmdigest.c.

Referenced by main(), rpmdcFiniFile(), and rpmdcPrintFile().

ARGV_t rpmdc_s::manifests

array of file manifests to verify.

Definition at line 64 of file rpmdigest.c.

Referenced by main(), rpmdcArgCallback(), rpmdcFiniFile(), rpmdcLoadManifests(), rpmdcParseCoreutils(), rpmdcParseZeroInstall(), rpmdcPrintCoreutils(), rpmdcPrintFile(), and rpmdcPrintZeroInstall().

ssize_t rpmdc_s::nb

Definition at line 69 of file rpmdigest.c.

Referenced by rpmdcCalcFile().

size_t rpmdc_s::nchecked

no. of digests checked.

Definition at line 73 of file rpmdigest.c.

Referenced by rpmdcPrintFile().

size_t rpmdc_s::ncomputed

no. of digests computed.

Definition at line 72 of file rpmdigest.c.

Referenced by main(), and rpmdcPrintFile().

size_t rpmdc_s::nfailed

no. of digests failed.

Definition at line 75 of file rpmdigest.c.

Referenced by main(), and rpmdcPrintFile().

size_t rpmdc_s::nmatched

no. of digests matched.

Definition at line 74 of file rpmdigest.c.

Referenced by rpmdcPrintFile().

uint32_t rpmdc_s::oalgo

output digest algorithm.

Definition at line 62 of file rpmdigest.c.

Referenced by main().

const char* rpmdc_s::oalgoName

output digest algorithm name.

Definition at line 63 of file rpmdigest.c.

Referenced by main().

FD_t rpmdc_s::ofd

output file handle

Definition at line 61 of file rpmdigest.c.

Referenced by main(), and rpmdcPrintFile().

const char* rpmdc_s::ofn

output file name

Definition at line 60 of file rpmdigest.c.

Referenced by main().

FTSENT* rpmdc_s::p

current node Fts(3) traversal data.

Definition at line 46 of file rpmdigest.c.

Referenced by rpmdcCWalk().

int(* rpmdc_s::parse)(rpmdc dc)

Definition at line 58 of file rpmdigest.c.

Referenced by main(), and rpmdcLoadManifests().

ARGV_t rpmdc_s::paths

array of file paths.

Definition at line 67 of file rpmdigest.c.

Referenced by main(), rpmdcCWalk(), rpmdcParseCoreutils(), and rpmdcParseZeroInstall().

const char*(* rpmdc_s::print)(rpmdc dc, int rc)

Definition at line 59 of file rpmdigest.c.

Referenced by main(), and rpmdcPrintFile().

struct rpmop_s rpmdc_s::readops

Definition at line 77 of file rpmdigest.c.

Referenced by main(), and rpmdcFiniFile().

struct stat rpmdc_s::sb

current node stat(2) data.

Definition at line 47 of file rpmdigest.c.

Referenced by main(), rpmdcCWalk(), rpmdcInitFile(), and rpmdcPrintZeroInstall().

FTS* rpmdc_s::t

global Fts(3) traversal data.

Definition at line 45 of file rpmdigest.c.

Referenced by rpmdcCWalk().

struct rpmop_s rpmdc_s::totalops

Definition at line 76 of file rpmdigest.c.

Referenced by main().

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

- tools/rpmdigest.c