# HG changeset patch
# User snmishra@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@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

/*