rpm  4.14.0
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 
93 
94 
98 typedef struct _FD_s * FD_t;
99 
103 typedef enum rpmRC_e {
104  RPMRC_OK = 0,
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 */
struct rpmdbMatchIterator_s * rpmdbMatchIterator
Definition: rpmtypes.h:69
struct rpmtd_s * rpmtd
Definition: rpmtypes.h:36
struct rpmps_s * rpmps
Definition: rpmtypes.h:71
struct rpmtxn_s * rpmtxn
Definition: rpmtypes.h:72
uint16_t rpm_rdev_t
Definition: rpmtypes.h:54
void * rpm_data_t
Definition: rpmtypes.h:33
uint32_t rpm_time_t
Definition: rpmtypes.h:52
struct rpmtsi_s * rpmtsi
Definition: rpmtypes.h:70
int32_t rpm_tag_t
Definition: rpmtypes.h:27
uint32_t rpm_off_t
In-header hardcoded sizes for various POSIXy types.
Definition: rpmtypes.h:50
struct rpmdbIndexIterator_s * rpmdbIndexIterator
Definition: rpmtypes.h:74
struct rpmts_s * rpmts
The main types involved in transaction manipulation.
Definition: rpmtypes.h:63
void * rpmCallbackData
Definition: rpmtypes.h:76
We pass these around as an array with a sentinel.
Definition: rpmfiles.h:95
struct rpmKeyring_s * rpmKeyring
Definition: rpmtypes.h:80
struct rpmPlugins_s * rpmPlugins
Definition: rpmtypes.h:86
struct rpmfi_s * rpmfi
Definition: rpmtypes.h:66
uint32_t rpmFlags
Definition: rpmtypes.h:42
struct rpmstrPool_s * rpmstrPool
Definition: rpmtypes.h:83
uint32_t rpmsid
Definition: rpmtypes.h:82
struct rpmdb_s * rpmdb
Definition: rpmtypes.h:68
struct rpmPubkey_s * rpmPubkey
Definition: rpmtypes.h:79
struct _FD_s * FD_t
RPM IO file descriptor type.
Definition: rpmtypes.h:98
uint32_t rpm_color_t
Definition: rpmtypes.h:38
struct headerToken_s * Header
RPM header and data retrieval types.
Definition: rpmtypes.h:24
struct headerIterator_s * HeaderIterator
Definition: rpmtypes.h:25
struct rpmPlugin_s * rpmPlugin
Definition: rpmtypes.h:85
const void * fnpyKey
Definition: rpmtypes.h:75
const void * rpm_constdata_t
Definition: rpmtypes.h:34
struct rpmds_s * rpmds
Definition: rpmtypes.h:65
struct rpmte_s * rpmte
Definition: rpmtypes.h:64
uint32_t rpm_count_t
Definition: rpmtypes.h:29
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
uint32_t rpm_tid_t
Definition: rpmtypes.h:40
struct rpmgi_s * rpmgi
Definition: rpmtypes.h:88
rpm_tag_t rpmDbiTagVal
Definition: rpmtypes.h:31
Container for rpm tag data (from headers or extensions).
Definition: rpmtd.h:32
uint32_t rpm_dev_t
Definition: rpmtypes.h:55
uint32_t rpm_flag_t
Definition: rpmtypes.h:39
uint16_t rpm_mode_t
Definition: rpmtypes.h:53
uint32_t rpm_tagtype_t
Definition: rpmtypes.h:28
uint32_t rpm_ino_t
Definition: rpmtypes.h:56
rpmRC_e
Package read return codes.
Definition: rpmtypes.h:103
struct rpmfiles_s * rpmfiles
Definition: rpmtypes.h:67
const char * errmsg_t
Definition: rpmtypes.h:17
uint64_t rpm_loff_t
Definition: rpmtypes.h:51
enum rpmRC_e rpmRC
Package read return codes.
struct rpmSpec_s * rpmSpec
Definition: rpmtypes.h:90