rpm 4.10.90

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmtypes.h
Go to the documentation of this file.

    00001 #ifndef _RPMTYPES_H
    00002 #define _RPMTYPES_H
    00003
    00011 #include <stdint.h>
    00012
    00013 #ifdef __cplusplus
    00014 extern "C" {
    00015 #endif
    00016
    00017 typedef const char *    errmsg_t;
    00018
    00024 typedef struct headerToken_s * Header;
    00025 typedef struct headerIterator_s * HeaderIterator;
    00026
    00027 typedef int32_t         rpm_tag_t;
    00028 typedef uint32_t        rpm_tagtype_t;
    00029 typedef uint32_t        rpm_count_t;
    00030 typedef rpm_tag_t       rpmTagVal;
    00031 typedef rpm_tag_t       rpmDbiTagVal;
    00032
    00033 typedef void *          rpm_data_t;
    00034 typedef const void *    rpm_constdata_t;
    00035
    00036 typedef struct rpmtd_s * rpmtd;
    00037
    00038 typedef uint32_t        rpm_color_t;
    00039 typedef uint32_t        rpm_flag_t;
    00040 typedef uint32_t        rpm_tid_t;
    00041
    00042 typedef uint32_t        rpmFlags;
    00050 typedef uint32_t        rpm_off_t;
    00051 typedef uint64_t        rpm_loff_t;
    00052 typedef uint32_t        rpm_time_t;
    00053 typedef uint16_t        rpm_mode_t;
    00054 typedef uint16_t        rpm_rdev_t;
    00055 typedef uint32_t        rpm_dev_t;
    00056 typedef uint32_t        rpm_ino_t;
    00063 typedef struct rpmts_s * rpmts;
    00064 typedef struct rpmte_s * rpmte;
    00065 typedef struct rpmds_s * rpmds;
    00066 typedef struct rpmfi_s * rpmfi;
    00067 typedef struct rpmdb_s * rpmdb;
    00068 typedef struct rpmdbMatchIterator_s * rpmdbMatchIterator;
    00069 typedef struct rpmtsi_s * rpmtsi;
    00070 typedef struct rpmps_s * rpmps;
    00071
    00072 typedef struct rpmdbIndexIterator_s * rpmdbIndexIterator;
    00073 typedef const void * fnpyKey;
    00074 typedef void * rpmCallbackData;
    00077 typedef struct rpmPubkey_s * rpmPubkey;
    00078 typedef struct rpmKeyring_s * rpmKeyring;
    00079
    00080 typedef uint32_t rpmsid;
    00081 typedef struct rpmstrPool_s * rpmstrPool;
    00082
    00083 typedef struct rpmPlugins_s * rpmPlugins;
    00084
    00085 typedef struct rpmgi_s * rpmgi;
    00086
    00087 typedef struct rpmSpec_s * rpmSpec;
    00088
    00089 typedef struct rpmRelocation_s rpmRelocation;
    00090
    00091
    00095 typedef struct _FD_s * FD_t;
    00096
    00100 typedef enum rpmRC_e {
    00101     RPMRC_OK            = 0,
    00102     RPMRC_NOTFOUND      = 1,
    00103     RPMRC_FAIL          = 2,
    00104     RPMRC_NOTTRUSTED    = 3,
    00105     RPMRC_NOKEY         = 4
    00106 } rpmRC;
    00107
    00108 #ifdef __cplusplus
    00109 }
    00110 #endif
    00111
    00112 /* XXX included late as rpmtag.h depends on our definitions here... */
    00113 #include <rpm/rpmtag.h>
    00114
    00115 #endif /* _RPMTYPES_H */