diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2014-03-14 15:51:21 +0100 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2014-03-14 15:51:21 +0100 |
commit | 1dcddcb94f89be4f06c762ee982c1a4e477abad4 (patch) | |
tree | 552faada3fbc47e9e57276f462152a65b070449b /src/software-dbus/LMI_HostedSoftwareInstallationServiceProvider.c | |
parent | ccd7c63b723573570600159e3e3bc1f652ad2159 (diff) | |
download | openlmi-providers-1dcddcb94f89be4f06c762ee982c1a4e477abad4.tar.gz openlmi-providers-1dcddcb94f89be4f06c762ee982c1a4e477abad4.tar.xz openlmi-providers-1dcddcb94f89be4f06c762ee982c1a4e477abad4.zip |
Software-dbus: started new software-dbus provider
Diffstat (limited to 'src/software-dbus/LMI_HostedSoftwareInstallationServiceProvider.c')
-rw-r--r-- | src/software-dbus/LMI_HostedSoftwareInstallationServiceProvider.c | 202 |
1 files changed, 202 insertions, 0 deletions
diff --git a/src/software-dbus/LMI_HostedSoftwareInstallationServiceProvider.c b/src/software-dbus/LMI_HostedSoftwareInstallationServiceProvider.c new file mode 100644 index 0000000..c52a1be --- /dev/null +++ b/src/software-dbus/LMI_HostedSoftwareInstallationServiceProvider.c @@ -0,0 +1,202 @@ +#include <konkret/konkret.h> +#include "LMI_HostedSoftwareInstallationService.h" + +static const CMPIBroker* _cb; + +static void LMI_HostedSoftwareInstallationServiceInitialize() +{ +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceCleanup( + CMPIInstanceMI* mi, + const CMPIContext* cc, + CMPIBoolean term) +{ + CMReturn(CMPI_RC_OK); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceEnumInstanceNames( + CMPIInstanceMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop) +{ + return KDefaultEnumerateInstanceNames( + _cb, mi, cc, cr, cop); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceEnumInstances( + CMPIInstanceMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char** properties) +{ + CMReturn(CMPI_RC_OK); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceGetInstance( + CMPIInstanceMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char** properties) +{ + return KDefaultGetInstance( + _cb, mi, cc, cr, cop, properties); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceCreateInstance( + CMPIInstanceMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const CMPIInstance* ci) +{ + CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceModifyInstance( + CMPIInstanceMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const CMPIInstance* ci, + const char**properties) +{ + CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceDeleteInstance( + CMPIInstanceMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop) +{ + CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceExecQuery( + CMPIInstanceMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char* lang, + const char* query) +{ + CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceAssociationCleanup( + CMPIAssociationMI* mi, + const CMPIContext* cc, + CMPIBoolean term) +{ + CMReturn(CMPI_RC_OK); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceAssociators( + CMPIAssociationMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char* assocClass, + const char* resultClass, + const char* role, + const char* resultRole, + const char** properties) +{ + return KDefaultAssociators( + _cb, + mi, + cc, + cr, + cop, + LMI_HostedSoftwareInstallationService_ClassName, + assocClass, + resultClass, + role, + resultRole, + properties); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceAssociatorNames( + CMPIAssociationMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char* assocClass, + const char* resultClass, + const char* role, + const char* resultRole) +{ + return KDefaultAssociatorNames( + _cb, + mi, + cc, + cr, + cop, + LMI_HostedSoftwareInstallationService_ClassName, + assocClass, + resultClass, + role, + resultRole); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceReferences( + CMPIAssociationMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char* assocClass, + const char* role, + const char** properties) +{ + return KDefaultReferences( + _cb, + mi, + cc, + cr, + cop, + LMI_HostedSoftwareInstallationService_ClassName, + assocClass, + role, + properties); +} + +static CMPIStatus LMI_HostedSoftwareInstallationServiceReferenceNames( + CMPIAssociationMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char* assocClass, + const char* role) +{ + return KDefaultReferenceNames( + _cb, + mi, + cc, + cr, + cop, + LMI_HostedSoftwareInstallationService_ClassName, + assocClass, + role); +} + +CMInstanceMIStub( + LMI_HostedSoftwareInstallationService, + LMI_HostedSoftwareInstallationService, + _cb, + LMI_HostedSoftwareInstallationServiceInitialize()) + +CMAssociationMIStub( + LMI_HostedSoftwareInstallationService, + LMI_HostedSoftwareInstallationService, + _cb, + LMI_HostedSoftwareInstallationServiceInitialize()) + +KONKRET_REGISTRATION( + "root/cimv2", + "LMI_HostedSoftwareInstallationService", + "LMI_HostedSoftwareInstallationService", + "instance association") |