summaryrefslogtreecommitdiffstats
path: root/src/power
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2014-05-05 15:28:58 +0200
committerJan Synacek <jsynacek@redhat.com>2014-05-06 08:31:20 +0200
commit08a3b7128e27f474046afa3f78b55df221c59dd9 (patch)
treef59578a238b6086c31904bf925567f96eef0280a /src/power
parent55f63d29f5d2b4e82979d71386df58394e87ef5a (diff)
downloadopenlmi-providers-08a3b7128e27f474046afa3f78b55df221c59dd9.tar.gz
openlmi-providers-08a3b7128e27f474046afa3f78b55df221c59dd9.tar.xz
openlmi-providers-08a3b7128e27f474046afa3f78b55df221c59dd9.zip
libopenlmi: minor fixes and improvements
Diffstat (limited to 'src/power')
-rw-r--r--src/power/LMI_AssociatedPowerManagementServiceProvider.c6
-rw-r--r--src/power/LMI_ElementCapabilitiesProvider.c6
-rw-r--r--src/power/LMI_HostedPowerManagementServiceProvider.c6
-rw-r--r--src/power/LMI_PowerManagementServiceProvider.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/src/power/LMI_AssociatedPowerManagementServiceProvider.c b/src/power/LMI_AssociatedPowerManagementServiceProvider.c
index 25cfc9c..04bd5fb 100644
--- a/src/power/LMI_AssociatedPowerManagementServiceProvider.c
+++ b/src/power/LMI_AssociatedPowerManagementServiceProvider.c
@@ -74,10 +74,10 @@ static CMPIStatus LMI_AssociatedPowerManagementServiceEnumInstances(
LMI_PowerManagementServiceRef powerManagementServiceRef;
LMI_PowerManagementServiceRef_Init(&powerManagementServiceRef, _cb, ns);
- LMI_PowerManagementServiceRef_Set_Name(&powerManagementServiceRef, get_system_name());
- LMI_PowerManagementServiceRef_Set_SystemName(&powerManagementServiceRef, get_system_name());
+ LMI_PowerManagementServiceRef_Set_Name(&powerManagementServiceRef, lmi_get_system_name());
+ LMI_PowerManagementServiceRef_Set_SystemName(&powerManagementServiceRef, lmi_get_system_name());
LMI_PowerManagementServiceRef_Set_CreationClassName(&powerManagementServiceRef, "LMI_PowerManagementService");
- LMI_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, get_system_creation_class_name());
+ LMI_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, lmi_get_system_creation_class_name());
LMI_AssociatedPowerManagementService_Set_ServiceProvided(&w, &powerManagementServiceRef);
int count;
diff --git a/src/power/LMI_ElementCapabilitiesProvider.c b/src/power/LMI_ElementCapabilitiesProvider.c
index 7d7d58f..f8875e1 100644
--- a/src/power/LMI_ElementCapabilitiesProvider.c
+++ b/src/power/LMI_ElementCapabilitiesProvider.c
@@ -70,10 +70,10 @@ static CMPIStatus LMI_ElementCapabilitiesEnumInstances(
LMI_PowerManagementServiceRef powerManagementServiceRef;
LMI_PowerManagementServiceRef_Init(&powerManagementServiceRef, _cb, ns);
- LMI_PowerManagementServiceRef_Set_Name(&powerManagementServiceRef, get_system_name());
- LMI_PowerManagementServiceRef_Set_SystemName(&powerManagementServiceRef, get_system_name());
+ LMI_PowerManagementServiceRef_Set_Name(&powerManagementServiceRef, lmi_get_system_name());
+ LMI_PowerManagementServiceRef_Set_SystemName(&powerManagementServiceRef, lmi_get_system_name());
LMI_PowerManagementServiceRef_Set_CreationClassName(&powerManagementServiceRef, "LMI_PowerManagementService");
- LMI_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, get_system_creation_class_name());
+ LMI_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, lmi_get_system_creation_class_name());
LMI_ElementCapabilities_Set_ManagedElement(&w, &powerManagementServiceRef);
diff --git a/src/power/LMI_HostedPowerManagementServiceProvider.c b/src/power/LMI_HostedPowerManagementServiceProvider.c
index 80f0111..993d676 100644
--- a/src/power/LMI_HostedPowerManagementServiceProvider.c
+++ b/src/power/LMI_HostedPowerManagementServiceProvider.c
@@ -74,10 +74,10 @@ static CMPIStatus LMI_HostedPowerManagementServiceEnumInstances(
LMI_PowerManagementServiceRef powerManagementServiceRef;
LMI_PowerManagementServiceRef_Init(&powerManagementServiceRef, _cb, ns);
- LMI_PowerManagementServiceRef_Set_Name(&powerManagementServiceRef, get_system_name());
- LMI_PowerManagementServiceRef_Set_SystemName(&powerManagementServiceRef, get_system_name());
+ LMI_PowerManagementServiceRef_Set_Name(&powerManagementServiceRef, lmi_get_system_name());
+ LMI_PowerManagementServiceRef_Set_SystemName(&powerManagementServiceRef, lmi_get_system_name());
LMI_PowerManagementServiceRef_Set_CreationClassName(&powerManagementServiceRef, "LMI_PowerManagementService");
- LMI_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, get_system_creation_class_name());
+ LMI_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, lmi_get_system_creation_class_name());
LMI_HostedPowerManagementService_Set_Dependent(&w, &powerManagementServiceRef);
KReturnInstance(cr, w);
diff --git a/src/power/LMI_PowerManagementServiceProvider.c b/src/power/LMI_PowerManagementServiceProvider.c
index 162d798..a4778ab 100644
--- a/src/power/LMI_PowerManagementServiceProvider.c
+++ b/src/power/LMI_PowerManagementServiceProvider.c
@@ -67,9 +67,9 @@ static CMPIStatus LMI_PowerManagementServiceEnumInstances(
LMI_PowerManagementService_Init(&w, _cb, KNameSpace(cop));
LMI_PowerManagementService_Set_CreationClassName(&w, "LMI_PowerManagementService");
- LMI_PowerManagementService_Set_Name(&w, get_system_name());
- LMI_PowerManagementService_Set_SystemCreationClassName(&w, get_system_creation_class_name());
- LMI_PowerManagementService_Set_SystemName(&w, get_system_name());
+ LMI_PowerManagementService_Set_Name(&w, lmi_get_system_name());
+ LMI_PowerManagementService_Set_SystemCreationClassName(&w, lmi_get_system_creation_class_name());
+ LMI_PowerManagementService_Set_SystemName(&w, lmi_get_system_name());
/* EnabledState is an integer enumeration that indicates the enabled
* and disabled states of an element. It can also indicate the transitions