void rpmSetTables(int archTable, int osTable);
/** \ingroup rpmrc
- * Return current arch/os names.
- * @deprecated Use rpmExpand on _target_* macros.
- * @todo Eliminate from API.
- *
- * @retval arch address of arch name (or NULL)
- * @retval os address of os name (or NULL)
- */
-void rpmGetMachine( const char **arch,
- const char **os);
-
-/** \ingroup rpmrc
* Destroy rpmrc arch/os compatibility tables.
* @todo Eliminate from API.
*/
return (info != NULL ? info->score : 0);
}
-void rpmGetMachine(const char ** arch, const char ** os)
-{
- if (arch)
- *arch = current[ARCH];
-
- if (os)
- *os = current[OS];
-}
-
/** \ingroup rpmrc
* Set current arch/os names.
* NULL as argument is set to the default value (munged uname())