You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by sh...@apache.org on 2009/09/21 07:32:42 UTC

svn commit: r817161 - /webservices/rampart/trunk/c/include/oxs_c14n.h

Author: shankar
Date: Mon Sep 21 05:32:41 2009
New Revision: 817161

URL: http://svn.apache.org/viewvc?rev=817161&view=rev
Log:
removing unwanted methods

Modified:
    webservices/rampart/trunk/c/include/oxs_c14n.h

Modified: webservices/rampart/trunk/c/include/oxs_c14n.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_c14n.h?rev=817161&r1=817160&r2=817161&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_c14n.h (original)
+++ webservices/rampart/trunk/c/include/oxs_c14n.h Mon Sep 21 05:32:41 2009
@@ -46,30 +46,6 @@
     
     /**
      * Perform given XML-Canonicalization (XML-C14N) method and returns the
-     * result as an <pre>axutil_stream</pre>.
-     *
-     * @param env Pointer to the Axis2/C environment.
-     * @param doc Document on which the canonicalization is performed.
-     * @param stream Output stream.
-     * @param ns_prefixes List of inclusive namespace prefixes.
-     * @param node Node that defines the subdocument to be canonicalized.
-     *             When it is <pre>NULL</pre> the whole document will be
-     *             canonicalized.
-     * @param algo Canonicalization method to be used.
-     */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    oxs_c14n_apply_stream_algo(
-        const axutil_env_t *env,
-        const axiom_document_t *doc,
-        axutil_stream_t *stream,
-        const axutil_array_list_t *ns_prefixes,
-        const axiom_node_t *node,
-        const axis2_char_t* algo
-    );
-
-
-    /**
-     * Perform given XML-Canonicalization (XML-C14N) method and returns the
      * result as an <pre>axis2_char_t</pre> buffer.
      *
      * @param env Pointer to the Axis2/C environment.
@@ -92,7 +68,7 @@
         const axis2_char_t *algo
     );
 
-
+#if 0 /* these doesn't need to be public methods */
     /**
      * Perform given XML-Canonicalization (XML-C14N) method and returns the
      * result as an <pre>axutil_stream</pre>.
@@ -148,6 +124,32 @@
         const axutil_array_list_t *ns_prefixes,
         const axiom_node_t *node
     );
+
+    /**
+     * Perform given XML-Canonicalization (XML-C14N) method and returns the
+     * result as an <pre>axutil_stream</pre>.
+     *
+     * @param env Pointer to the Axis2/C environment.
+     * @param doc Document on which the canonicalization is performed.
+     * @param stream Output stream.
+     * @param ns_prefixes List of inclusive namespace prefixes.
+     * @param node Node that defines the subdocument to be canonicalized.
+     *             When it is <pre>NULL</pre> the whole document will be
+     *             canonicalized.
+     * @param algo Canonicalization method to be used.
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    oxs_c14n_apply_stream_algo(
+        const axutil_env_t *env,
+        const axiom_document_t *doc,
+        axutil_stream_t *stream,
+        const axutil_array_list_t *ns_prefixes,
+        const axiom_node_t *node,
+        const axis2_char_t* algo
+    );
+#endif
+
+
 #ifdef __cplusplus
 }
 /** @} */