Go to the documentation of this file. 1 #ifndef H_HEADER_INTERNAL
2 #define H_HEADER_INTERNAL
11 #if !defined(__LCLINT__)
12 #include <netinet/in.h>
19 #define hdrchkTags(_ntags) ((_ntags) & 0xff000000)
24 #define hdrchkType(_type) ((_type) < 1 || (_type) > RPM_MAX_TYPE)
30 #define hdrchkData(_nbytes) ((_nbytes) & 0xc0000000)
37 #define hdrchkAlign(_type, _off) ((_off) & (rpm_typeAlign[_type]-1))
42 #define hdrchkRange(_dl, _off) ((_off) < 0 || (_off) > (_dl))
44 #define INDEX_MALLOC_SIZE 8
49 #define HEADER_OLDFILENAMES 1027
50 #define HEADER_BASENAMES 1117
63 #define REGION_TAG_TYPE RPM_BIN_TYPE
64 #define REGION_TAG_COUNT sizeof(struct entryInfo_s)
66 #define ENTRY_IS_REGION(_e) \
67 (((_e)->info.tag >= HEADER_IMAGE) && ((_e)->info.tag < HEADER_REGIONS))
68 #define ENTRY_IN_REGION(_e) ((_e)->info.offset < 0)
112 #define HEADERFLAG_SORTED (1 << 0)
113 #define HEADERFLAG_ALLOCATED (1 << 1)
114 #define HEADERFLAG_LEGACY (1 << 2)
115 #define HEADERFLAG_DEBUG (1 << 3)
116 #define HEADERFLAG_SIGNATURE (1 << 4)
117 #define HEADERFLAG_MAPPED (1 << 5)
118 #define HEADERFLAG_RDONLY (1 << 6)
119 #if defined(__LCLINT__)