[Libvirt-cim] [PATCH 3 of 6] Modify Virt_CS so set_source_inst_props() can be used by other providers.

Sharad Mishra snmishra at us.ibm.com
Thu Sep 10 23:40:59 UTC 2009


# HG changeset patch
# User snmishra at us.ibm.com
# Date 1252482482 25200
# Node ID 2632c5204a9a6a485f5406ea016957340895f69f
# Parent  639d5782a9f3f195b0ca88878ee169cc0efd0f18
Modify Virt_CS so set_source_inst_props() can be used by other providers

Signed-off-by: Sharad Mishra <snmishra at us.ibm.com>

diff -r 639d5782a9f3 -r 2632c5204a9a src/Virt_ComputerSystemIndication.c
--- a/src/Virt_ComputerSystemIndication.c                     Wed Sep 09
00:48:02 2009 -0700
+++ b/src/Virt_ComputerSystemIndication.c                     Wed Sep 09
00:48:02 2009 -0700
@@ -192,9 +192,9 @@
         return ret;
 }

-static void set_source_inst_props(const CMPIBroker *broker,
+void set_source_inst_props(const CMPIBroker *broker,
                                   const CMPIContext *context,
-                                  CMPIObjectPath *ref,
+                                  const CMPIObjectPath *ref,
                                   CMPIInstance *ind)
 {
         const char *host;
diff -r 639d5782a9f3 -r 2632c5204a9a src/Virt_ComputerSystemIndication.h
--- a/src/Virt_ComputerSystemIndication.h                     Wed Sep 09
00:48:02 2009 -0700
+++ b/src/Virt_ComputerSystemIndication.h                     Wed Sep 09
00:48:02 2009 -0700
@@ -29,6 +29,10 @@
                              const CMPIObjectPath *newsystem,
                              char *type);

+void set_source_inst_props(const CMPIBroker *broker,
+                           const CMPIContext *context,
+                           const CMPIObjectPath *ref,
+                           CMPIInstance *ind);
 #endif

 /*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20090910/d8f1f3b2/attachment.htm>


More information about the Libvirt-cim mailing list