rpm 4.19.1.1 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
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_ELFMIPSN32 = (1 << 2),
35#define RPMFC_ELF (RPMFC_ELF32|RPMFC_ELF64|RPMFC_ELFMIPSN32)
38 RPMFC_WHITE = (1 << 29),
39 RPMFC_INCLUDE = (1 << 30),
40 RPMFC_ERROR = (1 << 31)
41};
42
45 typedef rpmFlags FCOLOR_t;
46
49 typedef const struct rpmfcTokens_s * rpmfcToken;
50
57 void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp);
58
64 rpmfc rpmfcFree(rpmfc fc);
65
72 rpmfc rpmfcCreate(const char *rootDir, rpmFlags flags);
73
81 rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode);
82
88 rpmRC rpmfcApply(rpmfc fc);
89
95rpmds rpmfcProvides(rpmfc fc);
96
102rpmds rpmfcRequires(rpmfc fc);
103
109rpmds rpmfcRecommends(rpmfc fc);
110
116rpmds rpmfcSuggests(rpmfc fc);
117
123rpmds rpmfcSupplements(rpmfc fc);
124
130rpmds rpmfcEnhances(rpmfc fc);
131
137rpmds rpmfcConflicts(rpmfc fc);
138
144rpmds rpmfcObsoletes(rpmfc fc);
145
151rpmds rpmfcOrderWithRequires(rpmfc fc);
152
159rpmds rpmfcDependencies(rpmfc fc, rpmTagVal tagN);
160
161#ifdef __cplusplus
162}
163#endif
164
165#endif /* _H_RPMFC_ */
argv.h
rpmfcDependencies
rpmds rpmfcDependencies(rpmfc fc, rpmTagVal tagN)
rpmfcRequires
rpmds rpmfcRequires(rpmfc fc)
rpmfcEnhances
rpmds rpmfcEnhances(rpmfc fc)
rpmfcOrderWithRequires
rpmds rpmfcOrderWithRequires(rpmfc fc)
rpmfcCreate
rpmfc rpmfcCreate(const char *rootDir, rpmFlags flags)
rpmfcClassify
rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t *fmode)
rpmfcSuggests
rpmds rpmfcSuggests(rpmfc fc)
rpmfcObsoletes
rpmds rpmfcObsoletes(rpmfc fc)
rpmfcApply
rpmRC rpmfcApply(rpmfc fc)
rpmfcSupplements
rpmds rpmfcSupplements(rpmfc fc)
rpmfcFree
rpmfc rpmfcFree(rpmfc fc)
rpmfcPrint
void rpmfcPrint(const char *msg, rpmfc fc, FILE *fp)
rpmfcRecommends
rpmds rpmfcRecommends(rpmfc fc)
FCOLOR_e
FCOLOR_e
Definition rpmfc.h:30
rpmfcProvides
rpmds rpmfcProvides(rpmfc fc)
rpmfcConflicts
rpmds rpmfcConflicts(rpmfc fc)
rpmfc
struct rpmfc_s * rpmfc
Definition rpmfc.h:25
rpmRC
enum rpmRC_e rpmRC
RPMFC_ELF
#define RPMFC_ELF
Definition rpmfc.h:35
_rpmfc_debug
int _rpmfc_debug
rpmspec.h
rpmtypes.h