axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sen...@apache.org
Subject svn commit: r633952 - in /webservices/axis2/trunk/c/util: include/axutil_uri.h src/uri.c
Date Wed, 05 Mar 2008 18:02:56 GMT
Author: senaka
Date: Wed Mar  5 10:02:49 2008
New Revision: 633952

URL: http://svn.apache.org/viewvc?rev=633952&view=rev
Log:
Adding support to retrieve query and fragment in uri.c

Modified:
    webservices/axis2/trunk/c/util/include/axutil_uri.h
    webservices/axis2/trunk/c/util/src/uri.c

Modified: webservices/axis2/trunk/c/util/include/axutil_uri.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_uri.h?rev=633952&r1=633951&r2=633952&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_uri.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_uri.h Wed Mar  5 10:02:49 2008
@@ -253,6 +253,16 @@
         const axutil_uri_t * uri,
         const axutil_env_t * env);
 
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_uri_get_query(
+        axutil_uri_t * uri,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_uri_get_fragment(
+        axutil_uri_t * uri,
+        const axutil_env_t * env);
+
     /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/util/src/uri.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/uri.c?rev=633952&r1=633951&r2=633952&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/uri.c (original)
+++ webservices/axis2/trunk/c/util/src/uri.c Wed Mar  5 10:02:49 2008
@@ -957,6 +957,22 @@
 }
 
 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+axutil_uri_get_query(
+    axutil_uri_t * uri,
+    const axutil_env_t * env)
+{
+    return uri->query;
+}
+
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+axutil_uri_get_fragment(
+    axutil_uri_t * uri,
+    const axutil_env_t * env)
+{
+    return uri->fragment;
+}
+
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
 axutil_uri_get_path(
     axutil_uri_t * uri,
     const axutil_env_t * env)



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message