| Top |
| ModulemdProfile * | modulemd_profile_new () |
| void | modulemd_profile_set_description () |
| const gchar * | modulemd_profile_get_description () |
| gchar * | modulemd_profile_get_localized_description () |
| const gchar * | modulemd_profile_peek_description () |
| gchar * | modulemd_profile_dup_description () |
| void | modulemd_profile_set_name () |
| const gchar * | modulemd_profile_get_name () |
| const gchar * | modulemd_profile_peek_name () |
| gchar * | modulemd_profile_dup_name () |
| void | modulemd_profile_set_rpms () |
| ModulemdSimpleSet * | modulemd_profile_get_rpms () |
| ModulemdSimpleSet * | modulemd_profile_peek_rpms () |
| ModulemdSimpleSet * | modulemd_profile_dup_rpms () |
| void | modulemd_profile_add_rpm () |
| void | modulemd_profile_remove_rpm () |
| ModulemdProfile * | modulemd_profile_copy () |
ModulemdProfile *
modulemd_profile_new (void);
Since: 1.0
void modulemd_profile_set_description (ModulemdProfile *self,const gchar *description);
Sets the "description" property.
Since: 1.0
const gchar *
modulemd_profile_get_description (ModulemdProfile *self);
modulemd_profile_get_description has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_description() instead.
Retrieves the profile description.
Since: 1.0
gchar * modulemd_profile_get_localized_description (ModulemdProfile *self,const gchar *locale);
locale |
Specify the locale for the description. If NULL is passed, it will attempt to use the LC_MESSAGES locale. If "C" is passed or if the locale has no translation available, it will treat it as untranslated. |
[transfer none][nullable] |
A string containing the "description" property,
translated into the language specified by locale
if possible. This string
must be freed with g_free().
Since: 1.6
const gchar *
modulemd_profile_peek_description (ModulemdProfile *self);
Retrieves the profile description.
Since: 1.1
gchar *
modulemd_profile_dup_description (ModulemdProfile *self);
Retrieves a copy of the profile description.
Since: 1.1
void modulemd_profile_set_name (ModulemdProfile *self,const gchar *name);
Sets the "name" property.
Since: 1.0
const gchar *
modulemd_profile_get_name (ModulemdProfile *self);
modulemd_profile_get_name has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_name() instead.
Retrieves the profile name.
Since: 1.0
const gchar *
modulemd_profile_peek_name (ModulemdProfile *self);
Retrieves the profile name.
Since: 1.1
gchar *
modulemd_profile_dup_name (ModulemdProfile *self);
Retrieves a copy of the profile name.
Since: 1.1
void modulemd_profile_set_rpms (ModulemdProfile *self,ModulemdSimpleSet *rpms);
Assigns the set of RPMs that will be installed when this profile is activated.
Since: 1.0
ModulemdSimpleSet *
modulemd_profile_get_rpms (ModulemdProfile *self);
modulemd_profile_get_rpms has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_rpms() instead.
Retrieves the "rpms" for this profile
Since: 1.0
ModulemdSimpleSet *
modulemd_profile_peek_rpms (ModulemdProfile *self);
Retrieves the "rpms" for this profile
Since: 1.1
ModulemdSimpleSet *
modulemd_profile_dup_rpms (ModulemdProfile *self);
Retrieves a copy of the "rpms" for this profile
Since: 1.1
void modulemd_profile_add_rpm (ModulemdProfile *self,const gchar *rpm);
Since: 1.1
void modulemd_profile_remove_rpm (ModulemdProfile *self,const gchar *rpm);
rpm |
An RPM that will no longer be installed as part of this profile. |
[transfer none][not nullable] |
Since: 1.1
ModulemdProfile *
modulemd_profile_copy (ModulemdProfile *self);
Creates a copy of this profile
Since: 1.1