rpm  6.0.91
The RPM Package Manager
rpmfc.h
Go to the documentation of this file.
1 #ifndef _H_RPMFC_
2 #define _H_RPMFC_
3 
9 #include <rpm/rpmtypes.h>
10 #include <rpm/argv.h> /* for ARGV_t */
11 #include <rpm/rpmspec.h> /* for Package */
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
20 extern int _rpmfc_debug;
21 
25 typedef struct rpmfc_s * rpmfc;
26 
30 enum FCOLOR_e {
31  RPMFC_BLACK = 0,
32  RPMFC_ELF32 = (1 << 0),
33  RPMFC_ELF64 = (1 << 1),
34  RPMFC_ELFX32 = (1 << 2),
35  RPMFC_ELFMIPSN32 = (1 << 2),
36 #define RPMFC_ELF (RPMFC_ELF32|RPMFC_ELF64|RPMFC_ELFX32|RPMFC_ELFMIPSN32)
37 
39  RPMFC_WHITE = (1 << 29),
40  RPMFC_INCLUDE = (1 << 30),
41  RPMFC_ERROR = (1 << 31)
42 };
43 
50 void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp);
51 
57 rpmfc rpmfcFree(rpmfc fc);
58 
65 rpmfc rpmfcCreate(const char *rootDir, rpmFlags flags);
66 
74 rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode);
75 
81 rpmRC rpmfcApply(rpmfc fc);
82 
88 rpmds rpmfcProvides(rpmfc fc);
89 
95 rpmds rpmfcRequires(rpmfc fc);
96 
102 rpmds rpmfcRecommends(rpmfc fc);
103 
109 rpmds rpmfcSuggests(rpmfc fc);
110 
116 rpmds rpmfcSupplements(rpmfc fc);
117 
123 rpmds rpmfcEnhances(rpmfc fc);
124 
130 rpmds rpmfcConflicts(rpmfc fc);
131 
137 rpmds rpmfcObsoletes(rpmfc fc);
138 
144 rpmds rpmfcOrderWithRequires(rpmfc fc);
145 
152 rpmds rpmfcDependencies(rpmfc fc, rpmTagVal tagN);
153 
154 #ifdef __cplusplus
155 }
156 #endif
157 
158 #endif /* _H_RPMFC_ */
rpmfc rpmfcFree(rpmfc fc)
rpmds rpmfcSupplements(rpmfc fc)
rpmfc rpmfcCreate(const char *rootDir, rpmFlags flags)
rpmds rpmfcRecommends(rpmfc fc)
rpmds rpmfcOrderWithRequires(rpmfc fc)
void rpmfcPrint(const char *msg, rpmfc fc, FILE *fp)
FCOLOR_e
Definition: rpmfc.h:30
int _rpmfc_debug
struct rpmfc_s * rpmfc
Definition: rpmfc.h:25
rpmds rpmfcDependencies(rpmfc fc, rpmTagVal tagN)
rpmds rpmfcRequires(rpmfc fc)
rpmds rpmfcObsoletes(rpmfc fc)
rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t *fmode)
rpmds rpmfcSuggests(rpmfc fc)
rpmds rpmfcConflicts(rpmfc fc)
rpmds rpmfcProvides(rpmfc fc)
rpmds rpmfcEnhances(rpmfc fc)
rpmRC rpmfcApply(rpmfc fc)
enum rpmRC_e rpmRC