Files | |
file | macro.c |
file | rpmlib.h |
RPMRC | |
enum | rpm_machtable_e { RPM_MACHTABLE_INSTARCH = 0, RPM_MACHTABLE_INSTOS = 1, RPM_MACHTABLE_BUILDARCH = 2, RPM_MACHTABLE_BUILDOS = 3 } |
const char* | rpmGetVar (int var) |
void | rpmSetVar (int var, const char *val) |
int | rpmReadConfigFiles (const char * file, const char * target) |
int | rpmReadRC (const char * file) |
void | rpmGetArchInfo ( const char ** name, int * num) |
void | rpmGetOsInfo ( const char ** name, int * num) |
int | rpmMachineScore (int type, const char * name) |
int | rpmShowRC (FILE *f) |
void | rpmSetTables (int archTable, int osTable) |
void | rpmSetMachine (const char * arch, const char * os) |
void | rpmGetMachine ( const char **arch, const char **os) |
void | rpmFreeRpmrc (void) |
const char* | macrofiles = MACROFILES |
|
Build and install arch/os table identifiers.
|
|
Destroy rpmrc arch/os compatibility tables.
Definition at line 1427 of file rpmrc.c. Referenced by main(). |
|
Return current arch name and/or number.
Definition at line 1327 of file rpmrc.c. Referenced by archOkay(), checkForValidArchitectures(), parseSpec(), readLine(), rpmRebuildTargetVars(), and writeRPM(). |
|
Return current arch/os names.
Definition at line 1239 of file rpmrc.c. Referenced by parseSpec(). |
|
Return current os name and/or number.
Definition at line 1331 of file rpmrc.c. Referenced by checkForValidArchitectures(), parseSpec(), readLine(), rpmRebuildTargetVars(), and writeRPM(). |
|
Return value of an rpmrc variable.
Definition at line 1156 of file rpmrc.c. Referenced by doReadRC(), rpmReadRC(), rpmShowRC(), setPathDefault(), and setVarDefault(). |
|
Return arch/os score of a name. An arch/os score measures the "nearness" of a name to the currently running (or defined) platform arch/os. For example, the score of arch "i586" on an i686 platform is (usually) 2. The arch/os score is used to select one of several otherwise identical packages using the arch/os tags from the header as hints of the intended platform for the package.
Definition at line 1234 of file rpmrc.c. Referenced by archOkay(), archScore(), osOkay(), parseSpec(), and psGetArchScore(). |
|
Read macro configuration file(s) for a target.
|
|
Read rpmrc (and macro) configuration file(s).
Definition at line 510 of file rpmrc.c. Referenced by rpmReadConfigFiles(). |
|
Set current arch/os names. NULL as argument is set to the default value (munged uname()) pushed through a translation table (if appropriate).
Definition at line 1248 of file rpmrc.c. Referenced by parseSpec(), rpmReadConfigFiles(), rpmReadRC(), rpmRebuildTargetVars(), and rpmShowRC(). |
|
Definition at line 1218 of file rpmrc.c. Referenced by buildForTarget(), rpmRebuildTargetVars(), and rpmShowRC(). |
|
Set value of an rpmrc variable.
Definition at line 1181 of file rpmrc.c. Referenced by setPathDefault(), and setVarDefault(). |
|
Display current rpmrc (and macro) configuration.
Definition at line 1504 of file rpmrc.c. Referenced by main(). |
|
List of macro files to read when configuring rpm. This is a colon separated list of files. URI's are permitted as well, identified by the token '://', so file paths must not begin with '//'. |