summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/include/axutil_property.h5
-rw-r--r--util/src/property.c9
2 files changed, 14 insertions, 0 deletions
diff --git a/util/include/axutil_property.h b/util/include/axutil_property.h
index 335db25..cd7aae5 100644
--- a/util/include/axutil_property.h
+++ b/util/include/axutil_property.h
@@ -113,6 +113,11 @@ extern "C"
axutil_property_t * property,
const axutil_env_t * env);
+ AXIS2_EXTERN axis2_scope_t AXIS2_CALL
+ axutil_property_get_scope(
+ axutil_property_t *property,
+ const axutil_env_t *env);
+
/*************************** End of function macros ***************************/
/** @} */
diff --git a/util/src/property.c b/util/src/property.c
index 55826d1..150f109 100644
--- a/util/src/property.c
+++ b/util/src/property.c
@@ -191,3 +191,12 @@ axutil_property_clone(
axutil_property_set_value(new_property, env, property->value);
return new_property;
}
+
+
+AXIS2_EXTERN axis2_scope_t AXIS2_CALL
+axutil_property_get_scope(
+ axutil_property_t *prop,
+ const axutil_env_t *env)
+{
+ return prop->scope;
+} \ No newline at end of file