[virt-tools-list] [libosinfo 4/5] Add missing osinfo_install_script_get_config_param_list annotation
Christophe Fergeau
cfergeau at redhat.com
Fri Dec 7 08:46:45 UTC 2012
---
osinfo/osinfo_install_script.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
index b891aaf..c752434 100644
--- a/osinfo/osinfo_install_script.c
+++ b/osinfo/osinfo_install_script.c
@@ -289,6 +289,15 @@ gboolean osinfo_install_script_has_config_param_name(const OsinfoInstallScript *
return FALSE;
}
+/**
+ * osinfo_install_script_get_config_param_list:
+ *
+ * Get the list of valid config parameters for @script.
+ *
+ * Returns: (transfer container) (element-type OsinfoInstallScript): the
+ * list of valid #OsinfoInstallConfigParam parameters. Free with
+ * g_list_free() when done. The elements are owned by libosinfo.
+ */
GList *osinfo_install_script_get_config_param_list(const OsinfoInstallScript *script)
{
return g_list_copy(script->priv->config_param_list);
--
1.8.0.1
More information about the virt-tools-list
mailing list