rpm 4.19.0
The RPM Package Manager
Loading...
Searching...
No Matches
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
14extern "C" {
15#endif
16
17extern int _rpmfc_debug;
18
21typedef struct rpmfc_s * rpmfc;
22
25enum FCOLOR_e {
26 RPMFC_BLACK = 0,
27 RPMFC_ELF32 = (1 << 0),
28 RPMFC_ELF64 = (1 << 1),
29 RPMFC_ELFMIPSN32 = (1 << 2),
30#define RPMFC_ELF (RPMFC_ELF32|RPMFC_ELF64|RPMFC_ELFMIPSN32)
31 /* (1 << 3) leaks into package headers, reserved */
32
33 RPMFC_WHITE = (1 << 29),
34 RPMFC_INCLUDE = (1 << 30),
35 RPMFC_ERROR = (1 << 31)
36};
37
40typedef rpmFlags FCOLOR_t;
41
44typedef const struct rpmfcTokens_s * rpmfcToken;
45
52void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp);
53
59rpmfc rpmfcFree(rpmfc fc);
60
67rpmfc rpmfcCreate(const char *rootDir, rpmFlags flags);
68
76rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode);
77
83rpmRC rpmfcApply(rpmfc fc);
84
90rpmds rpmfcProvides(rpmfc fc);
91
97rpmds rpmfcRequires(rpmfc fc);
98
104rpmds rpmfcRecommends(rpmfc fc);
105
111rpmds rpmfcSuggests(rpmfc fc);
112
118rpmds rpmfcSupplements(rpmfc fc);
119
125rpmds rpmfcEnhances(rpmfc fc);
126
132rpmds rpmfcConflicts(rpmfc fc);
133
139rpmds rpmfcObsoletes(rpmfc fc);
140
147
154rpmds rpmfcDependencies(rpmfc fc, rpmTagVal tagN);
155
156#ifdef __cplusplus
157}
158#endif
159
160#endif /* _H_RPMFC_ */
rpmds rpmfcDependencies(rpmfc fc, rpmTagVal tagN)
rpmds rpmfcRequires(rpmfc fc)
rpmds rpmfcEnhances(rpmfc fc)
rpmds rpmfcOrderWithRequires(rpmfc fc)
rpmfc rpmfcCreate(const char *rootDir, rpmFlags flags)
rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t *fmode)
rpmds rpmfcSuggests(rpmfc fc)
rpmds rpmfcObsoletes(rpmfc fc)
rpmRC rpmfcApply(rpmfc fc)
rpmds rpmfcSupplements(rpmfc fc)
rpmfc rpmfcFree(rpmfc fc)
void rpmfcPrint(const char *msg, rpmfc fc, FILE *fp)
rpmds rpmfcRecommends(rpmfc fc)
rpmds rpmfcProvides(rpmfc fc)
rpmds rpmfcConflicts(rpmfc fc)
enum rpmRC_e rpmRC