diff options
Diffstat (limited to 'src/power')
-rw-r--r-- | src/power/LMI_HostedPowerManagementServiceProvider.c (renamed from src/power/LMI_HostedServiceProvider.c) | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/src/power/LMI_HostedServiceProvider.c b/src/power/LMI_HostedPowerManagementServiceProvider.c index e6bf6f1..71cf851 100644 --- a/src/power/LMI_HostedServiceProvider.c +++ b/src/power/LMI_HostedPowerManagementServiceProvider.c @@ -17,17 +17,17 @@ #include <cmpimacs.h> #include <konkret/konkret.h> -#include "LMI_HostedService.h" +#include "LMI_HostedPowerManagementService.h" #include "globals.h" static const CMPIBroker* _cb; -static void LMI_HostedServiceInitialize() +static void LMI_HostedPowerManagementServiceInitialize() { } -static CMPIStatus LMI_HostedServiceCleanup( +static CMPIStatus LMI_HostedPowerManagementServiceCleanup( CMPIInstanceMI* mi, const CMPIContext* cc, CMPIBoolean term) @@ -35,7 +35,7 @@ static CMPIStatus LMI_HostedServiceCleanup( CMReturn(CMPI_RC_OK); } -static CMPIStatus LMI_HostedServiceEnumInstanceNames( +static CMPIStatus LMI_HostedPowerManagementServiceEnumInstanceNames( CMPIInstanceMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -45,7 +45,7 @@ static CMPIStatus LMI_HostedServiceEnumInstanceNames( _cb, mi, cc, cr, cop); } -static CMPIStatus LMI_HostedServiceEnumInstances( +static CMPIStatus LMI_HostedPowerManagementServiceEnumInstances( CMPIInstanceMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -55,8 +55,8 @@ static CMPIStatus LMI_HostedServiceEnumInstances( CMPIStatus rc; const char *ns = KNameSpace(cop); - LMI_HostedService w; - LMI_HostedService_Init(&w, _cb, ns); + LMI_HostedPowerManagementService w; + LMI_HostedPowerManagementService_Init(&w, _cb, ns); CIM_ComputerSystemRef computerSystemRef; CIM_ComputerSystemRef_Init(&computerSystemRef, _cb, ns); @@ -64,7 +64,7 @@ static CMPIStatus LMI_HostedServiceEnumInstances( CIM_ComputerSystemRef_Set_CreationClassName(&computerSystemRef, get_system_creation_class_name()); CMPIObjectPath *computerSystemOP = CIM_ComputerSystemRef_ToObjectPath(&computerSystemRef, &rc); computerSystemOP->ft->setClassName(computerSystemOP, get_system_creation_class_name()); - LMI_HostedService_SetObjectPath_Antecedent(&w, computerSystemOP); + LMI_HostedPowerManagementService_SetObjectPath_Antecedent(&w, computerSystemOP); LMI_PowerManagementServiceRef powerManagementServiceRef; LMI_PowerManagementServiceRef_Init(&powerManagementServiceRef, _cb, ns); @@ -72,13 +72,13 @@ static CMPIStatus LMI_HostedServiceEnumInstances( LMI_PowerManagementServiceRef_Set_SystemName(&powerManagementServiceRef, get_system_name()); LMI_PowerManagementServiceRef_Set_CreationClassName(&powerManagementServiceRef, "LMI_PowerManagementService"); LMI_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, get_system_creation_class_name()); - LMI_HostedService_Set_Dependent(&w, &powerManagementServiceRef); + LMI_HostedPowerManagementService_Set_Dependent(&w, &powerManagementServiceRef); KReturnInstance(cr, w); CMReturn(CMPI_RC_OK); } -static CMPIStatus LMI_HostedServiceGetInstance( +static CMPIStatus LMI_HostedPowerManagementServiceGetInstance( CMPIInstanceMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -89,7 +89,7 @@ static CMPIStatus LMI_HostedServiceGetInstance( _cb, mi, cc, cr, cop, properties); } -static CMPIStatus LMI_HostedServiceCreateInstance( +static CMPIStatus LMI_HostedPowerManagementServiceCreateInstance( CMPIInstanceMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -99,7 +99,7 @@ static CMPIStatus LMI_HostedServiceCreateInstance( CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } -static CMPIStatus LMI_HostedServiceModifyInstance( +static CMPIStatus LMI_HostedPowerManagementServiceModifyInstance( CMPIInstanceMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -110,7 +110,7 @@ static CMPIStatus LMI_HostedServiceModifyInstance( CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } -static CMPIStatus LMI_HostedServiceDeleteInstance( +static CMPIStatus LMI_HostedPowerManagementServiceDeleteInstance( CMPIInstanceMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -119,7 +119,7 @@ static CMPIStatus LMI_HostedServiceDeleteInstance( CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } -static CMPIStatus LMI_HostedServiceExecQuery( +static CMPIStatus LMI_HostedPowerManagementServiceExecQuery( CMPIInstanceMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -130,7 +130,7 @@ static CMPIStatus LMI_HostedServiceExecQuery( CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } -static CMPIStatus LMI_HostedServiceAssociationCleanup( +static CMPIStatus LMI_HostedPowerManagementServiceAssociationCleanup( CMPIAssociationMI* mi, const CMPIContext* cc, CMPIBoolean term) @@ -138,7 +138,7 @@ static CMPIStatus LMI_HostedServiceAssociationCleanup( CMReturn(CMPI_RC_OK); } -static CMPIStatus LMI_HostedServiceAssociators( +static CMPIStatus LMI_HostedPowerManagementServiceAssociators( CMPIAssociationMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -155,7 +155,7 @@ static CMPIStatus LMI_HostedServiceAssociators( cc, cr, cop, - LMI_HostedService_ClassName, + LMI_HostedPowerManagementService_ClassName, assocClass, resultClass, role, @@ -163,7 +163,7 @@ static CMPIStatus LMI_HostedServiceAssociators( properties); } -static CMPIStatus LMI_HostedServiceAssociatorNames( +static CMPIStatus LMI_HostedPowerManagementServiceAssociatorNames( CMPIAssociationMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -179,14 +179,14 @@ static CMPIStatus LMI_HostedServiceAssociatorNames( cc, cr, cop, - LMI_HostedService_ClassName, + LMI_HostedPowerManagementService_ClassName, assocClass, resultClass, role, resultRole); } -static CMPIStatus LMI_HostedServiceReferences( +static CMPIStatus LMI_HostedPowerManagementServiceReferences( CMPIAssociationMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -201,13 +201,13 @@ static CMPIStatus LMI_HostedServiceReferences( cc, cr, cop, - LMI_HostedService_ClassName, + LMI_HostedPowerManagementService_ClassName, assocClass, role, properties); } -static CMPIStatus LMI_HostedServiceReferenceNames( +static CMPIStatus LMI_HostedPowerManagementServiceReferenceNames( CMPIAssociationMI* mi, const CMPIContext* cc, const CMPIResult* cr, @@ -221,25 +221,25 @@ static CMPIStatus LMI_HostedServiceReferenceNames( cc, cr, cop, - LMI_HostedService_ClassName, + LMI_HostedPowerManagementService_ClassName, assocClass, role); } CMInstanceMIStub( - LMI_HostedService, - LMI_HostedService, + LMI_HostedPowerManagementService, + LMI_HostedPowerManagementService, _cb, - LMI_HostedServiceInitialize()) + LMI_HostedPowerManagementServiceInitialize()) CMAssociationMIStub( - LMI_HostedService, - LMI_HostedService, + LMI_HostedPowerManagementService, + LMI_HostedPowerManagementService, _cb, - LMI_HostedServiceInitialize()) + LMI_HostedPowerManagementServiceInitialize()) KONKRET_REGISTRATION( "root/cimv2", - "LMI_HostedService", - "LMI_HostedService", + "LMI_HostedPowerManagementService", + "LMI_HostedPowerManagementService", "instance association") |