- 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;          /* unused */
    00029 typedef uint32_t        rpm_count_t;
    00030
    00031 typedef void *          rpm_data_t;
    00032 typedef const void *    rpm_constdata_t;
    00033
    00034 typedef struct rpmtd_s * rpmtd;
    00035
    00036 typedef uint32_t        rpm_color_t;
    00037 typedef uint32_t        rpm_flag_t;
    00038 typedef uint32_t        rpm_tid_t;
    00046 typedef uint32_t        rpm_off_t;
    00047 typedef uint64_t        rpm_loff_t;
    00048 typedef uint32_t        rpm_time_t;
    00049 typedef uint16_t        rpm_mode_t;
    00050 typedef uint16_t        rpm_rdev_t;
    00051 typedef uint32_t        rpm_dev_t;
    00052 typedef uint32_t        rpm_ino_t;
    00059 typedef struct rpmts_s * rpmts;
    00060 typedef struct rpmte_s * rpmte;
    00061 typedef struct rpmds_s * rpmds;
    00062 typedef struct rpmfi_s * rpmfi;
    00063 typedef struct rpmdb_s * rpmdb;
    00064 typedef struct rpmdbMatchIterator_s * rpmdbMatchIterator;
    00065 typedef const void * fnpyKey;
    00066 typedef void * rpmCallbackData;
    00069 typedef struct rpmPubkey_s * rpmPubkey;
    00070 typedef struct rpmKeyring_s * rpmKeyring;
    00071
    00072 typedef struct rpmgi_s * rpmgi;
    00073
    00074 typedef struct rpmSpec_s * rpmSpec;
    00075
    00076 typedef struct rpmRelocation_s rpmRelocation;
    00077
    00078
    00082 typedef struct _FD_s * FD_t;
    00083
    00087 typedef enum rpmRC_e {
    00088     RPMRC_OK            = 0,
    00089     RPMRC_NOTFOUND      = 1,
    00090     RPMRC_FAIL          = 2,
    00091     RPMRC_NOTTRUSTED    = 3,
    00092     RPMRC_NOKEY         = 4
    00093 } rpmRC;
    00094
    00095 #ifdef __cplusplus
    00096 }
    00097 #endif
    00098
    00099 /* XXX included late as rpmtag.h depends on our definitions here... */
    00100 #include <rpm/rpmtag.h>
    00101
    00102 #endif /* _RPMTYPES_H */