axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r580283 [1/3] - /webservices/axis2/trunk/c/axiom/include/
Date Fri, 28 Sep 2007 10:12:20 GMT
Author: samisa
Date: Fri Sep 28 03:12:14 2007
New Revision: 580283

URL: http://svn.apache.org/viewvc?rev=580283&view=rev
Log:
Fixed formatting

Modified:
    webservices/axis2/trunk/c/axiom/include/axiom.h
    webservices/axis2/trunk/c/axiom/include/axiom_attribute.h
    webservices/axis2/trunk/c/axiom/include/axiom_child_element_iterator.h
    webservices/axis2/trunk/c/axiom/include/axiom_children_iterator.h
    webservices/axis2/trunk/c/axiom/include/axiom_children_qname_iterator.h
    webservices/axis2/trunk/c/axiom/include/axiom_children_with_specific_attribute_iterator.h
    webservices/axis2/trunk/c/axiom/include/axiom_comment.h
    webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h
    webservices/axis2/trunk/c/axiom/include/axiom_data_source.h
    webservices/axis2/trunk/c/axiom/include/axiom_doctype.h
    webservices/axis2/trunk/c/axiom/include/axiom_document.h
    webservices/axis2/trunk/c/axiom/include/axiom_element.h
    webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h
    webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h
    webservices/axis2/trunk/c/axiom/include/axiom_namespace.h
    webservices/axis2/trunk/c/axiom/include/axiom_navigator.h
    webservices/axis2/trunk/c/axiom/include/axiom_node.h
    webservices/axis2/trunk/c/axiom/include/axiom_output.h
    webservices/axis2/trunk/c/axiom/include/axiom_processing_instruction.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_role.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_sub_code.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_text.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_value.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_header.h
    webservices/axis2/trunk/c/axiom/include/axiom_soap_header_block.h
    webservices/axis2/trunk/c/axiom/include/axiom_stax_builder.h
    webservices/axis2/trunk/c/axiom/include/axiom_text.h
    webservices/axis2/trunk/c/axiom/include/axiom_util.h
    webservices/axis2/trunk/c/axiom/include/axiom_xml_reader.h
    webservices/axis2/trunk/c/axiom/include/axiom_xml_writer.h

Modified: webservices/axis2/trunk/c/axiom/include/axiom.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -52,4 +53,4 @@
 }
 #endif
 
-#endif /* AXIOM_H */
+#endif                          /* AXIOM_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_attribute.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_attribute.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_attribute.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_attribute.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
@@ -38,7 +39,6 @@
      * @{
      */
 
-
     typedef struct axiom_attribute axiom_attribute_t;
 
     /**
@@ -50,11 +50,13 @@
       * @return a pointer to newly created attribute struct, returns NULL on error with 
       *           error code set in environment's error. 
       */
-    AXIS2_EXTERN axiom_attribute_t * AXIS2_CALL
-    axiom_attribute_create(const axutil_env_t *env,
-            const axis2_char_t *localname,
-            const axis2_char_t *value,
-            axiom_namespace_t *ns);
+    AXIS2_EXTERN axiom_attribute_t *AXIS2_CALL
+    axiom_attribute_create(
+        const axutil_env_t * env,
+        const axis2_char_t * localname,
+        const axis2_char_t * value,
+        axiom_namespace_t * ns);
+
     /**
      * Free om attribute passed as void pointer. This will be
      * cast into appropriate type and then pass the cast object
@@ -63,7 +65,7 @@
     AXIS2_EXTERN void AXIS2_CALL
     axiom_attribute_free_void_arg(
         void *om_attribute,
-        const axutil_env_t *env);
+        const axutil_env_t * env);
 
     /**
       * Free an axiom_attribute struct
@@ -74,8 +76,9 @@
       */
 
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_attribute_free(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env);
+    axiom_attribute_free(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env);
 
     /**
       * Creates and returns a qname struct for this attribute
@@ -85,9 +88,10 @@
       * @return returns qname for given attribute.NULL on error 
       */
 
-    AXIS2_EXTERN axutil_qname_t * AXIS2_CALL
-    axiom_attribute_get_qname(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axutil_qname_t *AXIS2_CALL
+    axiom_attribute_get_qname(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env);
 
     /**
       * Serialize op
@@ -98,36 +102,42 @@
       */
 
     AXIS2_EXTERN int AXIS2_CALL
-    axiom_attribute_serialize(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env,
-            axiom_output_t *om_output);
+    axiom_attribute_serialize(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env,
+        axiom_output_t * om_output);
 
     /**  returns the localname of this attribute
      *@param om_attribute pointer to attribute struct 
      *@param env environment. MUST NOT not be NULL.
      *@return localname returns NULL on error.
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axiom_attribute_get_localname(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axiom_attribute_get_localname(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env);
+
     /**
      * returns value of this attribute 
      *@param om_attribute pointer to om_attribute struct 
      *@param env environment N not be null
      *@return value , null on error
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axiom_attribute_get_value(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axiom_attribute_get_value(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env);
+
     /**
      * returns namespace of this attribute 
      *@param om_attribute
      *@param env environment MUST NOT be NULL
      *@return a pointer to om_namespace struct , returns NULL on error.
      */
-    AXIS2_EXTERN axiom_namespace_t* AXIS2_CALL
-    axiom_attribute_get_namespace(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
+    axiom_attribute_get_namespace(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env);
 
     /** sets the localname of the attribute
      *@param om_attribute pointer to om attribute struct. 
@@ -136,9 +146,10 @@
      *@return status code AXIS2_SUCCESS on success and AXIS2_FAILURE on error.
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_attribute_set_localname(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env,
-            const axis2_char_t *localname);
+    axiom_attribute_set_localname(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env,
+        const axis2_char_t * localname);
 
     /** set the attribute value
      *@param om_attribute a pointer to om_attribute struct.
@@ -148,9 +159,10 @@
      */
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_attribute_set_value(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env,
-            const axis2_char_t *value);
+    axiom_attribute_set_value(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env,
+        const axis2_char_t * value);
 
     /** set namespace of the attribute
      *@param om_attribute a pointer to om_attribute struct  
@@ -160,9 +172,10 @@
      *@return status code, AXIS2_SUCCESS on success and AXIS2_FAILURE on error.
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_attribute_set_namespace(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env,
-            axiom_namespace_t *om_namespace);
+    axiom_attribute_set_namespace(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env,
+        axiom_namespace_t * om_namespace);
 
     /**
      * clones an om attribute
@@ -171,37 +184,45 @@
      * @returns pointer to cloned om attribute struct on success
      * NULL otherwise
      */
-    AXIS2_EXTERN struct axiom_attribute* AXIS2_CALL
-                axiom_attribute_clone(struct axiom_attribute *om_attribute,
-                        const axutil_env_t *env);
+    AXIS2_EXTERN struct axiom_attribute *AXIS2_CALL
+                axiom_attribute_clone(
+                    struct axiom_attribute *om_attribute,
+                    const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_attribute_increment_ref(struct axiom_attribute *om_attribute,
-            const axutil_env_t *env);
-
-    AXIS2_EXTERN axiom_attribute_t* AXIS2_CALL
-    axiom_attribute_create_str(const axutil_env_t *env,
+    axiom_attribute_increment_ref(
+        struct axiom_attribute *om_attribute,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axiom_attribute_t *AXIS2_CALL
+    axiom_attribute_create_str(
+        const axutil_env_t * env,
         axutil_string_t * localname,
         axutil_string_t * value,
         axiom_namespace_t * ns);
 
-    AXIS2_EXTERN axutil_string_t* AXIS2_CALL
-    axiom_attribute_get_localname_str(axiom_attribute_t *attribute,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axutil_string_t *AXIS2_CALL
+
+    axiom_attribute_get_localname_str(
+        axiom_attribute_t * attribute,
+        const axutil_env_t * env);
 
-    AXIS2_EXTERN axutil_string_t* AXIS2_CALL
-    axiom_attribute_get_value_str(axiom_attribute_t *attribute,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axutil_string_t *AXIS2_CALL
+    axiom_attribute_get_value_str(
+        axiom_attribute_t * attribute,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_attribute_set_localname_str(axiom_attribute_t *attribute,
-        const axutil_env_t *env,
-        axutil_string_t *localname);
+    axiom_attribute_set_localname_str(
+        axiom_attribute_t * attribute,
+        const axutil_env_t * env,
+        axutil_string_t * localname);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_attribute_set_value_str(axiom_attribute_t *attribute,
-        const axutil_env_t *env,
-        axutil_string_t *value);
+    axiom_attribute_set_value_str(
+        axiom_attribute_t * attribute,
+        const axutil_env_t * env,
+        axutil_string_t * value);
 
     /** @} */
 
@@ -209,4 +230,4 @@
 }
 #endif
 
-#endif  /* AXIOM_ATTRIBUTE_H */
+#endif                          /* AXIOM_ATTRIBUTE_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_child_element_iterator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_child_element_iterator.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_child_element_iterator.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_child_element_iterator.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -19,20 +20,20 @@
 #define AXIOM_CHILD_ELEMENT_ITERATOR_H
 
 /**
-*@file axiom_child_element_iterator.h 
-*@brief this is the iterator for om elemnts 
+*@file axiom_child_element_iterator.h
+*@brief this is the iterator for om elemnts
 */
 
 #include <axiom_node.h>
 #include <axiom_text.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-    typedef struct axiom_child_element_iterator axiom_child_element_iterator_t;
+    typedef struct axiom_child_element_iterator
+                axiom_child_element_iterator_t;
 
     /**
      * @defgroup axiom_child_element_iterator child element iterator
@@ -40,9 +41,10 @@
      * @{
      */
 
-    AXIS2_EXTERN  void AXIS2_CALL 
-    axiom_child_element_iterator_free(void *iterator,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void AXIS2_CALL
+    axiom_child_element_iterator_free(
+        void *iterator,
+        const axutil_env_t * env);
 
     /**
     * Removes from the underlying collection the last element returned by the
@@ -51,35 +53,43 @@
     * the underlying collection is modified while the iteration is in
     * progress in any way other than by calling this method.
     */
-    AXIS2_EXTERN  axis2_status_t AXIS2_CALL
-    axiom_child_element_iterator_remove(axiom_child_element_iterator_t *iterator,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+    axiom_child_element_iterator_remove(
+        axiom_child_element_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * returns true if the iteration has more elements 
      * in otherwords it returns true if the next() would return an element
      * rather than null with an error code set to environments error
      */
-    AXIS2_EXTERN  axis2_bool_t AXIS2_CALL
-    axiom_child_element_iterator_has_next(axiom_child_element_iterator_t *iterator,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+
+    axiom_child_element_iterator_has_next(
+        axiom_child_element_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * Returns the next element in the iteration. Returns null if there 
     * is no more elements 
      */
-    AXIS2_EXTERN  axiom_node_t *AXIS2_CALL
-    axiom_child_element_iterator_next(axiom_child_element_iterator_t *iterator,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+    axiom_child_element_iterator_next(
+        axiom_child_element_iterator_t * iterator,
+        const axutil_env_t * env);
+
     /**
      * @param current child
      * @param env environment
      * return axiom_child_element_iterator_t
      */
 
-    AXIS2_EXTERN  axiom_child_element_iterator_t * AXIS2_CALL
-    axiom_child_element_iterator_create(const axutil_env_t *env,
-            axiom_node_t *current_child);
+    AXIS2_EXTERN axiom_child_element_iterator_t *AXIS2_CALL
+
+    axiom_child_element_iterator_create(
+        const axutil_env_t * env,
+        axiom_node_t * current_child);
 
 #define AXIOM_CHILD_ELEMENT_ITERATOR_FREE(iterator, env) \
         axiom_child_element_iterator_free(iterator, env)
@@ -99,5 +109,4 @@
 }
 #endif
 
-
-#endif /* AXIOM_CHILD_ELEMENT_ITERATOR_H */
+#endif                          /* AXIOM_CHILD_ELEMENT_ITERATOR_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_children_iterator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_children_iterator.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_children_iterator.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_children_iterator.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -19,14 +20,13 @@
 #define AXIOM_CHILDREN_ITERATOR_H
 
 /**
-*@file axiom_children_iterator.h 
-*@brief this is the iterator for om nodes 
+*@file axiom_children_iterator.h
+*@brief this is the iterator for om nodes
 */
 
 #include <axiom_node.h>
 #include <axiom_text.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -46,16 +46,19 @@
      * return axiom_children_iterator_t 
      */
 
-    AXIS2_EXTERN  axiom_children_iterator_t * AXIS2_CALL
-    axiom_children_iterator_create(const axutil_env_t *env,
-            axiom_node_t *current_child);
+    AXIS2_EXTERN axiom_children_iterator_t *AXIS2_CALL
+
+    axiom_children_iterator_create(
+        const axutil_env_t * env,
+        axiom_node_t * current_child);
 
     /**
     * Free the om_children_iterator struct
     */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_children_iterator_free(axiom_children_iterator_t *iterator,
-            const axutil_env_t *env);
+    axiom_children_iterator_free(
+        axiom_children_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
     * Removes from the underlying collection the last element returned by the
@@ -65,8 +68,9 @@
     * progress in any way other than by calling this method.
     */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_children_iterator_remove(axiom_children_iterator_t *iterator,
-            const axutil_env_t *env);
+    axiom_children_iterator_remove(
+        axiom_children_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * @returns true if the iteration has more elements. In other
@@ -75,16 +79,18 @@
      */
 
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axiom_children_iterator_has_next(axiom_children_iterator_t *iterator,
-            const axutil_env_t *env);
+    axiom_children_iterator_has_next(
+        axiom_children_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * Returns the next element in the iteration. Returns null if there are
     * no more elements in the iteration
      */
-    AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-    axiom_children_iterator_next(axiom_children_iterator_t *iterator,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+    axiom_children_iterator_next(
+        axiom_children_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * Resets the Iterator. This moves the cursor back to the initial.
@@ -93,9 +99,9 @@
      * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_children_iterator_reset(axiom_children_iterator_t *iterator,
-            const axutil_env_t *env);
-
+    axiom_children_iterator_reset(
+        axiom_children_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /************ Macros *********************************************/
 
@@ -105,5 +111,4 @@
 }
 #endif
 
-
-#endif /* AXIOM_CHILDREN_ITERATOR_H */
+#endif                          /* AXIOM_CHILDREN_ITERATOR_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_children_qname_iterator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_children_qname_iterator.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_children_qname_iterator.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_children_qname_iterator.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -27,13 +28,13 @@
 #include <axiom_namespace.h>
 #include <axutil_qname.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-    typedef struct axiom_children_qname_iterator axiom_children_qname_iterator_t;
+    typedef struct axiom_children_qname_iterator
+                axiom_children_qname_iterator_t;
 
     /**
      * @defgroup axiom_children_qname_iterator children qname iterator
@@ -41,17 +42,20 @@
      * @{
      */
 
-    AXIS2_EXTERN axiom_children_qname_iterator_t * AXIS2_CALL
-    axiom_children_qname_iterator_create(const axutil_env_t *env,
-            axiom_node_t *current_child,
-            axutil_qname_t *given_qname);
+    AXIS2_EXTERN axiom_children_qname_iterator_t *AXIS2_CALL
+
+    axiom_children_qname_iterator_create(
+        const axutil_env_t * env,
+        axiom_node_t * current_child,
+        axutil_qname_t * given_qname);
 
     /**
      * free om_children_qname_iterator struct 
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_children_qname_iterator_free(axiom_children_qname_iterator_t *iterator,
-            const axutil_env_t *env);
+    axiom_children_qname_iterator_free(
+        axiom_children_qname_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * Removes from the underlying collection the last element returned by the
@@ -61,8 +65,10 @@
      * progress in any way other than by calling this method.
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_children_qname_iterator_remove(axiom_children_qname_iterator_t *iterator,
-            const axutil_env_t *env);
+
+    axiom_children_qname_iterator_remove(
+        axiom_children_qname_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * Returns <tt>true</tt> if the iteration has more elements. (In other
@@ -71,15 +77,18 @@
      */
 
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axiom_children_qname_iterator_has_next(axiom_children_qname_iterator_t *iterator,
-            const axutil_env_t *env);
+
+    axiom_children_qname_iterator_has_next(
+        axiom_children_qname_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * Returns the next element in the iteration.
      */
-    AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-    axiom_children_qname_iterator_next(axiom_children_qname_iterator_t *iterator,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+    axiom_children_qname_iterator_next(
+        axiom_children_qname_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /** @} */
 
@@ -87,4 +96,4 @@
 }
 #endif
 
-#endif /* AXIOM_CHILDREN_QNAME_ITERATOR_H */
+#endif                          /* AXIOM_CHILDREN_QNAME_ITERATOR_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_children_with_specific_attribute_iterator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_children_with_specific_attribute_iterator.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_children_with_specific_attribute_iterator.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_children_with_specific_attribute_iterator.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -19,15 +20,14 @@
 #define AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_H
 
 /**
-*@file axiom_children_with_specific_attribute_iterator.h 
-*@brief this is the iterator for om nodes 
+*@file axiom_children_with_specific_attribute_iterator.h
+*@brief this is the iterator for om nodes
 */
 
 #include <axiom_node.h>
 #include <axiom_text.h>
 #include <axutil_qname.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -46,8 +46,10 @@
     * Free function free the om_children_with_specific_attribute_iterator struct
     */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_children_with_specific_attribute_iterator_free(axiom_children_with_specific_attribute_iterator_t *iterator,
-        const axutil_env_t *env);
+
+    axiom_children_with_specific_attribute_iterator_free(
+        axiom_children_with_specific_attribute_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
     * Removes from the underlying collection the last element returned by the
@@ -57,8 +59,10 @@
     * progress in any way other than by calling this method.
     */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_children_with_specific_attribute_iterator_remove(axiom_children_with_specific_attribute_iterator_t *iterator,
-        const axutil_env_t *env);
+
+    axiom_children_with_specific_attribute_iterator_remove(
+        axiom_children_with_specific_attribute_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * Returns true< if the iteration has more elements. (In other
@@ -67,16 +71,20 @@
      */
 
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axiom_children_with_specific_attribute_iterator_has_next(axiom_children_with_specific_attribute_iterator_t *iterator,
-        const axutil_env_t *env);
+
+    axiom_children_with_specific_attribute_iterator_has_next(
+        axiom_children_with_specific_attribute_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * Returns the next element in the iteration. returns null if there is no 
     * more elements in the iteration
      */
     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
-    axiom_children_with_specific_attribute_iterator_next(axiom_children_with_specific_attribute_iterator_t *iterator,
-        const axutil_env_t *env);
+
+    axiom_children_with_specific_attribute_iterator_next(
+        axiom_children_with_specific_attribute_iterator_t * iterator,
+        const axutil_env_t * env);
 
     /**
      * @param current child
@@ -84,12 +92,13 @@
      * return axiom_children_with_specific_attribute_iterator_t
      */
 
-    AXIS2_EXTERN  axiom_children_with_specific_attribute_iterator_t * AXIS2_CALL
+    AXIS2_EXTERN axiom_children_with_specific_attribute_iterator_t
+    *AXIS2_CALL
     axiom_children_with_specific_attribute_iterator_create(
-        const axutil_env_t *env,
-        axiom_node_t *current_child,
-        axutil_qname_t *attr_qname,
-        axis2_char_t *attr_value,
+        const axutil_env_t * env,
+        axiom_node_t * current_child,
+        axutil_qname_t * attr_qname,
+        axis2_char_t * attr_value,
         axis2_bool_t detach);
 
 #define AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_FREE(iterator, env) \
@@ -104,12 +113,10 @@
 #define AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_NEXT(iterator, env) \
         axiom_children_with_specific_attribute_iterator_next(iterator, env)
 
-
     /** @} */
 
 #ifdef __cplusplus
 }
 #endif
 
-
-#endif /* AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_H */
+#endif                          /* AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_comment.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_comment.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_comment.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_comment.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -31,14 +32,12 @@
 {
 #endif
 
-
     /**
      * @defgroup axiom_comment comment
      * @ingroup axiom_om
      * @{
      */
 
-
     typedef struct axiom_comment axiom_comment_t;
 
     /**
@@ -51,11 +50,12 @@
       *        Node type will be set to AXIOM_COMMENT
       * @return a pointer to the newly created comment struct
       */
-    AXIS2_EXTERN axiom_comment_t * AXIS2_CALL
-    axiom_comment_create(const axutil_env_t *env,
-            axiom_node_t *parent,
-            const axis2_char_t *value,
-            axiom_node_t **node);
+    AXIS2_EXTERN axiom_comment_t *AXIS2_CALL
+    axiom_comment_create(
+        const axutil_env_t * env,
+        axiom_node_t * parent,
+        const axis2_char_t * value,
+        axiom_node_t ** node);
 
     /**
       * Free a axis2_comment_t struct
@@ -65,17 +65,21 @@
       *                AXIS2_SUCCESS on success ,AXIS2_FAILURE on error.
       */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_comment_free(struct axiom_comment *om_comment,
-            const axutil_env_t *env);
+    axiom_comment_free(
+        struct axiom_comment *om_comment,
+        const axutil_env_t * env);
+
     /** get the comments data
      * @param om_comment a pointer to axiom_comment_t struct
      * @param env environment, MUST NOT be NULL 
      * @returns comment text
      */
 
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axiom_comment_get_value(struct axiom_comment *om_comment,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axiom_comment_get_value(
+        struct axiom_comment *om_comment,
+        const axutil_env_t * env);
+
     /**
      * set comment data
      * @param om_comment pointer to axiom_comment_t struct
@@ -84,9 +88,11 @@
      * @returns AXIS2_SUCCESS on success , AXIS2_FAILURE on error
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_comment_set_value(struct axiom_comment *om_comment,
-            const axutil_env_t *env,
-            const axis2_char_t* value);
+    axiom_comment_set_value(
+        struct axiom_comment *om_comment,
+        const axutil_env_t * env,
+        const axis2_char_t * value);
+
     /**
      *  serialize function 
      *  @param om_comment pointer to axiom_comment_t struct
@@ -95,9 +101,10 @@
      *  @return AXIS2_SUCCESS on success, AXIS2_FAILURE on error.
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_comment_serialize(struct axiom_comment *om_comment,
-            const axutil_env_t *env,
-            axiom_output_t *om_output);
+    axiom_comment_serialize(
+        struct axiom_comment *om_comment,
+        const axutil_env_t * env,
+        axiom_output_t * om_output);
 
     /** @} */
 

Modified: webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -31,7 +32,6 @@
 #include <axutil_string.h>
 #include <axutil_array_list.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -41,8 +41,7 @@
     {
         AXIOM_DATA_HANDLER_TYPE_FILE,
         AXIOM_DATA_HANDLER_TYPE_BUFFER
-    }axiom_data_handler_type_t;
-
+    } axiom_data_handler_type_t;
 
     typedef struct axiom_data_handler axiom_data_handler_t;
 
@@ -52,54 +51,66 @@
       */
 
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axiom_data_handler_get_content_type(axiom_data_handler_t *data_handler,
-        const axutil_env_t *env);
+
+    axiom_data_handler_get_content_type(
+        axiom_data_handler_t * data_handler,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_byte_t *AXIS2_CALL
-    axiom_data_handler_get_input_stream(axiom_data_handler_t *data_handler,
-        const axutil_env_t *env);
+
+    axiom_data_handler_get_input_stream(
+        axiom_data_handler_t * data_handler,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN int AXIS2_CALL
-    axiom_data_handler_get_input_stream_len(axiom_data_handler_t *data_handler,
-        const axutil_env_t *env);
+    axiom_data_handler_get_input_stream_len(
+        axiom_data_handler_t * data_handler,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_data_handler_read_from(axiom_data_handler_t *data_handler,
-        const axutil_env_t *env,
-        axis2_byte_t** output_stream,
+    axiom_data_handler_read_from(
+        axiom_data_handler_t * data_handler,
+        const axutil_env_t * env,
+        axis2_byte_t ** output_stream,
         int *output_stream_size);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_data_handler_set_binary_data(axiom_data_handler_t *data_handler,
-        const axutil_env_t *env,
-        axis2_byte_t* input_stream,
+
+    axiom_data_handler_set_binary_data(
+        axiom_data_handler_t * data_handler,
+        const axutil_env_t * env,
+        axis2_byte_t * input_stream,
         int input_stream_len);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_data_handler_write_to(axiom_data_handler_t *data_handler,
-        const axutil_env_t *env);
+    axiom_data_handler_write_to(
+        axiom_data_handler_t * data_handler,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_data_handler_set_file_name(axiom_data_handler_t *data_handler,
-        const axutil_env_t *env,
-        axis2_char_t* file_name);
+    axiom_data_handler_set_file_name(
+        axiom_data_handler_t * data_handler,
+        const axutil_env_t * env,
+        axis2_char_t * file_name);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_data_handler_free(axiom_data_handler_t *data_handler,
-        const axutil_env_t *env);
+    axiom_data_handler_free(
+        axiom_data_handler_t * data_handler,
+        const axutil_env_t * env);
 
     /**
      * Creates data_handler struct
      * @return pointer to newly created data_handler
      */
-    AXIS2_EXTERN axiom_data_handler_t * AXIS2_CALL
-    axiom_data_handler_create(const axutil_env_t *env,
-        const axis2_char_t *file_name,
-        const axis2_char_t *mime_type);
+    AXIS2_EXTERN axiom_data_handler_t *AXIS2_CALL
+    axiom_data_handler_create(
+        const axutil_env_t * env,
+        const axis2_char_t * file_name,
+        const axis2_char_t * mime_type);
 
     /** @} */
 
 #ifdef __cplusplus
 }
 #endif
-#endif  /* AXIOM_DATA_HANDLER_H */
+#endif                          /* AXIOM_DATA_HANDLER_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_data_source.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_data_source.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_data_source.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_data_source.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -39,14 +40,12 @@
      * @{
      */
 
-
     /**
       * \brief data_source struct
       * Handles the XML data_source in OM
       */
     typedef struct axiom_data_source axiom_data_source_t;
 
-
     /**
       * Creates a new data_source struct
       * @param env Environment. MUST  NOT be NULL, .
@@ -58,10 +57,11 @@
       *                       Node type will be set to AXIOM_DATA_SOURCE  
       * @return pointer to newly created data_source struct 
       */
-    AXIS2_EXTERN axiom_data_source_t * AXIS2_CALL
-    axiom_data_source_create(const axutil_env_t *env,
-            axiom_node_t *parent,
-            axiom_node_t ** node);
+    AXIS2_EXTERN axiom_data_source_t *AXIS2_CALL
+    axiom_data_source_create(
+        const axutil_env_t * env,
+        axiom_node_t * parent,
+        axiom_node_t ** node);
 
     /**
       * Free an axiom_data_source struct
@@ -71,8 +71,9 @@
       *         AXIS2_FAILURE on error.
       */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_data_source_free(struct axiom_data_source *om_data_source,
-            const axutil_env_t *env);
+    axiom_data_source_free(
+        struct axiom_data_source *om_data_source,
+        const axutil_env_t * env);
 
     /**
       * Serialize op
@@ -83,9 +84,11 @@
       *            AXIS2_FAILURE on error
       */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_data_source_serialize(struct axiom_data_source *om_data_source,
-            const axutil_env_t *env,
-            axiom_output_t *om_output);
+    axiom_data_source_serialize(
+        struct axiom_data_source *om_data_source,
+        const axutil_env_t * env,
+        axiom_output_t * om_output);
+
     /**
      *  set the data_source value
      * @param om_data_source om_data_source struct
@@ -94,10 +97,10 @@
      * @return status of the op. AXIS2_SUCCESS on success,
      *           AXIS2_FAILURE on error.   
      */
-    AXIS2_EXTERN axutil_stream_t * AXIS2_CALL
-    axiom_data_source_get_stream(struct axiom_data_source *om_data_source,
-            const axutil_env_t *env);
-
+    AXIS2_EXTERN axutil_stream_t *AXIS2_CALL
+    axiom_data_source_get_stream(
+        struct axiom_data_source *om_data_source,
+        const axutil_env_t * env);
 
     /** @} */
 

Modified: webservices/axis2/trunk/c/axiom/include/axiom_doctype.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_doctype.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_doctype.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_doctype.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -52,11 +53,13 @@
       *               Node type will be set to AXIOM_DOCTYPE
       * @return pointer to newly created doctype struct 
       */
-    AXIS2_EXTERN axiom_doctype_t * AXIS2_CALL
-    axiom_doctype_create(const axutil_env_t *env,
-            axiom_node_t * parent,
-            const axis2_char_t * value,
-            axiom_node_t ** node);
+    AXIS2_EXTERN axiom_doctype_t *AXIS2_CALL
+    axiom_doctype_create(
+        const axutil_env_t * env,
+        axiom_node_t * parent,
+        const axis2_char_t * value,
+        axiom_node_t ** node);
+
     /**
       * free doctype struct
       * @param om_doctype pointer to axiom_doctype_t struct to be freed
@@ -65,16 +68,20 @@
       *         AXIS2_FAILURE on error.
       */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_doctype_free(struct axiom_doctype *om_doctype,
-            const axutil_env_t *env);
+    axiom_doctype_free(
+        struct axiom_doctype *om_doctype,
+        const axutil_env_t * env);
+
     /**
      * @param om_doctype pointer to a axiom_doctype_t struct
      * @param env environment must not be null   
      * @return DTD text 
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axiom_doctype_get_value(struct axiom_doctype *om_doctype,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axiom_doctype_get_value(
+        struct axiom_doctype *om_doctype,
+        const axutil_env_t * env);
+
     /**
      * @param om_doctype pointer to axiom doctype_t struct
      * @param env environment , MUST NOT be NULL.
@@ -84,9 +91,11 @@
      */
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_doctype_set_value(struct axiom_doctype *om_doctype,
-            const axutil_env_t *env,
-            const axis2_char_t *value);
+    axiom_doctype_set_value(
+        struct axiom_doctype *om_doctype,
+        const axutil_env_t * env,
+        const axis2_char_t * value);
+
     /**
      * serialize op 
      * @param om_doctype pointer to axiom_doctype_t struct
@@ -97,9 +106,10 @@
      */
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_doctype_serialize(struct axiom_doctype *om_doctype,
-            const axutil_env_t *env,
-            axiom_output_t *om_output);
+    axiom_doctype_serialize(
+        struct axiom_doctype *om_doctype,
+        const axutil_env_t * env,
+        axiom_output_t * om_output);
 
     /** @} */
 

Modified: webservices/axis2/trunk/c/axiom/include/axiom_document.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_document.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_document.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_document.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -28,7 +29,6 @@
 {
 #endif
 
-
     /**
      * @file axiom_document.h
      * @brief om_document represents an XML document
@@ -54,10 +54,12 @@
       * @param builder pointer to axiom_stax_builder 
       * @return pointer to the newly created document.
       */
-    AXIS2_EXTERN axiom_document_t * AXIS2_CALL
-    axiom_document_create(const axutil_env_t *env,
-            axiom_node_t * root,
-            struct axiom_stax_builder *builder);
+    AXIS2_EXTERN axiom_document_t *AXIS2_CALL
+    axiom_document_create(
+        const axutil_env_t * env,
+        axiom_node_t * root,
+        struct axiom_stax_builder *builder);
+
     /**
       * Free document struct
       * @param document pointer to axiom_document_t struct to be freed
@@ -65,17 +67,20 @@
       * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
       */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_document_free(struct axiom_document *document,
-            const axutil_env_t *env);
-	 /**
-      * Free document struct only, Does not free the associated axiom struture.
-      * @param document pointer to axiom_document_t struct to be freed
-      * @param env Environment. MUST NOT be NULL  
-      * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
-      */
+    axiom_document_free(
+        struct axiom_document *document,
+        const axutil_env_t * env);
+
+    /**
+     * Free document struct only, Does not free the associated axiom struture.
+     * @param document pointer to axiom_document_t struct to be freed
+     * @param env Environment. MUST NOT be NULL  
+     * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
+     */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_document_free_self(struct axiom_document *document,
-            const axutil_env_t *env);
+    axiom_document_free_self(
+        struct axiom_document *document,
+        const axutil_env_t * env);
 
     /** Builds the next node if the builder is not finished with input xml stream
       * @param document document whose next node is to be built. cannot be NULL
@@ -83,9 +88,10 @@
       * @return pointer to the next node. NULL on error.
       */
 
-    AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-    axiom_document_build_next(struct axiom_document *document,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+    axiom_document_build_next(
+        struct axiom_document *document,
+        const axutil_env_t * env);
 
     /**
       * Gets the root element of the document.
@@ -94,9 +100,10 @@
       * @return returns a pointer to the root node. If no root present,
       *            this method tries to build the root. Returns NULL on error. 
       */
-    AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-    axiom_document_get_root_element(struct axiom_document *document,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+    axiom_document_get_root_element(
+        struct axiom_document *document,
+        const axutil_env_t * env);
 
     /**
       * set the root element of the document. IF a root node is already exist,it is freed 
@@ -107,35 +114,42 @@
       */
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_document_set_root_element(struct axiom_document *document,
-            const axutil_env_t *env,
-            axiom_node_t *om_node);
+    axiom_document_set_root_element(
+        struct axiom_document *document,
+        const axutil_env_t * env,
+        axiom_node_t * om_node);
+
     /**
      * This method builds the rest of the xml input stream from current position till
      * the root element is completed .
      *@param document pointer to axiom_document_t struct to be built.
      *@param env environment MUST NOT be NULL.
      */
-    AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-    axiom_document_build_all(struct axiom_document *document,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+    axiom_document_build_all(
+        struct axiom_document *document,
+        const axutil_env_t * env);
+
     /**
      * get builder
      * @return builder , returns NULL if a builder is not associated with 
      *                   document
      */
-    AXIS2_EXTERN struct axiom_stax_builder* AXIS2_CALL
-                axiom_document_get_builder(struct axiom_document *document,
-                        const axutil_env_t *env);
+    AXIS2_EXTERN struct axiom_stax_builder *AXIS2_CALL
+
+                axiom_document_get_builder(
+                    struct axiom_document *document,
+                    const axutil_env_t * env);
+
     /**
      * @param om_document
      * @return status code AXIS2_SUCCESS on success , otherwise AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_document_serialize(struct axiom_document *document,
-            const axutil_env_t *env,
-            axiom_output_t *om_output);
-
+    axiom_document_serialize(
+        struct axiom_document *document,
+        const axutil_env_t * env,
+        axiom_output_t * om_output);
 
     /** @} */
 
@@ -143,4 +157,4 @@
 }
 #endif
 
-#endif /* AXIOM_DOCUMENT_H */
+#endif                          /* AXIOM_DOCUMENT_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_element.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_element.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_element.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -41,7 +42,6 @@
      * @{
      */
 
-
     /**
       * Creates an AXIOM element with given local name
       * @param env Environment. MUST NOT be NULL.
@@ -53,12 +53,13 @@
       *                       Node type will be set to AXIOM_ELEMENT
       * @return a pointer to the newly created element struct
       */
-    AXIS2_EXTERN axiom_element_t * AXIS2_CALL
-    axiom_element_create(const axutil_env_t *env,
-            axiom_node_t *parent,
-            const axis2_char_t *localname,
-            axiom_namespace_t *ns,
-            axiom_node_t **node);
+    AXIS2_EXTERN axiom_element_t *AXIS2_CALL
+    axiom_element_create(
+        const axutil_env_t * env,
+        axiom_node_t * parent,
+        const axis2_char_t * localname,
+        axiom_namespace_t * ns,
+        axiom_node_t ** node);
 
     /**
       * Creates an AXIOM element with given qname
@@ -70,11 +71,12 @@
       *                       Node type will be set to AXIOM_ELEMENT
       * @return a pointer to the newly created element struct
       */
-    AXIS2_EXTERN axiom_element_t * AXIS2_CALL
-    axiom_element_create_with_qname(const axutil_env_t *env,
-            axiom_node_t *parent,
-            const axutil_qname_t *qname,
-            axiom_node_t ** node);
+    AXIS2_EXTERN axiom_element_t *AXIS2_CALL
+    axiom_element_create_with_qname(
+        const axutil_env_t * env,
+        axiom_node_t * parent,
+        const axutil_qname_t * qname,
+        axiom_node_t ** node);
     /*
      * Find a namespace in the scope of the document.
      * Start to find from the given node and go up the hierarchy.
@@ -87,12 +89,14 @@
      * @return pointer to the namespace, if found, else NULL. On error, returns 
      *           NULL and sets error code in environment,s error
      */
-    AXIS2_EXTERN axiom_namespace_t* AXIS2_CALL
-    axiom_element_find_namespace(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *node,
-            const axis2_char_t *uri,
-            const axis2_char_t *prefix);
+    AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
+    axiom_element_find_namespace(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * node,
+        const axis2_char_t * uri,
+        const axis2_char_t * prefix);
+
     /**
       * Declare a namespace in current element (in the scope of this element ).
       * It checks to see if it is already declared.
@@ -103,16 +107,19 @@
       * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
       */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_declare_namespace(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *node,
-            axiom_namespace_t * ns);
+    axiom_element_declare_namespace(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * node,
+        axiom_namespace_t * ns);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_declare_namespace_assume_param_ownership(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_namespace_t *ns);
-            
+
+    axiom_element_declare_namespace_assume_param_ownership(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_namespace_t * ns);
+
     /**
      * Finds a namespace using qname
      * Start to find from the given node and go up the hierarchy.
@@ -123,11 +130,13 @@
      * @return pointer to the namespace, if found, else NULL. On error, returns 
      *           NULL and sets the error code in environment's error struct.
      */
-    AXIS2_EXTERN axiom_namespace_t * AXIS2_CALL
-    axiom_element_find_namespace_with_qname(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *node,
-            axutil_qname_t *qname);
+    AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
+
+    axiom_element_find_namespace_with_qname(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * node,
+        axutil_qname_t * qname);
 
     /**
       * Adds an attribute to current element
@@ -138,10 +147,11 @@
       * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
       */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_add_attribute(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_attribute_t *attribute,
-            axiom_node_t *node);
+    axiom_element_add_attribute(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_attribute_t * attribute,
+        axiom_node_t * node);
 
     /**
       * Gets (finds) the attribute with the given qname
@@ -152,9 +162,10 @@
       *           On error, returns NULL and sets the error code in environment's error struct.
       */
     AXIS2_EXTERN axiom_attribute_t *AXIS2_CALL
-    axiom_element_get_attribute(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axutil_qname_t * qname);
+    axiom_element_get_attribute(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axutil_qname_t * qname);
 
     /**
     * Gets (finds) the attribute value with the given qname
@@ -164,10 +175,11 @@
     * @return the attribute value with given qname if found, else NULL.
     *  On error, returns NULL and sets the error code in environment's error struct.
     */
-    AXIS2_EXTERN axis2_char_t * AXIS2_CALL
-    axiom_element_get_attribute_value(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axutil_qname_t * qname);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axiom_element_get_attribute_value(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axutil_qname_t * qname);
 
     /**
       * Frees given element 
@@ -176,8 +188,9 @@
        * @return satus of the op. AXIS2_SUCCESS on success ,AXIS2_FAILURE on error.
       */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_element_free(axiom_element_t *element,
-            const axutil_env_t *env);
+    axiom_element_free(
+        axiom_element_t * element,
+        const axutil_env_t * env);
 
     /**
       * Serializes the start part of the given element
@@ -187,10 +200,12 @@
       * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE
       */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_serialize_start_part(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_output_t * om_output,
-            axiom_node_t *ele_node);
+
+    axiom_element_serialize_start_part(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_output_t * om_output,
+        axiom_node_t * ele_node);
 
     /**
       * Serializes the end part of the given element. serialize_start_part must 
@@ -201,9 +216,11 @@
       * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE
       */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_serialize_end_part(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_output_t * om_output);
+    axiom_element_serialize_end_part(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_output_t * om_output);
+
     /**
      *  finds a namespace in current elements scope
      * @param om_element
@@ -213,12 +230,13 @@
      * @return axiom_namespace_t if found, else return NULL
      */
 
-    AXIS2_EXTERN axiom_namespace_t* AXIS2_CALL
-    axiom_element_find_declared_namespace(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            const axis2_char_t *uri,
-            const axis2_char_t *prefix);
+    AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
 
+    axiom_element_find_declared_namespace(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        const axis2_char_t * uri,
+        const axis2_char_t * prefix);
 
     /**
      * returns the localname of this element
@@ -226,9 +244,11 @@
      * @param env environment struct
      * @returns localname of element, returns NULL on error.
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axiom_element_get_localname(axiom_element_t *om_element,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axiom_element_get_localname(
+        axiom_element_t * om_element,
+        const axutil_env_t * env);
+
     /**
      * set the localname of this element
      * @param om_element om_element_struct to with localname is set
@@ -238,9 +258,11 @@
      *                   AXIS2_FAILURE on error.
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_set_localname(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            const axis2_char_t *localname);
+    axiom_element_set_localname(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        const axis2_char_t * localname);
+
     /**
      * get the namespace  of om_element 
      * @param om_element om_element struct
@@ -249,10 +271,12 @@
      *          NULL if there is no namespace associated with the element,
      *          NULL on error with error code set to environment's error
      */
-    AXIS2_EXTERN axiom_namespace_t * AXIS2_CALL
-    axiom_element_get_namespace(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *ele_node);
+    AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
+    axiom_element_get_namespace(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * ele_node);
+
     /**
      * set the namespace of the element
      * @param om_element Om_element struct
@@ -262,15 +286,19 @@
      *                  set to environment's error
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_set_namespace(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_namespace_t *ns,
-            axiom_node_t *node);
+    axiom_element_set_namespace(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_namespace_t * ns,
+        axiom_node_t * node);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_set_namespace_assume_param_ownership(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_namespace_t *ns);
+
+    axiom_element_set_namespace_assume_param_ownership(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_namespace_t * ns);
+
     /**
      * get  the attribute list of the element 
      * @param om_element om element
@@ -278,9 +306,11 @@
      * @returns axutil_hash poiner to attributes hash
      * This hash table is read only 
      */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL
-    axiom_element_get_all_attributes(axiom_element_t *om_element,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axiom_element_get_all_attributes(
+        axiom_element_t * om_element,
+        const axutil_env_t * env);
+
     /**
      * get the namespace list of the element
      * @param om_element om element
@@ -288,9 +318,11 @@
      * @returns axutil_hash pointer to namespaces hash
      * this hash table is read only
      */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL
-    axiom_element_get_namespaces(axiom_element_t *om_element,
-            const axutil_env_t *env);
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axiom_element_get_namespaces(
+        axiom_element_t * om_element,
+        const axutil_env_t * env);
+
     /**
      *@return qname of this element
      * the returned qname should not be externaly freed
@@ -298,19 +330,22 @@
      * freed 
      * @returns axutil_qname_t struct , NULL on failure
      */
-    AXIS2_EXTERN axutil_qname_t* AXIS2_CALL
-    axiom_element_get_qname(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *ele_node);
+    AXIS2_EXTERN axutil_qname_t *AXIS2_CALL
+    axiom_element_get_qname(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * ele_node);
 
     /**
      *   returns a list of children iterator
      *   iterators free function must be called by user
      */
-    AXIS2_EXTERN axiom_children_iterator_t* AXIS2_CALL
-    axiom_element_get_children(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *element_node);
+    AXIS2_EXTERN axiom_children_iterator_t *AXIS2_CALL
+
+    axiom_element_get_children(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * element_node);
 
     /**
      *   returns a list of children iterator with qname
@@ -323,21 +358,27 @@
      * @returns children qname iterator struct
      */
 
-    AXIS2_EXTERN axiom_children_qname_iterator_t * AXIS2_CALL
-    axiom_element_get_children_with_qname(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axutil_qname_t *element_qname,
-            axiom_node_t* element_node);
+    AXIS2_EXTERN axiom_children_qname_iterator_t *AXIS2_CALL
+
+    axiom_element_get_children_with_qname(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axutil_qname_t * element_qname,
+        axiom_node_t * element_node);
+
     /**
      * returns the om_element corresponding to element_qname
      */
 
-    AXIS2_EXTERN axiom_element_t* AXIS2_CALL
-    axiom_element_get_first_child_with_qname(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axutil_qname_t *element_qname,
-            axiom_node_t* element_node,
-            axiom_node_t **child_node);
+    AXIS2_EXTERN axiom_element_t *AXIS2_CALL
+
+    axiom_element_get_first_child_with_qname(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axutil_qname_t * element_qname,
+        axiom_node_t * element_node,
+        axiom_node_t ** child_node);
+
     /**
      * removes an attribute from the element attribute list
      * user must free this attribute, element free function does not free 
@@ -349,50 +390,58 @@
      *           AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_remove_attribute(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_attribute_t *om_attribute);
+    axiom_element_remove_attribute(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_attribute_t * om_attribute);
+
     /**
      * Sets the text of the given element.
      *caution - This method will wipe out all the text elements (and hence any
      * mixed content) before setting the text
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_set_text(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            const axis2_char_t *text,
-            axiom_node_t *element_node);
+    axiom_element_set_text(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        const axis2_char_t * text,
+        axiom_node_t * element_node);
+
     /**
      * select all the text children and concat them to a single string
      * @param element node , the container node of this om element
      * @return the contanated text of all text childrens text values
      *         return null if no text children is avilable or on error
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axiom_element_get_text(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *element_node);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axiom_element_get_text(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * element_node);
 
     /**
      * returns the first child om element of this om element node
      * @param element_node the container node of this om_element
      * @return om_element if one is availble otherwise return NULL
      */
-    AXIS2_EXTERN axiom_element_t* AXIS2_CALL
+    AXIS2_EXTERN axiom_element_t *AXIS2_CALL
     axiom_element_get_first_element(
-        axiom_element_t *om_element,
-        const axutil_env_t *env,
-        axiom_node_t *element_node,
-        axiom_node_t **first_element_node);
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * element_node,
+        axiom_node_t ** first_element_node);
+
     /**
      * returns the serilized text of this element and its children
      * @param element_node the container node this on element is contained 
      * @return a char array of xml , returns NULL on error
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axiom_element_to_string(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *element_node);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axiom_element_to_string(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * element_node);
+
     /**
      * returns an iterator with child elements of type AXIOM_ELEMENT
      * iterator is freed when om_element node is freed
@@ -401,11 +450,13 @@
      * @param env enviroment must not be null
      * @returns axiom_child_element_iterator_t , NULL on error    
      */
-    AXIS2_EXTERN axiom_child_element_iterator_t* AXIS2_CALL
+    AXIS2_EXTERN axiom_child_element_iterator_t *AXIS2_CALL
+
     axiom_element_get_child_elements(
-        axiom_element_t *om_element,
-        const axutil_env_t *env,
-        axiom_node_t *element_node);
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * element_node);
+
     /**
      * builds this om_element_node completely, This is only possible 
      * if the om_stax_builder is associated with the om_element_node,
@@ -417,9 +468,10 @@
      * otherwise returns AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_build(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *element_node);
+    axiom_element_build(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * element_node);
 
     /**
      * retrieves the default namespace of this element , if available,
@@ -427,11 +479,12 @@
      * @param env axutil_environment MUST Not be NULL
      * @returns pointer to default namespace if availale , NULL otherwise
      */
-    AXIS2_EXTERN axiom_namespace_t* AXIS2_CALL
+    AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
+
     axiom_element_get_default_namespace(
-        axiom_element_t *om_element,
-        const axutil_env_t *env,
-        axiom_node_t *element_node);
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * element_node);
 
     /**
      * declared a default namespace explicitly 
@@ -440,10 +493,12 @@
      * @param uri namespace uri of the default namespace
      * @returns the declared namespace
                                                  */
-    AXIS2_EXTERN axiom_namespace_t* AXIS2_CALL
-    axiom_element_declare_default_namespace(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axis2_char_t *uri);
+    AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
+
+    axiom_element_declare_default_namespace(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axis2_char_t * uri);
 
     /**
      * checks for the namespace in the context of this element 
@@ -454,11 +509,14 @@
      * @returns pointer to relevent namespace 
      */
 
-    AXIS2_EXTERN axiom_namespace_t* AXIS2_CALL
-    axiom_element_find_namespace_uri(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axis2_char_t *prefix,
-            axiom_node_t *element_node);
+    AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
+
+    axiom_element_find_namespace_uri(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axis2_char_t * prefix,
+        axiom_node_t * element_node);
+
     /**
      *This will not search the namespace in the scope nor will 
      * declare in the current element, as in set_namespace. This will
@@ -467,46 +525,52 @@
      * @returns 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_set_namespace_with_no_find_in_current_scope(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_namespace_t *om_ns);
+
+    axiom_element_set_namespace_with_no_find_in_current_scope(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_namespace_t * om_ns);
 
     /**
      *  Extract attributes , returns a clones hash table of attributes,
      *  if attributes are associated with a namespace it is also cloned
      */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL
-    axiom_element_extract_attributes(axiom_element_t *om_element,
-            const axutil_env_t *env,
-            axiom_node_t *ele_node);
-
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axiom_element_get_attribute_value_by_name(axiom_element_t *om_ele,
-            const axutil_env_t *env,
-            axis2_char_t *attr_name);
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axiom_element_extract_attributes(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axiom_node_t * ele_node);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+
+    axiom_element_get_attribute_value_by_name(
+        axiom_element_t * om_ele,
+        const axutil_env_t * env,
+        axis2_char_t * attr_name);
 
     AXIS2_EXTERN axiom_element_t *AXIS2_CALL
-    axiom_element_create_str(const axutil_env_t *env,
-        axiom_node_t *parent,
-        axutil_string_t *localname,
-        axiom_namespace_t *ns,
-        axiom_node_t **node);
-
-    AXIS2_EXTERN axutil_string_t* AXIS2_CALL
-    axiom_element_get_localname_str(axiom_element_t *om_element,
-        const axutil_env_t *env);
-
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_element_set_localname_str(axiom_element_t *om_element,
-        const axutil_env_t *env,
-        axutil_string_t *localname);
-
+    axiom_element_create_str(
+        const axutil_env_t * env,
+        axiom_node_t * parent,
+        axutil_string_t * localname,
+        axiom_namespace_t * ns,
+        axiom_node_t ** node);
+
+    AXIS2_EXTERN axutil_string_t *AXIS2_CALL
+    axiom_element_get_localname_str(
+        axiom_element_t * om_element,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axiom_element_set_localname_str(
+        axiom_element_t * om_element,
+        const axutil_env_t * env,
+        axutil_string_t * localname);
 
     /** @} */
 
-
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIOM_ELEMENT_H */
+#endif                          /* AXIOM_ELEMENT_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -36,4 +37,4 @@
 }
 #endif
 
-#endif /* AXIOM_MIME_CONST_H */
+#endif                          /* AXIOM_MIME_CONST_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -39,48 +40,55 @@
 
     typedef struct axiom_mime_parser axiom_mime_parser_t;
 
-
     /** @defgroup axiom_mime_parser Flow
       * @ingroup axiom_mime_parser
       * @{
       */
 
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-    axiom_mime_parser_parse(axiom_mime_parser_t *mime_parser,
-        const axutil_env_t *env,
+    axiom_mime_parser_parse(
+        axiom_mime_parser_t * mime_parser,
+        const axutil_env_t * env,
         AXIS2_READ_INPUT_CALLBACK,
         void *callback_ctx,
-        axis2_char_t *mime_boundary);
+        axis2_char_t * mime_boundary);
 
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-    axiom_mime_parser_get_mime_parts_map(axiom_mime_parser_t *mime_parser,
-        const axutil_env_t *env);
+
+    axiom_mime_parser_get_mime_parts_map(
+        axiom_mime_parser_t * mime_parser,
+        const axutil_env_t * env);
 
     /** Deallocate memory
       * @return status code
       */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_mime_parser_free(axiom_mime_parser_t *mime_parser,
-        const axutil_env_t *env);
+    axiom_mime_parser_free(
+        axiom_mime_parser_t * mime_parser,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN int AXIS2_CALL
-    axiom_mime_parser_get_soap_body_len(axiom_mime_parser_t *mime_parser,
-       const axutil_env_t *env);
+    axiom_mime_parser_get_soap_body_len(
+        axiom_mime_parser_t * mime_parser,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axiom_mime_parser_get_soap_body_str(axiom_mime_parser_t *mime_parser,
-        const axutil_env_t *env);
+
+    axiom_mime_parser_get_soap_body_str(
+        axiom_mime_parser_t * mime_parser,
+        const axutil_env_t * env);
 
     /**
      * Creates mime_parser struct
      * @return pointer to newly created mime_parser
      */
-    AXIS2_EXTERN axiom_mime_parser_t * AXIS2_CALL
-    axiom_mime_parser_create(const axutil_env_t *env);
+    AXIS2_EXTERN axiom_mime_parser_t *AXIS2_CALL
+    axiom_mime_parser_create(
+        const axutil_env_t * env);
 
     /** @} */
 
 #ifdef __cplusplus
 }
 #endif
-#endif  /* AXIOM_MIME_PARSER_H */
+#endif                          /* AXIOM_MIME_PARSER_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_namespace.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_namespace.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_namespace.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_namespace.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -43,9 +44,10 @@
       * @return a pointer to newly created namespace struct
       */
     AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
-    axiom_namespace_create(const axutil_env_t *env,
+    axiom_namespace_create(
+        const axutil_env_t * env,
         const axis2_char_t * uri,
-        const axis2_char_t *prefix);
+        const axis2_char_t * prefix);
 
     /**
       * Frees given AXIOM namespcae
@@ -54,8 +56,9 @@
       * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
       */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_namespace_free(struct axiom_namespace *om_namespace,
-        const axutil_env_t *env);
+    axiom_namespace_free(
+        struct axiom_namespace *om_namespace,
+        const axutil_env_t * env);
 
     /**
       * Compares two namepsaces
@@ -65,8 +68,9 @@
       * @return AXIS2_TRUE if the two namespaces are equal,AXIS2_FALSE otherwise
       */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axiom_namespace_equals(struct axiom_namespace *om_namespace,
-        const axutil_env_t *env,
+    axiom_namespace_equals(
+        struct axiom_namespace *om_namespace,
+        const axutil_env_t * env,
         struct axiom_namespace *om_namespace1);
 
     /**
@@ -77,8 +81,9 @@
       * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
       */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_namespace_serialize(struct axiom_namespace *om_namespace,
-        const axutil_env_t *env,
+    axiom_namespace_serialize(
+        struct axiom_namespace *om_namespace,
+        const axutil_env_t * env,
         axiom_output_t * om_output);
 
     /**
@@ -87,8 +92,9 @@
       * @returns namespace uri , NULL on error
       */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axiom_namespace_get_uri(struct axiom_namespace *om_namespace,
-        const axutil_env_t *env);
+    axiom_namespace_get_uri(
+        struct axiom_namespace *om_namespace,
+        const axutil_env_t * env);
 
     /**
       * @param om_namespace pointer to om namespace struct
@@ -96,8 +102,9 @@
       * @return prefix , NULL on error
       */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axiom_namespace_get_prefix(struct axiom_namespace *om_namespace,
-        const axutil_env_t *env);
+    axiom_namespace_get_prefix(
+        struct axiom_namespace *om_namespace,
+        const axutil_env_t * env);
 
     /**
       * Clones an om_namespace struct
@@ -106,8 +113,9 @@
       * @returns axiom_namespace on success , NULL on error
       */
     AXIS2_EXTERN struct axiom_namespace *AXIS2_CALL
-    axiom_namespace_clone(struct axiom_namespace *om_namespace,
-        const axutil_env_t *env);
+                axiom_namespace_clone(
+                    struct axiom_namespace *om_namespace,
+                    const axutil_env_t * env);
 
     /**
       * to string , returns the string by combining namespace_uri,
@@ -118,30 +126,36 @@
       * should not be freed by user
       */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axiom_namespace_to_string(struct axiom_namespace *om_namespace,
-        const axutil_env_t *env);
+    axiom_namespace_to_string(
+        struct axiom_namespace *om_namespace,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_namespace_increment_ref(struct axiom_namespace *om_namespace,
-        const axutil_env_t *env);
+    axiom_namespace_increment_ref(
+        struct axiom_namespace *om_namespace,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
-    axiom_namespace_create_str(const axutil_env_t *env,
+    axiom_namespace_create_str(
+        const axutil_env_t * env,
         axutil_string_t * uri,
         axutil_string_t * prefix);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axiom_namespace_set_uri_str(axiom_namespace_t *om_namespace,
-        const axutil_env_t *env,
-        axutil_string_t *uri);
+    axiom_namespace_set_uri_str(
+        axiom_namespace_t * om_namespace,
+        const axutil_env_t * env,
+        axutil_string_t * uri);
 
     AXIS2_EXTERN axutil_string_t *AXIS2_CALL
-    axiom_namespace_get_uri_str(axiom_namespace_t *om_namespace,
-        const axutil_env_t *env);
+    axiom_namespace_get_uri_str(
+        axiom_namespace_t * om_namespace,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axutil_string_t *AXIS2_CALL
-    axiom_namespace_get_prefix_str(axiom_namespace_t *om_namespace,
-        const axutil_env_t *env);
+    axiom_namespace_get_prefix_str(
+        axiom_namespace_t * om_namespace,
+        const axutil_env_t * env);
 
     /** @} */
 

Modified: webservices/axis2/trunk/c/axiom/include/axiom_navigator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_navigator.h?rev=580283&r1=580282&r2=580283&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_navigator.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_navigator.h Fri Sep 28 03:12:14 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -43,8 +44,9 @@
      * or returns NULL on error
      */
     AXIS2_EXTERN axiom_navigator_t *AXIS2_CALL
-    axiom_navigator_create(const axutil_env_t *env,
-        axiom_node_t *node);
+    axiom_navigator_create(
+        const axutil_env_t * env,
+        axiom_node_t * node);
 
     /**
      * free function , free the axiom_navigator struct
@@ -53,8 +55,9 @@
      * @returns AXIS2_SUCCESS 
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axiom_navigator_free(axiom_navigator_t *om_navigator,
-        const axutil_env_t *env);
+    axiom_navigator_free(
+        axiom_navigator_t * om_navigator,
+        const axutil_env_t * env);
 
     /**
      * Returns the navigable status 
@@ -64,8 +67,9 @@
      * otherwise returns AXIS2_FALSE
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axiom_navigator_is_navigable(axiom_navigator_t *om_navigator,
-        const axutil_env_t *env);
+    axiom_navigator_is_navigable(
+        axiom_navigator_t * om_navigator,
+        const axutil_env_t * env);
 
     /**
      * Returns the build status of this node 
@@ -77,8 +81,9 @@
      * otherwise return AXIS2_FALSE
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axiom_navigator_is_completed(axiom_navigator_t *om_navigator,
-        const axutil_env_t *env);
+    axiom_navigator_is_completed(
+        axiom_navigator_t * om_navigator,
+        const axutil_env_t * env);
 
     /**
      * gets the next node 
@@ -90,9 +95,10 @@
      * pointer in the next , returns NULL on error or if there is no more nodes
      */
 
-    AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-    axiom_navigator_next(axiom_navigator_t *om_navigator,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+    axiom_navigator_next(
+        axiom_navigator_t * om_navigator,
+        const axutil_env_t * env);
 
     /**
      * method visited 
@@ -102,8 +108,9 @@
      * otherwise AXIS2_FALSE
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axiom_navigator_visited(axiom_navigator_t *om_navigator,
-        const axutil_env_t *env);
+    axiom_navigator_visited(
+        axiom_navigator_t * om_navigator,
+        const axutil_env_t * env);
 
     /** @} */
 
@@ -111,4 +118,4 @@
 }
 #endif
 
-#endif /* AXIOM_NAVIGATOR_H */
+#endif                          /* AXIOM_NAVIGATOR_H */



---------------------------------------------------------------------
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