rpm 4.20.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
49 void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp);
50
56 rpmfc rpmfcFree(rpmfc fc);
57
64 rpmfc rpmfcCreate(const char *rootDir, rpmFlags flags);
65
73 rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode);
74
80 rpmRC rpmfcApply(rpmfc fc);
81
87rpmds rpmfcProvides(rpmfc fc);
88
94rpmds rpmfcRequires(rpmfc fc);
95
101rpmds rpmfcRecommends(rpmfc fc);
102
108rpmds rpmfcSuggests(rpmfc fc);
109
115rpmds rpmfcSupplements(rpmfc fc);
116
122rpmds rpmfcEnhances(rpmfc fc);
123
129rpmds rpmfcConflicts(rpmfc fc);
130
136rpmds rpmfcObsoletes(rpmfc fc);
137
143rpmds rpmfcOrderWithRequires(rpmfc fc);
144
151rpmds rpmfcDependencies(rpmfc fc, rpmTagVal tagN);
152
153#ifdef __cplusplus
154}
155#endif
156
157#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