rpm: /home/mdomonko/code/rpm/rpm-4.20.x/include/rpm/rpmtypes.h Source File

rpm 4.20.0 The RPM Package Manager

Loading...
Searching...
No Matches
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
14extern "C" {
15#endif
16
17typedef const char * errmsg_t;
18
24 typedef struct headerToken_s * Header;
25typedef struct headerIterator_s * HeaderIterator;
26
27typedef uint32_t rpm_tag_t;
28typedef uint32_t rpm_tagtype_t;
29typedef uint32_t rpm_count_t;
30typedef rpm_tag_t rpmTagVal;
31typedef rpm_tag_t rpmDbiTagVal;
32
33typedef void * rpm_data_t;
34typedef const void * rpm_constdata_t;
35
36typedef struct rpmtd_s * rpmtd;
37
38typedef uint32_t rpm_color_t;
39typedef uint32_t rpm_flag_t;
40typedef uint32_t rpm_tid_t;
41
42typedef uint32_t rpmFlags;
50 typedef uint32_t rpm_off_t;
51typedef uint64_t rpm_loff_t;
52typedef uint32_t rpm_time_t;
53typedef uint16_t rpm_mode_t;
54typedef uint16_t rpm_rdev_t;
55typedef uint32_t rpm_dev_t;
56typedef uint32_t rpm_ino_t;
63 typedef struct rpmts_s * rpmts;
64typedef struct rpmte_s * rpmte;
65typedef struct rpmds_s * rpmds;
66typedef struct rpmfi_s * rpmfi;
67typedef struct rpmfiles_s * rpmfiles;
68typedef struct rpmdb_s * rpmdb;
69typedef struct rpmdbMatchIterator_s * rpmdbMatchIterator;
70typedef struct rpmtsi_s * rpmtsi;
71typedef struct rpmps_s * rpmps;
72typedef struct rpmtxn_s * rpmtxn;
73typedef struct rpmver_s * rpmver;
74
75typedef struct rpmdbIndexIterator_s * rpmdbIndexIterator;
76typedef const void * fnpyKey;
77typedef void * rpmCallbackData;
80typedef struct rpmPubkey_s * rpmPubkey;
81typedef struct rpmKeyring_s * rpmKeyring;
82
83typedef uint32_t rpmsid;
84typedef struct rpmstrPool_s * rpmstrPool;
85
86typedef struct rpmPlugin_s * rpmPlugin;
87typedef struct rpmPlugins_s * rpmPlugins;
88
89typedef struct rpmgi_s * rpmgi;
90
91typedef struct rpmSpec_s * rpmSpec;
92
93typedef struct rpmRelocation_s rpmRelocation;
94
95
99 typedef struct _FD_s * FD_t;
100
104 typedef enum rpmRC_e {
105 RPMRC_OK = 0,
106 RPMRC_NOTFOUND = 1,
107 RPMRC_FAIL = 2,
108 RPMRC_NOTTRUSTED = 3,
109 RPMRC_NOKEY = 4
110} rpmRC;
111
112#ifdef __cplusplus
113}
114#endif
115
116#endif /* _RPMTYPES_H */
FD_t
struct _FD_s * FD_t
Definition rpmtypes.h:99
rpmts
struct rpmts_s * rpmts
Definition rpmtypes.h:63
rpmRC
enum rpmRC_e rpmRC
rpmRC_e
rpmRC_e
Definition rpmtypes.h:104
Header
struct headerToken_s * Header
Definition rpmtypes.h:24
rpm_off_t
uint32_t rpm_off_t
Definition rpmtypes.h:50
RPMRC_FAIL
@ RPMRC_FAIL
Definition rpmtypes.h:107
RPMRC_NOTTRUSTED
@ RPMRC_NOTTRUSTED
Definition rpmtypes.h:108
RPMRC_NOTFOUND
@ RPMRC_NOTFOUND
Definition rpmtypes.h:106
RPMRC_OK
@ RPMRC_OK
Definition rpmtypes.h:105
RPMRC_NOKEY
@ RPMRC_NOKEY
Definition rpmtypes.h:109
rpmRelocation_s
Definition rpmfiles.h:129
rpmtd_s
Definition rpmtd.h:35