summaryrefslogtreecommitdiffstats
path: root/src/account/LMI_AccountManagementServiceProvider.c
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/account/LMI_AccountManagementServiceProvider.c
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/account/LMI_AccountManagementServiceProvider.c')
-rw-r--r--src/account/LMI_AccountManagementServiceProvider.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/account/LMI_AccountManagementServiceProvider.c b/src/account/LMI_AccountManagementServiceProvider.c
index e0e6f89..652cd3a 100644
--- a/src/account/LMI_AccountManagementServiceProvider.c
+++ b/src/account/LMI_AccountManagementServiceProvider.c
@@ -88,7 +88,7 @@ static CMPIStatus LMI_AccountManagementServiceEnumInstances(
{
LMI_AccountManagementService lams;
- const char *hostname = get_system_name();
+ const char *hostname = lmi_get_system_name();
LMI_AccountManagementService_Init(&lams, _cb, KNameSpace(cop));
LMI_AccountManagementService_Set_CreationClassName(&lams,
@@ -97,7 +97,7 @@ static CMPIStatus LMI_AccountManagementServiceEnumInstances(
LMI_AccountManagementService_Set_Name(&lams, LAMSNAME);
LMI_AccountManagementService_Set_ElementName(&lams, LAMSNAME);
LMI_AccountManagementService_Set_SystemCreationClassName(&lams,
- get_system_creation_class_name());
+ lmi_get_system_creation_class_name());
LMI_AccountManagementService_Set_RequestedState(&lams,
LMI_AccountManagementService_RequestedState_Not_Applicable);
LMI_AccountManagementService_Set_EnabledState(&lams,
@@ -402,7 +402,7 @@ KUint32 LMI_AccountManagementService_CreateAccount(
const char *nameSpace = LMI_AccountManagementServiceRef_NameSpace(
(LMI_AccountManagementServiceRef *) self);
- const char *hostname = get_system_name();
+ const char *hostname = lmi_get_system_name();
CMPIStatus st;
CMPIEnumeration *instances = NULL;
LMI_AccountRef Accountref;
@@ -578,7 +578,7 @@ output:
LMI_AccountRef_Set_Name(&Accountref, Name->chars);
LMI_AccountRef_Set_SystemName(&Accountref, hostname);
LMI_AccountRef_Set_SystemCreationClassName(&Accountref,
- get_system_creation_class_name());
+ lmi_get_system_creation_class_name());
LMI_AccountRef_Set_CreationClassName(&Accountref, LMI_Account_ClassName);
AccountOP = LMI_AccountRef_ToObjectPath(&Accountref, &st);
KRef_SetObjectPath(Account, AccountOP);