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