rpm 4.10.90

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

- File List
- Globals

rpmte.h
Go to the documentation of this file.

    00001 #ifndef H_RPMTE
    00002 #define H_RPMTE
    00003
    00009 #include <rpm/rpmtypes.h>
    00010 #include <rpm/argv.h>
    00011
    00012 #ifdef __cplusplus
    00013 extern "C" {
    00014 #endif
    00015
    00019 typedef enum rpmElementType_e {
    00020     TR_ADDED            = (1 << 0),
    00021     TR_REMOVED          = (1 << 1)
    00022 } rpmElementType;
    00023
    00024 typedef rpmFlags rpmElementTypes;
    00025
    00031 Header rpmteHeader(rpmte te);
    00032
    00039 Header rpmteSetHeader(rpmte te, Header h);
    00040
    00046 rpmElementType rpmteType(rpmte te);
    00047
    00053 const char * rpmteN(rpmte te);
    00054
    00060 const char * rpmteE(rpmte te);
    00061
    00067 const char * rpmteV(rpmte te);
    00068
    00074 const char * rpmteR(rpmte te);
    00075
    00081 const char * rpmteA(rpmte te);
    00082
    00088 const char * rpmteO(rpmte te);
    00089
    00095 int rpmteIsSource(rpmte te);
    00096
    00102 rpm_color_t rpmteColor(rpmte te);
    00103
    00110 rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color);
    00111
    00117 unsigned int rpmteDBInstance(rpmte te);
    00118
    00125 void rpmteSetDBInstance(rpmte te, unsigned int instance);
    00126
    00133 rpm_loff_t rpmtePkgFileSize(rpmte te);
    00134
    00140 rpmte rpmteParent(rpmte te);
    00141
    00148 rpmte rpmteSetParent(rpmte te, rpmte pte);
    00149
    00155 rpmps rpmteProblems(rpmte te);
    00156
    00161 void rpmteCleanProblems(rpmte te);
    00162
    00167 void rpmteCleanDS(rpmte te);
    00168
    00174 void rpmteSetDependsOn(rpmte te, rpmte depends);
    00175
    00181 rpmte rpmteDependsOn(rpmte te);
    00182
    00188 int rpmteDBOffset(rpmte te);
    00189
    00195 const char * rpmteEVR(rpmte te);
    00196
    00202 const char * rpmteNEVR(rpmte te);
    00203
    00209 const char * rpmteNEVRA(rpmte te);
    00210
    00216 fnpyKey rpmteKey(rpmte te);
    00217
    00225 int rpmteFailed(rpmte te);
    00226
    00233 rpmds rpmteDS(rpmte te, rpmTagVal tag);
    00234
    00240 rpmfi rpmteFI(rpmte te);
    00241
    00247 ARGV_const_t rpmteCollections(rpmte te);
    00248
    00255 int rpmteHasCollection(rpmte te, const char * collname);
    00256
    00257
    00258 #ifdef __cplusplus
    00259 }
    00260 #endif
    00261
    00262 #endif  /* H_RPMTE */