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

# 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 int32_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 struct rpmal_s * rpmal;
    00066 typedef void * rpmalKey;
    00067 typedef const void * fnpyKey;
    00068 typedef void * rpmCallbackData;
    00071 typedef struct rpmPubkey_s * rpmPubkey;
    00072 typedef struct rpmKeyring_s * rpmKeyring;
    00073
    00074 typedef struct rpmgi_s * rpmgi;
    00075
    00076 typedef struct rpmSpec_s * rpmSpec;
    00077
    00078 typedef struct rpmRelocation_s rpmRelocation;
    00079
    00080
    00084 typedef struct _FD_s * FD_t;
    00085
    00089 typedef enum rpmRC_e {
    00090     RPMRC_OK            = 0,
    00091     RPMRC_NOTFOUND      = 1,
    00092     RPMRC_FAIL          = 2,
    00093     RPMRC_NOTTRUSTED    = 3,
    00094     RPMRC_NOKEY         = 4
    00095 } rpmRC;
    00096
    00097 #ifdef __cplusplus
    00098 }
    00099 #endif
    00100
    00101 /* XXX included late as rpmtag.h depends on our definitions here... */
    00102 #include <rpm/rpmtag.h>
    00103
    00104 #endif /* _RPMTYPES_H */