#include <header.h>
#include <netinet/in.h>
Go to the source code of this file.
Data Structures | |
struct | entryInfo_s |
struct | indexEntry_s |
struct | headerToken_s |
The Header data structure. More... | |
struct | sprintfTag_s |
struct | rpmec_s |
struct | sprintfToken_s |
Defines | |
#define | INDEX_MALLOC_SIZE 8 |
#define | HEADER_OLDFILENAMES 1027 |
#define | HEADER_BASENAMES 1117 |
#define | REGION_TAG_TYPE RPM_BIN_TYPE |
#define | REGION_TAG_COUNT sizeof(struct entryInfo_s) |
#define | ENTRY_IS_REGION(_e) (((_e)->info.tag >= HEADER_IMAGE) && ((_e)->info.tag < HEADER_REGIONS)) |
#define | ENTRY_IN_REGION(_e) ((_e)->info.offset < 0) |
#define | HEADERFLAG_SORTED (1 << 0) |
#define | HEADERFLAG_ALLOCATED (1 << 1) |
#define | HEADERFLAG_LEGACY (1 << 2) |
#define | HEADERFLAG_DEBUG (1 << 3) |
#define | HEADER_DUMP_INLINE 1 |
Typedefs | |
typedef entryInfo_s * | entryInfo |
Description of tag data. | |
typedef indexEntry_s * | indexEntry |
A single tag from a Header. | |
typedef sprintfTag_s * | sprintfTag |
typedef rpmec_s * | rpmec |
Extension cache. | |
typedef sprintfToken_s * | sprintfToken |
Functions | |
char ** | headerGetLangs (Header h) |
Return array of locales found in header. | |
int | headerGetRawEntry (Header h, int_32 tag, hTYP_t type, hPTR_t *p, hCNT_t c) |
Retrieve tag value with type match. | |
static int | headerUsageCount (Header h) |
Return header reference count. | |
void | headerDump (Header h, FILE *f, int flags, const struct headerTagTableEntry_s *tags) |
Dump a header in human readable format (for debugging). |
Definition in file header_internal.h.
|
Definition at line 38 of file header_internal.h. |
|
Definition at line 36 of file header_internal.h. Referenced by copyEntry(), and doHeaderUnload(). |
|
Definition at line 20 of file header_internal.h. |
|
Definition at line 203 of file header_internal.h. Referenced by headerDump(), main(), and spewHeader(). |
|
Definition at line 19 of file header_internal.h. |
|
Is 1st header region allocated? Definition at line 66 of file header_internal.h. Referenced by headerAllocated(), rpmdbNextIterator(), rpmReadHeader(), and rpmReadSignature(). |
|
Debug this header? Definition at line 68 of file header_internal.h. |
|
Header came from legacy source? Definition at line 67 of file header_internal.h. Referenced by doHeaderUnload(). |
|
Are header entries sorted? Definition at line 65 of file header_internal.h. Referenced by doHeaderUnload(), and findEntry(). |
|
Definition at line 14 of file header_internal.h. |
|
Definition at line 34 of file header_internal.h. Referenced by copyEntry(), headerCheck(), regionSwab(), and rpmReadSignature(). |
|
Definition at line 33 of file header_internal.h. |