librpmostree-core
char * rpm_ostree_get_basearch (void);
void
A string for RPM's architecture, commonly used for e.g. $basearch in URLs
Since: 2017.8
char * rpm_ostree_varsubst_basearch (const char *src, GError **error);
const char *src
GError **error
src
String (commonly a URL)
A copy of src with all references for ${basearch} replaced with rpmostree_get_basearch(), or NULL on error Since: 2017.8
${basearch}
rpmostree_get_basearch()
NULL