Structures and methods for build-time file classification.
More...
|
file | rpmfc.h |
| Structures and methods for build-time file classification.
|
|
Structures and methods for build-time file classification.
◆ FCOLOR_t
◆ rpmfc
typedef struct rpmfc_s* rpmfc |
◆ rpmfcToken
◆ FCOLOR_e
Enumerator |
---|
RPMFC_BLACK | |
RPMFC_ELF32 | |
RPMFC_ELF64 | |
RPMFC_ELFMIPSN32 | |
RPMFC_WHITE | |
RPMFC_INCLUDE | |
RPMFC_ERROR | |
Definition at line 25 of file rpmfc.h.
◆ rpmfcApply()
Build file/package dependency dictionary and mappings.
- Parameters
-
- Returns
- RPMRC_OK on success
◆ rpmfcClassify()
Build file class dictionary and mappings.
- Parameters
-
fc | file classifier |
argv | files to classify |
fmode | files mode_t array (or NULL) |
- Returns
- RPMRC_OK on success
◆ rpmfcConflicts()
Retrieve file classification conflicts.
- Parameters
-
- Returns
- rpmds dependency set of fc conflicts
◆ rpmfcCreate()
Create a file classifier.
- Parameters
-
rootDir | (build) root directory |
flags | (unused) |
- Returns
- new file classifier
◆ rpmfcDependencies()
Retrieve file classification dependencies.
- Parameters
-
fc | file classifier |
tagN | name tag of the wanted dependency |
- Returns
- rpmds dependency set of fc requires
◆ rpmfcEnhances()
Retrieve file classification enhances.
- Parameters
-
- Returns
- rpmds dependency set of fc enhances
◆ rpmfcFree()
Destroy a file classifier.
- Parameters
-
- Returns
- NULL always
◆ rpmfcNew()
- Deprecated:
- Create a file classifier.
- Returns
- new file classifier
◆ rpmfcObsoletes()
Retrieve file classification obsoletes.
- Parameters
-
- Returns
- rpmds dependency set of fc obsoletes
◆ rpmfcPrint()
void rpmfcPrint |
( |
const char * |
msg, |
|
|
rpmfc |
fc, |
|
|
FILE * |
fp |
|
) |
| |
Print results of file classification.
- Parameters
-
msg | message prefix (NULL for none) |
fc | file classifier |
fp | output file handle (NULL for stderr) |
◆ rpmfcProvides()
Retrieve file classification provides.
- Parameters
-
- Returns
- rpmds dependency set of fc provides
◆ rpmfcRecommends()
Retrieve file classification recommends.
- Parameters
-
- Returns
- rpmds dependency set of fc recommends
◆ rpmfcRequires()
Retrieve file classification requires.
- Parameters
-
- Returns
- rpmds dependency set of fc requires
◆ rpmfcSuggests()
Retrieve file classification suggests.
- Parameters
-
- Returns
- rpmds dependency set of fc suggests
◆ rpmfcSupplements()
Retrieve file classification supplements.
- Parameters
-
- Returns
- rpmds dependency set of fc supplements