summaryrefslogtreecommitdiffstats
path: root/src/software-dbus/LMI_HostedSoftwareIdentityResourceProvider.c
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2014-03-14 15:51:21 +0100
committerPeter Schiffer <pschiffe@redhat.com>2014-03-14 15:51:21 +0100
commit1dcddcb94f89be4f06c762ee982c1a4e477abad4 (patch)
tree552faada3fbc47e9e57276f462152a65b070449b /src/software-dbus/LMI_HostedSoftwareIdentityResourceProvider.c
parentccd7c63b723573570600159e3e3bc1f652ad2159 (diff)
downloadopenlmi-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_HostedSoftwareIdentityResourceProvider.c')
-rw-r--r--src/software-dbus/LMI_HostedSoftwareIdentityResourceProvider.c202
1 files changed, 202 insertions, 0 deletions
diff --git a/src/software-dbus/LMI_HostedSoftwareIdentityResourceProvider.c b/src/software-dbus/LMI_HostedSoftwareIdentityResourceProvider.c
new file mode 100644
index 0000000..2def768
--- /dev/null
+++ b/src/software-dbus/LMI_HostedSoftwareIdentityResourceProvider.c
@@ -0,0 +1,202 @@
+#include <konkret/konkret.h>
+#include "LMI_HostedSoftwareIdentityResource.h"
+
+static const CMPIBroker* _cb;
+
+static void LMI_HostedSoftwareIdentityResourceInitialize()
+{
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceCleanup(
+ CMPIInstanceMI* mi,
+ const CMPIContext* cc,
+ CMPIBoolean term)
+{
+ CMReturn(CMPI_RC_OK);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceEnumInstanceNames(
+ CMPIInstanceMI* mi,
+ const CMPIContext* cc,
+ const CMPIResult* cr,
+ const CMPIObjectPath* cop)
+{
+ return KDefaultEnumerateInstanceNames(
+ _cb, mi, cc, cr, cop);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceEnumInstances(
+ CMPIInstanceMI* mi,
+ const CMPIContext* cc,
+ const CMPIResult* cr,
+ const CMPIObjectPath* cop,
+ const char** properties)
+{
+ CMReturn(CMPI_RC_OK);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceGetInstance(
+ 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_HostedSoftwareIdentityResourceCreateInstance(
+ CMPIInstanceMI* mi,
+ const CMPIContext* cc,
+ const CMPIResult* cr,
+ const CMPIObjectPath* cop,
+ const CMPIInstance* ci)
+{
+ CMReturn(CMPI_RC_ERR_NOT_SUPPORTED);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceModifyInstance(
+ 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_HostedSoftwareIdentityResourceDeleteInstance(
+ CMPIInstanceMI* mi,
+ const CMPIContext* cc,
+ const CMPIResult* cr,
+ const CMPIObjectPath* cop)
+{
+ CMReturn(CMPI_RC_ERR_NOT_SUPPORTED);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceExecQuery(
+ 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_HostedSoftwareIdentityResourceAssociationCleanup(
+ CMPIAssociationMI* mi,
+ const CMPIContext* cc,
+ CMPIBoolean term)
+{
+ CMReturn(CMPI_RC_OK);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceAssociators(
+ 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_HostedSoftwareIdentityResource_ClassName,
+ assocClass,
+ resultClass,
+ role,
+ resultRole,
+ properties);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceAssociatorNames(
+ 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_HostedSoftwareIdentityResource_ClassName,
+ assocClass,
+ resultClass,
+ role,
+ resultRole);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceReferences(
+ 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_HostedSoftwareIdentityResource_ClassName,
+ assocClass,
+ role,
+ properties);
+}
+
+static CMPIStatus LMI_HostedSoftwareIdentityResourceReferenceNames(
+ 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_HostedSoftwareIdentityResource_ClassName,
+ assocClass,
+ role);
+}
+
+CMInstanceMIStub(
+ LMI_HostedSoftwareIdentityResource,
+ LMI_HostedSoftwareIdentityResource,
+ _cb,
+ LMI_HostedSoftwareIdentityResourceInitialize())
+
+CMAssociationMIStub(
+ LMI_HostedSoftwareIdentityResource,
+ LMI_HostedSoftwareIdentityResource,
+ _cb,
+ LMI_HostedSoftwareIdentityResourceInitialize())
+
+KONKRET_REGISTRATION(
+ "root/cimv2",
+ "LMI_HostedSoftwareIdentityResource",
+ "LMI_HostedSoftwareIdentityResource",
+ "instance association")