rpm  4.9.1.3
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 struct rpmPlugins_s * rpmPlugins;
00081 
00082 typedef struct rpmgi_s * rpmgi;
00083 
00084 typedef struct rpmSpec_s * rpmSpec;
00085 
00086 typedef struct rpmRelocation_s rpmRelocation;
00087 
00088 
00092 typedef struct _FD_s * FD_t;
00093 
00097 typedef enum rpmRC_e {
00098     RPMRC_OK            = 0,    
00099     RPMRC_NOTFOUND      = 1,    
00100     RPMRC_FAIL          = 2,    
00101     RPMRC_NOTTRUSTED    = 3,    
00102     RPMRC_NOKEY         = 4     
00103 } rpmRC;
00104 
00105 #ifdef __cplusplus
00106 }
00107 #endif
00108 
00109 /* XXX included late as rpmtag.h depends on our definitions here... */
00110 #include <rpm/rpmtag.h>
00111 
00112 #endif /* _RPMTYPES_H */