# HG changeset patch
# User snmishra(a)us.ibm.com
# Date 1252684847 25200
# Node ID 44e2c3144f199c7e552e3f5066186289b424b5db
# Parent 92570a0539103628c8ccf0166983e9d85bb7431d
Modify Virt_CS so set_source-inst_props() can be used by other providers.
Signed-off-by: Sharad Mishra <snmishra(a)us.ibm.com>
diff -r 92570a053910 -r 44e2c3144f19 src/Virt_ComputerSystemIndication.c
--- a/src/Virt_ComputerSystemIndication.c Fri Sep 11 09:00:47 2009 -0700
+++ b/src/Virt_ComputerSystemIndication.c Fri Sep 11 09:00:47 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 92570a053910 -r 44e2c3144f19 src/Virt_ComputerSystemIndication.h
--- a/src/Virt_ComputerSystemIndication.h Fri Sep 11 09:00:47 2009 -0700
+++ b/src/Virt_ComputerSystemIndication.h Fri Sep 11 09:00:47 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
/*