headerToken_s Struct Reference
[HEADER.]

The Header data structure. More...

#include <rpmdb/header_internal.h>

Collaboration diagram for headerToken_s:

Collaboration graph
[legend]

Data Fields

HV_s hv
void * blob
const char * origin
const char * baseurl
const char * digest
stat sb
uint32_t instance
uint32_t startoff
uint32_t endoff
indexEntry index
int indexUsed
int indexAlloced
int flags
int nrefs

Detailed Description

The Header data structure.

Definition at line 56 of file header_internal.h.


Field Documentation

struct HV_s headerToken_s::hv

Header public methods.

Definition at line 58 of file header_internal.h.

void* headerToken_s::blob

Header region blob.

Definition at line 60 of file header_internal.h.

const char* headerToken_s::origin

Header origin (e.g. path or URL).

Definition at line 62 of file header_internal.h.

const char* headerToken_s::baseurl

Header base URL (e.g. path or URL).

Definition at line 63 of file header_internal.h.

Referenced by headerGetBaseURL(), and headerSetBaseURL().

const char* headerToken_s::digest

Header digest (from origin *.rpm file)

Definition at line 64 of file header_internal.h.

Referenced by headerGetDigest(), and headerSetDigest().

struct stat headerToken_s::sb

Header stat(2) (from origin *.rpm file)

Definition at line 65 of file header_internal.h.

Referenced by headerGetStatbuf(), and headerSetStatbuf().

uint32_t headerToken_s::instance

Header instance (if from rpmdb).

Definition at line 66 of file header_internal.h.

Referenced by headerGetInstance(), and headerSetInstance().

uint32_t headerToken_s::startoff

Header starting byte offset in package.

Definition at line 67 of file header_internal.h.

Referenced by headerGetStartOff(), and headerSetStartOff().

uint32_t headerToken_s::endoff

Header ending byte offset in package.

Definition at line 68 of file header_internal.h.

Referenced by headerGetEndOff(), and headerSetEndOff().

indexEntry headerToken_s::index

Array of tags.

Definition at line 70 of file header_internal.h.

Referenced by doHeaderUnload(), headerDump(), and replace_lzma_with_gzip().

int headerToken_s::indexUsed

Current size of tag array.

Definition at line 71 of file header_internal.h.

Referenced by doHeaderUnload(), and headerDump().

int headerToken_s::indexAlloced

Allocated size of tag array.

Definition at line 72 of file header_internal.h.

int headerToken_s::flags

Definition at line 73 of file header_internal.h.

Referenced by doHeaderUnload(), findEntry(), headerAllocated(), rpmdbNextIterator(), rpmReadHeader(), and rpmReadSignature().

int headerToken_s::nrefs

Reference count.

Definition at line 79 of file header_internal.h.

Referenced by headerUsageCount().


The documentation for this struct was generated from the following file:
Generated on Wed Oct 29 03:31:51 2008 for rpm by  doxygen 1.5.1