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

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

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().

void* headerToken_s::blob
 

Header region blob.

Definition at line 60 of file header_internal.h.

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().

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().

int headerToken_s::flags
 

Definition at line 73 of file header_internal.h.

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

struct HV_s headerToken_s::hv
 

Header public methods.

Definition at line 58 of file header_internal.h.

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::indexAlloced
 

Allocated size of tag array.

Definition at line 72 of file header_internal.h.

int headerToken_s::indexUsed
 

Current size of tag array.

Definition at line 71 of file header_internal.h.

Referenced by headerDump().

uint32_t headerToken_s::instance
 

Header instance (if from rpmdb).

Definition at line 66 of file header_internal.h.

Referenced by headerGetInstance(), and headerSetInstance().

int headerToken_s::nrefs
 

Reference count.

Definition at line 79 of file header_internal.h.

Referenced by headerUsageCount().

const char* headerToken_s::origin
 

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

Definition at line 62 of file header_internal.h.

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::startoff
 

Header starting byte offset in package.

Definition at line 67 of file header_internal.h.

Referenced by headerGetStartOff(), and headerSetStartOff().


The documentation for this struct was generated from the following file:
Generated on Wed Oct 29 05:58:12 2008 for rpm by  doxygen 1.4.4