rpm: rpmtypes.h Source File

rpm 4.12.0.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmtypes.h
Go to the documentation of this file.
1 #ifndef _RPMTYPES_H
2 #define _RPMTYPES_H
3
11 #include <stdint.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 typedef const char * errmsg_t;
18
24 typedef struct headerToken_s * Header;
25 typedef struct headerIterator_s * HeaderIterator;
26
27 typedef int32_t rpm_tag_t;
28 typedef uint32_t rpm_tagtype_t;
29 typedef uint32_t rpm_count_t;
30 typedef rpm_tag_t rpmTagVal;
31 typedef rpm_tag_t rpmDbiTagVal;
32
33 typedef void * rpm_data_t;
34 typedef const void * rpm_constdata_t;
35
36 typedef struct rpmtd_s * rpmtd;
37
38 typedef uint32_t rpm_color_t;
39 typedef uint32_t rpm_flag_t;
40 typedef uint32_t rpm_tid_t;
41
42 typedef uint32_t rpmFlags;
50 typedef uint32_t rpm_off_t;
51 typedef uint64_t rpm_loff_t;
52 typedef uint32_t rpm_time_t;
53 typedef uint16_t rpm_mode_t;
54 typedef uint16_t rpm_rdev_t;
55 typedef uint32_t rpm_dev_t;
56 typedef uint32_t rpm_ino_t;
63 typedef struct rpmts_s * rpmts;
64 typedef struct rpmte_s * rpmte;
65 typedef struct rpmds_s * rpmds;
66 typedef struct rpmfi_s * rpmfi;
67 typedef struct rpmfiles_s * rpmfiles;
68 typedef struct rpmdb_s * rpmdb;
69 typedef struct rpmdbMatchIterator_s * rpmdbMatchIterator;
70 typedef struct rpmtsi_s * rpmtsi;
71 typedef struct rpmps_s * rpmps;
72 typedef struct rpmtxn_s * rpmtxn;
73
74 typedef struct rpmdbIndexIterator_s * rpmdbIndexIterator;
75 typedef const void * fnpyKey;
76 typedef void * rpmCallbackData;
79 typedef struct rpmPubkey_s * rpmPubkey;
80 typedef struct rpmKeyring_s * rpmKeyring;
81
82 typedef uint32_t rpmsid;
83 typedef struct rpmstrPool_s * rpmstrPool;
84
85 typedef struct rpmPlugin_s * rpmPlugin;
86 typedef struct rpmPlugins_s * rpmPlugins;
87
88 typedef struct rpmgi_s * rpmgi;
89
90 typedef struct rpmSpec_s * rpmSpec;
91
92 typedef struct rpmRelocation_s rpmRelocation;
93
94
98 typedef struct _FD_s * FD_t;
99
103 typedef enum rpmRC_e {
104 RPMRC_OK = 0,
105 RPMRC_NOTFOUND = 1,
106 RPMRC_FAIL = 2,
107 RPMRC_NOTTRUSTED = 3,
108 RPMRC_NOKEY = 4
109 } rpmRC;
110
111 #ifdef __cplusplus
112 }
113 #endif
114
115 /* XXX included late as rpmtag.h depends on our definitions here... */
116 #include <rpm/rpmtag.h>
117
118 #endif /* _RPMTYPES_H */
rpmdbMatchIterator
struct rpmdbMatchIterator_s * rpmdbMatchIterator
Definition: rpmtypes.h:69
rpmtd
struct rpmtd_s * rpmtd
Definition: rpmtypes.h:36
rpmps
struct rpmps_s * rpmps
Definition: rpmtypes.h:71
rpmtxn
struct rpmtxn_s * rpmtxn
Definition: rpmtypes.h:72
rpm_rdev_t
uint16_t rpm_rdev_t
Definition: rpmtypes.h:54
rpm_data_t
void * rpm_data_t
Definition: rpmtypes.h:33
rpm_time_t
uint32_t rpm_time_t
Definition: rpmtypes.h:52
rpmtsi
struct rpmtsi_s * rpmtsi
Definition: rpmtypes.h:70
rpm_tag_t
int32_t rpm_tag_t
Definition: rpmtypes.h:27
rpm_off_t
uint32_t rpm_off_t
In-header hardcoded sizes for various POSIXy types.
Definition: rpmtypes.h:50
rpmdbIndexIterator
struct rpmdbIndexIterator_s * rpmdbIndexIterator
Definition: rpmtypes.h:74
rpmts
struct rpmts_s * rpmts
The main types involved in transaction manipulation.
Definition: rpmtypes.h:63
rpmCallbackData
void * rpmCallbackData
Definition: rpmtypes.h:76
rpmRelocation_s
We pass these around as an array with a sentinel.
Definition: rpmfiles.h:94
rpmKeyring
struct rpmKeyring_s * rpmKeyring
Definition: rpmtypes.h:80
RPMRC_NOKEY
Definition: rpmtypes.h:108
rpmPlugins
struct rpmPlugins_s * rpmPlugins
Definition: rpmtypes.h:86
rpmfi
struct rpmfi_s * rpmfi
Definition: rpmtypes.h:66
rpmFlags
uint32_t rpmFlags
Definition: rpmtypes.h:42
RPMRC_OK
Definition: rpmtypes.h:104
rpmstrPool
struct rpmstrPool_s * rpmstrPool
Definition: rpmtypes.h:83
rpmsid
uint32_t rpmsid
Definition: rpmtypes.h:82
rpmdb
struct rpmdb_s * rpmdb
Definition: rpmtypes.h:68
rpmPubkey
struct rpmPubkey_s * rpmPubkey
Definition: rpmtypes.h:79
FD_t
struct _FD_s * FD_t
RPM IO file descriptor type.
Definition: rpmtypes.h:98
rpm_color_t
uint32_t rpm_color_t
Definition: rpmtypes.h:38
Header
struct headerToken_s * Header
RPM header and data retrieval types.
Definition: rpmtypes.h:24
HeaderIterator
struct headerIterator_s * HeaderIterator
Definition: rpmtypes.h:25
rpmPlugin
struct rpmPlugin_s * rpmPlugin
Definition: rpmtypes.h:85
fnpyKey
const void * fnpyKey
Definition: rpmtypes.h:75
rpm_constdata_t
const void * rpm_constdata_t
Definition: rpmtypes.h:34
rpmds
struct rpmds_s * rpmds
Definition: rpmtypes.h:65
rpmte
struct rpmte_s * rpmte
Definition: rpmtypes.h:64
rpm_count_t
uint32_t rpm_count_t
Definition: rpmtypes.h:29
rpmTagVal
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
rpm_tid_t
uint32_t rpm_tid_t
Definition: rpmtypes.h:40
rpmgi
struct rpmgi_s * rpmgi
Definition: rpmtypes.h:88
rpmDbiTagVal
rpm_tag_t rpmDbiTagVal
Definition: rpmtypes.h:31
RPMRC_FAIL
Definition: rpmtypes.h:106
rpmtd_s
Container for rpm tag data (from headers or extensions).
Definition: rpmtd.h:26
rpm_dev_t
uint32_t rpm_dev_t
Definition: rpmtypes.h:55
rpm_flag_t
uint32_t rpm_flag_t
Definition: rpmtypes.h:39
rpm_mode_t
uint16_t rpm_mode_t
Definition: rpmtypes.h:53
rpm_tagtype_t
uint32_t rpm_tagtype_t
Definition: rpmtypes.h:28
rpm_ino_t
uint32_t rpm_ino_t
Definition: rpmtypes.h:56
RPMRC_NOTFOUND
Definition: rpmtypes.h:105
RPMRC_NOTTRUSTED
Definition: rpmtypes.h:107
rpmRC_e
rpmRC_e
Package read return codes.
Definition: rpmtypes.h:103
rpmfiles
struct rpmfiles_s * rpmfiles
Definition: rpmtypes.h:67
errmsg_t
const char * errmsg_t
Definition: rpmtypes.h:17
rpm_loff_t
uint64_t rpm_loff_t
Definition: rpmtypes.h:51
rpmRC
enum rpmRC_e rpmRC
Package read return codes.
rpmSpec
struct rpmSpec_s * rpmSpec
Definition: rpmtypes.h:90