rpm 4.15.1

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 */
rpmFlags
uint32_t rpmFlags
Definition: rpmtypes.h:42
rpmts
struct rpmts_s * rpmts
Definition: rpmtypes.h:63
rpm_count_t
uint32_t rpm_count_t
Definition: rpmtypes.h:29
rpm_tagtype_t
uint32_t rpm_tagtype_t
Definition: rpmtypes.h:28
rpm_tid_t
uint32_t rpm_tid_t
Definition: rpmtypes.h:40
rpmSpec
struct rpmSpec_s * rpmSpec
Definition: rpmtypes.h:90
rpmfiles
struct rpmfiles_s * rpmfiles
Definition: rpmtypes.h:67
rpmKeyring
struct rpmKeyring_s * rpmKeyring
Definition: rpmtypes.h:80
rpmstrPool
struct rpmstrPool_s * rpmstrPool
Definition: rpmtypes.h:83
RPMRC_OK
@ RPMRC_OK
Definition: rpmtypes.h:104
rpm_dev_t
uint32_t rpm_dev_t
Definition: rpmtypes.h:55
rpm_constdata_t
const typedef void * rpm_constdata_t
Definition: rpmtypes.h:34
rpm_mode_t
uint16_t rpm_mode_t
Definition: rpmtypes.h:53
RPMRC_NOTFOUND
@ RPMRC_NOTFOUND
Definition: rpmtypes.h:105
rpmRC_e
rpmRC_e
Definition: rpmtypes.h:103
HeaderIterator
struct headerIterator_s * HeaderIterator
Definition: rpmtypes.h:25
rpmDbiTagVal
rpm_tag_t rpmDbiTagVal
Definition: rpmtypes.h:31
rpmsid
uint32_t rpmsid
Definition: rpmtypes.h:82
rpmtxn
struct rpmtxn_s * rpmtxn
Definition: rpmtypes.h:72
rpmCallbackData
void * rpmCallbackData
Definition: rpmtypes.h:76
rpmRC
enum rpmRC_e rpmRC
rpmdb
struct rpmdb_s * rpmdb
Definition: rpmtypes.h:68
rpmps
struct rpmps_s * rpmps
Definition: rpmtypes.h:71
rpm_ino_t
uint32_t rpm_ino_t
Definition: rpmtypes.h:56
RPMRC_NOTTRUSTED
@ RPMRC_NOTTRUSTED
Definition: rpmtypes.h:107
rpmgi
struct rpmgi_s * rpmgi
Definition: rpmtypes.h:88
rpm_flag_t
uint32_t rpm_flag_t
Definition: rpmtypes.h:39
RPMRC_FAIL
@ RPMRC_FAIL
Definition: rpmtypes.h:106
rpm_tag_t
int32_t rpm_tag_t
Definition: rpmtypes.h:27
rpm_time_t
uint32_t rpm_time_t
Definition: rpmtypes.h:52
RPMRC_NOKEY
@ RPMRC_NOKEY
Definition: rpmtypes.h:108
rpmtd
struct rpmtd_s * rpmtd
Definition: rpmtypes.h:36
rpm_loff_t
uint64_t rpm_loff_t
Definition: rpmtypes.h:51
rpm_color_t
uint32_t rpm_color_t
Definition: rpmtypes.h:38
rpmtsi
struct rpmtsi_s * rpmtsi
Definition: rpmtypes.h:70
rpmRelocation_s
We pass these around as an array with a sentinel.
Definition: rpmfiles.h:127
rpm_data_t
void * rpm_data_t
Definition: rpmtypes.h:33
rpmte
struct rpmte_s * rpmte
Definition: rpmtypes.h:64
rpmfi
struct rpmfi_s * rpmfi
Definition: rpmtypes.h:66
rpmtd_s
Definition: rpmtd.h:32
FD_t
struct _FD_s * FD_t
Definition: rpmtypes.h:98
rpmTagVal
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
rpmdbIndexIterator
struct rpmdbIndexIterator_s * rpmdbIndexIterator
Definition: rpmtypes.h:74
rpmPubkey
struct rpmPubkey_s * rpmPubkey
Definition: rpmtypes.h:79
rpm_off_t
uint32_t rpm_off_t
Definition: rpmtypes.h:50
Header
struct headerToken_s * Header
Definition: rpmtypes.h:24
rpmPlugin
struct rpmPlugin_s * rpmPlugin
Definition: rpmtypes.h:85
errmsg_t
const typedef char * errmsg_t
Definition: rpmtypes.h:17
fnpyKey
const typedef void * fnpyKey
Definition: rpmtypes.h:75
rpmPlugins
struct rpmPlugins_s * rpmPlugins
Definition: rpmtypes.h:86
rpmds
struct rpmds_s * rpmds
Definition: rpmtypes.h:65
rpm_rdev_t
uint16_t rpm_rdev_t
Definition: rpmtypes.h:54
rpmdbMatchIterator
struct rpmdbMatchIterator_s * rpmdbMatchIterator
Definition: rpmtypes.h:69