diff options
author | Fabiano FidĂȘncio <fabiano@fidencio.org> | 2012-07-15 23:29:05 -0300 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-08-23 15:18:38 +0100 |
commit | 8f700790d22b7c767517aa02ca60f4a9c3e5ff49 (patch) | |
tree | e2c29cefd4bcd59d9ea32834d53749f2a725a506 /docs | |
parent | 365a7ef28c7d2dda2207f5bafe94edbd1ace3d59 (diff) |
install script: add config_param entity
Now we need to set what are the configs that will be used in each
script. To set it, just add, in the .xml's script file:
<config>
<param name="..." policy="mandatory"|"optional"/>
</config>
For manage these configs, a new entity was created, called:
OsinfoInstallConfigParam. And the OsinfoInstallScript entity is, now,
keeping an internal list of the OsinfoInstallConfigParam entity.
With these changes, applications that uses/will use libosinfo can check
if an install script has some config to be set using, consulting by:
- ConfigParam entity:
osinfo_install_script_has_config_param(OsinfoInstallScript *script,
const OsinfoInstallConfigParameter config_param);
- Parameter name:
osinfo_install_script_has_config_param_name(OsinfoInstallScript *script,
const gchar* name);
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/Libosinfo.types | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/reference/Libosinfo.types b/docs/reference/Libosinfo.types index faf8643..8744ee6 100644 --- a/docs/reference/Libosinfo.types +++ b/docs/reference/Libosinfo.types @@ -9,6 +9,7 @@ osinfo_devicelist_get_type osinfo_entity_get_type osinfo_filter_get_type osinfo_install_config_get_type +osinfo_install_config_param_get_type osinfo_install_script_get_type osinfo_install_scriptlist_get_type osinfo_list_get_type |