rpmtypes.h
Go to the documentation of this file.
#ifndef _RPMTYPES_H
#define _RPMTYPES_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef const char * errmsg_t;
typedef struct headerToken_s * Header;
typedef struct headerIterator_s * HeaderIterator;
typedef int32_t rpm_tag_t;
typedef uint32_t rpm_tagtype_t;
typedef uint32_t rpm_count_t;
typedef rpm_tag_t rpmTagVal;
typedef rpm_tag_t rpmDbiTagVal;
typedef void * rpm_data_t;
typedef const void * rpm_constdata_t;
typedef struct rpmtd_s * rpmtd;
typedef uint32_t rpm_color_t;
typedef uint32_t rpm_flag_t;
typedef uint32_t rpm_tid_t;
typedef uint32_t rpmFlags;
typedef uint32_t rpm_off_t;
typedef uint64_t rpm_loff_t;
typedef uint32_t rpm_time_t;
typedef uint16_t rpm_mode_t;
typedef uint16_t rpm_rdev_t;
typedef uint32_t rpm_dev_t;
typedef uint32_t rpm_ino_t;
typedef struct rpmts_s * rpmts;
typedef struct rpmte_s * rpmte;
typedef struct rpmds_s * rpmds;
typedef struct rpmfi_s * rpmfi;
typedef struct rpmfiles_s * rpmfiles;
typedef struct rpmdb_s * rpmdb;
typedef struct rpmdbMatchIterator_s * rpmdbMatchIterator;
typedef struct rpmtsi_s * rpmtsi;
typedef struct rpmps_s * rpmps;
typedef struct rpmtxn_s * rpmtxn;
typedef struct rpmdbIndexIterator_s * rpmdbIndexIterator;
typedef const void * fnpyKey;
typedef void * rpmCallbackData;
typedef struct rpmPubkey_s * rpmPubkey;
typedef struct rpmKeyring_s * rpmKeyring;
typedef uint32_t rpmsid;
typedef struct rpmstrPool_s * rpmstrPool;
typedef struct rpmPlugin_s * rpmPlugin;
typedef struct rpmPlugins_s * rpmPlugins;
typedef struct rpmgi_s * rpmgi;
typedef struct rpmSpec_s * rpmSpec;
typedef struct rpmRelocation_s rpmRelocation;
typedef struct _FD_s * FD_t;
typedef enum rpmRC_e {
RPMRC_OK = 0,
RPMRC_NOTFOUND = 1,
RPMRC_FAIL = 2,
RPMRC_NOTTRUSTED = 3,
RPMRC_NOKEY = 4
} rpmRC;
#ifdef __cplusplus
}
#endif
/* XXX included late as rpmtag.h depends on our definitions here... */
#include <rpm/rpmtag.h>
#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:96
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:32
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