summaryrefslogtreecommitdiffstats
path: root/src/logicalfile/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logicalfile/file.c')
-rw-r--r--src/logicalfile/file.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/logicalfile/file.c b/src/logicalfile/file.c
index 78dddd3..f2666c3 100644
--- a/src/logicalfile/file.c
+++ b/src/logicalfile/file.c
@@ -150,6 +150,13 @@ const char *get_string_property_from_op(const CMPIObjectPath *o, const char *pro
return KChars(d.value.string);
}
+const char *get_string_property_from_instance(const CMPIInstance *i, const char *prop)
+{
+ CMPIData d;
+ d = CMGetProperty(i, prop, NULL);
+ return KChars(d.value.string);
+}
+
CMPIStatus check_assoc_class(
const CMPIBroker *cb,
const char *namespace,