rpm
4.11.1-rc1
|
Files | |
file | rpmfc.h |
Structures and methods for build-time file classification. | |
Typedefs | |
typedef struct rpmfc_s * | rpmfc |
typedef rpmFlags | FCOLOR_t |
typedef struct rpmfcTokens_s * | rpmfcToken |
Enumerations | |
enum | FCOLOR_e { RPMFC_BLACK = 0, RPMFC_ELF32 = (1 << 0), RPMFC_ELF64 = (1 << 1), RPMFC_ELFMIPSN32 = (1 << 2), RPMFC_WHITE = (1 << 29), RPMFC_INCLUDE = (1 << 30), RPMFC_ERROR = (1 << 31) } |
Functions | |
void | rpmfcPrint (const char *msg, rpmfc fc, FILE *fp) |
Print results of file classification. More... | |
rpmfc | rpmfcFree (rpmfc fc) |
Destroy a file classifier. More... | |
rpmfc | rpmfcCreate (const char *rootDir, rpmFlags flags) |
Create a file classifier. More... | |
RPM_GNUC_DEPRECATED rpmfc | rpmfcNew (void) |
rpmRC | rpmfcClassify (rpmfc fc, ARGV_t argv, rpm_mode_t *fmode) |
Build file class dictionary and mappings. More... | |
rpmRC | rpmfcApply (rpmfc fc) |
Build file/package dependency dictionary and mappings. More... | |
rpmds | rpmfcProvides (rpmfc fc) |
Retrieve file classification provides. More... | |
rpmds | rpmfcRequires (rpmfc fc) |
Retrieve file classification requires. More... | |
typedef struct rpmfcTokens_s* rpmfcToken |
enum FCOLOR_e |
Build file/package dependency dictionary and mappings.
fc | file classifier |
rpmRC rpmfcClassify | ( | rpmfc | fc, |
ARGV_t | argv, | ||
rpm_mode_t * | fmode | ||
) |
Build file class dictionary and mappings.
fc | file classifier |
argv | files to classify |
fmode | files mode_t array (or NULL) |
Create a file classifier.
rootDir | (build) root directory |
flags | (unused) |
Destroy a file classifier.
fc | file classifier |
RPM_GNUC_DEPRECATED rpmfc rpmfcNew | ( | void | ) |
void rpmfcPrint | ( | const char * | msg, |
rpmfc | fc, | ||
FILE * | fp | ||
) |
Print results of file classification.
msg | message prefix (NULL for none) |
fc | file classifier |
fp | output file handle (NULL for stderr) |
Retrieve file classification provides.
fc | file classifier |