librpmostree-core

librpmostree-core

Functions

Description

Functions

rpm_ostree_get_basearch ()

char *
rpm_ostree_get_basearch (void);

Returns

A string for RPM's architecture, commonly used for e.g. $basearch in URLs

Since: 2017.8


rpm_ostree_varsubst_basearch ()

char *
rpm_ostree_varsubst_basearch (const char *src,
                              GError **error);

Parameters

src

String (commonly a URL)

 

Returns

A copy of src with all references for ${basearch} replaced with rpmostree_get_basearch(), or NULL on error Since: 2017.8