# HG changeset patch
# User snmishra(a)us.ibm.com
# Date 1252482482 25200
# Node ID 14910082e1d791b092dcb43e067d91b400e09aa2
# Parent 2632c5204a9a6a485f5406ea016957340895f69f
Modify Virt_RASD so that rasd_from_vdev() can be used by other providers
Signed-off-by: Sharad Mishra <snmishra(a)us.ibm.com>
diff -r 2632c5204a9a -r 14910082e1d7 src/Virt_RASD.c
--- a/src/Virt_RASD.c Wed Sep 09 00:48:02 2009 -0700
+++ b/src/Virt_RASD.c Wed Sep 09 00:48:02 2009 -0700
@@ -368,7 +368,7 @@
return s;
}
-static CMPIInstance *rasd_from_vdev(const CMPIBroker *broker,
+CMPIInstance *rasd_from_vdev(const CMPIBroker *broker,
struct virt_device *dev,
const char *host,
const CMPIObjectPath *ref,
diff -r 2632c5204a9a -r 14910082e1d7 src/Virt_RASD.h
--- a/src/Virt_RASD.h Wed Sep 09 00:48:02 2009 -0700
+++ b/src/Virt_RASD.h Wed Sep 09 00:48:02 2009 -0700
@@ -66,6 +66,13 @@
const uint16_t type,
const char *host,
struct virt_device **list);
+
+CMPIInstance *rasd_from_vdev(const CMPIBroker *broker,
+ struct virt_device *dev,
+ const char *host,
+ const CMPIObjectPath *ref,
+ const char **properties);
+
#endif
/*
Show replies by date