rpm
4.11.1-rc1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
build
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
17
extern
int
_rpmfc_debug
;
18
21
typedef
struct
rpmfc_s *
rpmfc
;
22
25
enum
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
40
typedef
rpmFlags
FCOLOR_t
;
41
44
typedef
const
struct
rpmfcTokens_s *
rpmfcToken
;
45
53
void
rpmfcPrint
(
const
char
* msg, rpmfc fc, FILE * fp);
54
60
rpmfc
rpmfcFree
(rpmfc fc);
61
68
rpmfc
rpmfcCreate
(
const
char
*rootDir,
rpmFlags
flags);
69
75
RPM_GNUC_DEPRECATED
76
rpmfc
rpmfcNew
(
void
);
77
78
86
rpmRC
rpmfcClassify
(rpmfc fc,
ARGV_t
argv,
rpm_mode_t
* fmode);
87
93
rpmRC
rpmfcApply
(rpmfc fc);
94
100
rpmds
rpmfcProvides
(rpmfc fc);
101
107
rpmds
rpmfcRequires
(rpmfc fc);
108
109
#ifdef __cplusplus
110
}
111
#endif
112
113
#endif
/* _H_RPMFC_ */
Generated by
1.8.3.1