rpmtypes.h File Reference

Typedefs for RPM abstract data types. More...

`#include <stdint.h>`
`#include <rpm/rpmtag.h>`
Include dependency graph for rpmtypes.h:

Go to the source code of this file.

## Typedefs

typedef const char * | errmsg_t
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
| RPM IO file descriptor type. More...
typedef enum rpmRC_e | rpmRC
| Package read return codes. More...
typedef struct headerToken_s * | Header
| RPM header and data retrieval types. More...
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
| In-header hardcoded sizes for various POSIXy types. More...
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
| The main types involved in transaction manipulation. More...
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

## Enumerations

enum | rpmRC_e { RPMRC_OK = 0, RPMRC_NOTFOUND = 1, RPMRC_FAIL = 2, RPMRC_NOTTRUSTED = 3, RPMRC_NOKEY = 4 }
| Package read return codes. More...

## Detailed Description

Typedefs for RPM abstract data types.

Todo:
  The grouping needs love to look sane...

Definition in file rpmtypes.h.

## Typedef Documentation

typedef const char* errmsg_t

Definition at line 17 of file rpmtypes.h.

typedef struct _FD_s* FD_t

RPM IO file descriptor type.

Definition at line 98 of file rpmtypes.h.

typedef const void* fnpyKey

Definition at line 75 of file rpmtypes.h.

typedef struct headerToken_s* Header

RPM header and data retrieval types.

Definition at line 24 of file rpmtypes.h.

typedef struct headerIterator_s* HeaderIterator

Definition at line 25 of file rpmtypes.h.

typedef uint32_t rpm_color_t

Definition at line 38 of file rpmtypes.h.

typedef const void* rpm_constdata_t

Definition at line 34 of file rpmtypes.h.

typedef uint32_t rpm_count_t

Definition at line 29 of file rpmtypes.h.

typedef void* rpm_data_t

Definition at line 33 of file rpmtypes.h.

typedef uint32_t rpm_dev_t

Definition at line 55 of file rpmtypes.h.

typedef uint32_t rpm_flag_t

Definition at line 39 of file rpmtypes.h.

typedef uint32_t rpm_ino_t

Definition at line 56 of file rpmtypes.h.

typedef uint64_t rpm_loff_t

Definition at line 51 of file rpmtypes.h.

typedef uint16_t rpm_mode_t

Definition at line 53 of file rpmtypes.h.

typedef uint32_t rpm_off_t

In-header hardcoded sizes for various POSIXy types.

Definition at line 50 of file rpmtypes.h.

typedef uint16_t rpm_rdev_t

Definition at line 54 of file rpmtypes.h.

typedef int32_t rpm_tag_t

Definition at line 27 of file rpmtypes.h.

typedef uint32_t rpm_tagtype_t

Definition at line 28 of file rpmtypes.h.

typedef uint32_t rpm_tid_t

Definition at line 40 of file rpmtypes.h.

typedef uint32_t rpm_time_t

Definition at line 52 of file rpmtypes.h.

typedef void* rpmCallbackData

Definition at line 76 of file rpmtypes.h.

typedef struct rpmdb_s* rpmdb

Definition at line 68 of file rpmtypes.h.

typedef struct rpmdbIndexIterator_s* rpmdbIndexIterator

Definition at line 74 of file rpmtypes.h.

typedef rpm_tag_t rpmDbiTagVal

Definition at line 31 of file rpmtypes.h.

typedef struct rpmdbMatchIterator_s* rpmdbMatchIterator

Definition at line 69 of file rpmtypes.h.

typedef struct rpmds_s* rpmds

Definition at line 65 of file rpmtypes.h.

typedef struct rpmfi_s* rpmfi

Definition at line 66 of file rpmtypes.h.

typedef struct rpmfiles_s* rpmfiles

Definition at line 67 of file rpmtypes.h.

typedef uint32_t rpmFlags

Definition at line 42 of file rpmtypes.h.

typedef struct rpmgi_s* rpmgi

Definition at line 88 of file rpmtypes.h.

typedef struct rpmKeyring_s* rpmKeyring

Definition at line 80 of file rpmtypes.h.

typedef struct rpmPlugin_s* rpmPlugin

Definition at line 85 of file rpmtypes.h.

typedef struct rpmPlugins_s* rpmPlugins

Definition at line 86 of file rpmtypes.h.

typedef struct rpmps_s* rpmps

Definition at line 71 of file rpmtypes.h.

typedef struct rpmPubkey_s* rpmPubkey

Definition at line 79 of file rpmtypes.h.

typedef enum rpmRC_e rpmRC

Package read return codes.

typedef struct rpmRelocation_s rpmRelocation

Definition at line 92 of file rpmtypes.h.

typedef uint32_t rpmsid

Definition at line 82 of file rpmtypes.h.

typedef struct rpmSpec_s* rpmSpec

Definition at line 90 of file rpmtypes.h.

typedef struct rpmstrPool_s* rpmstrPool

Definition at line 83 of file rpmtypes.h.

typedef rpm_tag_t rpmTagVal

Definition at line 30 of file rpmtypes.h.

typedef struct rpmtd_s* rpmtd

Definition at line 36 of file rpmtypes.h.

typedef struct rpmte_s* rpmte

Definition at line 64 of file rpmtypes.h.

typedef struct rpmts_s* rpmts

The main types involved in transaction manipulation.

Definition at line 63 of file rpmtypes.h.

typedef struct rpmtsi_s* rpmtsi

Definition at line 70 of file rpmtypes.h.

typedef struct rpmtxn_s* rpmtxn

Definition at line 72 of file rpmtypes.h.

## Enumeration Type Documentation

enum rpmRC_e

Package read return codes.

Enumerator
RPMRC_OK | Generic success code
RPMRC_NOTFOUND | Generic not found code.
RPMRC_FAIL | Generic failure code.
RPMRC_NOTTRUSTED | Signature is OK, but key is not trusted.
RPMRC_NOKEY | Public key is unavailable.

Definition at line 103 of file rpmtypes.h.