summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorGravatar nandika2010-11-13 18:37:49 +0000
committerGravatar nandika2010-11-13 18:37:49 +0000
commit76f4a19f527e9dfd8faa8211437c509979a5488e (patch)
tree76bcd212b423f2c516e2f002dcccf80c7ac5d4d2 /util
parente9ba5667c60bc58e73f2fb97d17685d41460ebe2 (diff)
downloadaxis2c-76f4a19f527e9dfd8faa8211437c509979a5488e.tar.gz
axis2c-76f4a19f527e9dfd8faa8211437c509979a5488e.tar.bz2
axutil_property_get_scope method added
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1034837 13f79535-47bb-0310-9956-ffa450edef68
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