axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r495494 [3/8] - in /webservices/axis2/trunk/c/axiom: include/ src/om/
Date Fri, 12 Jan 2007 06:11:44 GMT
Modified: webservices/axis2/trunk/c/axiom/include/axiom_processing_instruction.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_processing_instruction.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_processing_instruction.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_processing_instruction.h Thu Jan 11 22:11:41 2007
@@ -31,53 +31,32 @@
 {
 #endif
 
-    struct axiom_processing_instruction;
-    struct axiom_processing_instruction_ops;
-    
-    
-/**
- * @defgroup axiom_processing_instruction pocessing instruction
- * @ingroup axiom_om 
- * @{
- */
-
-
-  /** 
-    * @brief 
-    * Encapsulator struct for ops of axiom_processing_instruction
-    */
-    typedef struct axiom_processing_instruction_ops
-    {
-        int dummy; /* if this is missing, windows compiler goes crazy */
-    } axiom_processing_instruction_ops_t;
-
-  /** 
-    * \brief processing instruction
-    * Handles the XML processing instructions in AXIOM
-    */
-    typedef struct axiom_processing_instruction
-    {
-        /** ops struct  */
-        const axiom_processing_instruction_ops_t *ops;
-    } axiom_processing_instruction_t;
-
-  /**
-    * Creates a processing instruction 
-    * @param environment Environment. MUST NOT be NULL.
-    * @param parent parent of the element node to be created. Optional, can be NULL.
-    * @param target target of the processing instruction.cannot be NULL.
-    * @param value value of the processing instruction.cannot be NULL.
-    * @param node This is an out parameter. cannot be NULL.
-    *                       Returns the node corresponding to the comment created.
-    *                       Node type will be set to AXIOM_PROCESSING_INSTRUCTION
-    * @return a pointer tonewly created processing instruction struct 
-    */
-    AXIS2_EXTERN axiom_processing_instruction_t * AXIS2_CALL 
-        axiom_processing_instruction_create (const axis2_env_t *env,
-                                                axiom_node_t * parent,
-                                                const axis2_char_t * target,
-                                                const axis2_char_t * value,
-                                                axiom_node_t ** node);
+    /**
+     * @defgroup axiom_processing_instruction pocessing instruction
+     * @ingroup axiom_om
+     * @{
+     */
+
+
+    typedef struct axiom_processing_instruction axiom_processing_instruction_t;
+
+    /**
+      * Creates a processing instruction 
+      * @param environment Environment. MUST NOT be NULL.
+      * @param parent parent of the element node to be created. Optional, can be NULL.
+      * @param target target of the processing instruction.cannot be NULL.
+      * @param value value of the processing instruction.cannot be NULL.
+      * @param node This is an out parameter. cannot be NULL.
+      *                       Returns the node corresponding to the comment created.
+      *                       Node type will be set to AXIOM_PROCESSING_INSTRUCTION
+      * @return a pointer tonewly created processing instruction struct 
+      */
+    AXIS2_EXTERN axiom_processing_instruction_t * AXIS2_CALL
+    axiom_processing_instruction_create(const axis2_env_t *env,
+            axiom_node_t * parent,
+            const axis2_char_t * target,
+            const axis2_char_t * value,
+            axiom_node_t ** node);
 
     /**
      * Frees an instance of axiom_processing_instruction
@@ -85,20 +64,20 @@
      * @param env Environment. MUST NOT be NULL, .
      * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axiom_processing_instruction_free(struct axiom_processing_instruction * om_pi,
-          const axis2_env_t *env);
+            const axis2_env_t *env);
     /**
      * set processing instruction data
      *@param om_pi
-     *@param env        
+     *@param env    
      *@param value 
      */
-     
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axiom_processing_instruction_set_value(struct axiom_processing_instruction *om_pi,
-               const axis2_env_t *env,
-               const axis2_char_t* value);
+            const axis2_env_t *env,
+            const axis2_char_t* value);
     /**
      * set processing instruction target
      *@param om_pi processing_instruction struct
@@ -107,30 +86,30 @@
      *@return status of the op AXIS2_SUCCESS on success,
      *                      AXIS2_FAILURE on error.
      */
-    
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axiom_processing_instruction_set_target(struct axiom_processing_instruction *om_pi,
-                const axis2_env_t *env,
-                const axis2_char_t* target);
+            const axis2_env_t *env,
+            const axis2_char_t* target);
     /**
      * get PI target
      * @param om_pi processing_instruction struct
      * @param env environment 
      * @return target text , NULL on error or if target is null
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL 
+    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
     axiom_processing_instruction_get_target(struct axiom_processing_instruction *om_pi,
-                const axis2_env_t *env);
+            const axis2_env_t *env);
     /**
      *  get data part of processing_instruction
      * @param om_pi processing instruction 
      * @param env environment , MUST NOT be NULL.
      * @return data text , NULL if there is no data,
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL 
+    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
     axiom_processing_instruction_get_value(struct axiom_processing_instruction *om_pi,
-               const axis2_env_t *env);                                                                                                                           
-                       
+            const axis2_env_t *env);
+
     /**
      *  serialize function
      * @param om_pi processing_instruction struct
@@ -139,31 +118,31 @@
      * @return status of the op, AXIS2_SUCCESS on success,
      *         AXIS2_FAILURE on error 
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axiom_processing_instruction_serialize(struct axiom_processing_instruction *om_pi,
-              const axis2_env_t *env, 
-              axiom_output_t *om_output);
+            const axis2_env_t *env,
+            axiom_output_t *om_output);
 
-/** frees given processing instruction */
+    /** frees given processing instruction */
 #define AXIOM_PROCESSING_INSTRUCTION_FREE(pi, env) \
         axiom_processing_instruction_free(pi, env)
-/** set data text of processing_instruction */        
+    /** set data text of processing_instruction */
 #define AXIOM_PROCESSING_INSTRUCION_SET_VALUE(pi, env, value) \
         axiom_processing_instruction_set_value(pi,env,value)
-/** get data text of processing_instruction */        
+    /** get data text of processing_instruction */
 #define AXIOM_PROCESSING_INSTRUCTION_GET_VALUE(pi, env) \
-        axiom_processing_instruction_get_value(pi, env)        
-/** set target of processing instruction */        
+        axiom_processing_instruction_get_value(pi, env)
+    /** set target of processing instruction */
 #define AXIOM_PROCESSING_INSTRUCION_SET_TARGET(pi, env, value) \
         axiom_processing_instruction_set_target(pi, env, value)
-/** get target text */        
+    /** get target text */
 #define AXIOM_PROCESSING_INSTRUCTION_GET_TARGET(pi, env) \
         axiom_processing_instruction_get_target(pi, env)
-/** serialize */
+    /** serialize */
 #define AXIOM_PROCESSING_INSTRUCTION_SERIALIZE(pi, env, om_output) \
         axiom_processing_instruction_serialize(pi, env, om_output)
 
-/** @} */
+    /** @} */
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap.h Thu Jan 11 22:11:41 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 #ifndef AXIOM_SOAP_H
 #define AXIOM_SOAP_H
 
@@ -35,19 +35,19 @@
 #include <axiom_soap_header.h>
 #include <axiom_soap_message.h>
 
- /**
- * @file axiom_soap.h
- * @brief includes all SOAP related headers
- */
+/**
+* @file axiom_soap.h
+* @brief includes all SOAP related headers
+*/
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }
-#endif 
+#endif
 
 #endif /* AXIOM_SOAP_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h Thu Jan 11 22:11:41 2007
@@ -14,21 +14,21 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 #ifndef AXIOM_SOAP_BODY_H
 #define AXIOM_SOAP_BODY_H
- 
+
 /**
  * @file axiom_soap_body.h
  * @brief axiom_soap_body struct
  */
- 
+
 #include <axis2_env.h>
 #include <axiom_node.h>
 #include <axiom_element.h>
 #include <axiom_namespace.h>
 #include <axiom_soap_fault.h>
-#include <axiom_soap_envelope.h>    
+#include <axiom_soap_envelope.h>
 
 
 #ifdef __cplusplus
@@ -37,30 +37,30 @@
 #endif
 
 
-typedef struct axiom_soap_body      axiom_soap_body_t;
-typedef struct axiom_soap_body_ops  axiom_soap_body_ops_t;
-struct axiom_soap_builder;
-    
-/**
- * @defgroup axiom_soap_body soap body
- * @ingroup axiom_soap
- * @{
- */
-
-/**
- * a struct that represents the contents of the SOAP body
- * element in a SOAP message. SOAP body element consists of XML data
- * that affects the way the application-specific content is processed.
- * soap_body_struct contains soap_header and 
- * which have the content for the SOAP body.
- * this also contains axiom_soap_fault_t struct , which carries status and/or
- * error information.
- */
-
-/**
- *   \brief soap_body operations struct
- *   ops Encapsulator struct of axiom_soap body
- */
+    typedef struct axiom_soap_body      axiom_soap_body_t;
+    typedef struct axiom_soap_body_ops  axiom_soap_body_ops_t;
+    struct axiom_soap_builder;
+
+    /**
+     * @defgroup axiom_soap_body soap body
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     * a struct that represents the contents of the SOAP body
+     * element in a SOAP message. SOAP body element consists of XML data
+     * that affects the way the application-specific content is processed.
+     * soap_body_struct contains soap_header and
+     * which have the content for the SOAP body.
+     * this also contains axiom_soap_fault_t struct , which carries status and/or
+     * error information.
+     */
+
+    /**
+     *   \brief soap_body operations struct
+     *   ops Encapsulator struct of axiom_soap body
+     */
     struct axiom_soap_body_ops
     {
         /**
@@ -70,10 +70,10 @@
          * @param env must not be null
          * @return status code AXIS2_SUCCESS 
          */
-        axis2_status_t (AXIS2_CALL *
-      free)(axiom_soap_body_t *body,
-              const axis2_env_t *env);
-      
+        axis2_status_t(AXIS2_CALL *
+                free)(axiom_soap_body_t *body,
+                        const axis2_env_t *env);
+
         /**
          * Indicates whether a soap fault is available with this 
          * soap body 
@@ -81,10 +81,10 @@
          * @param env environment must not be null
          * @return AXIS2_TRUE if fault is available, AXIS2_FALSE otherwise
          */
-        axis2_bool_t (AXIS2_CALL *
-      has_fault)(axiom_soap_body_t *body,
-                   const axis2_env_t *env);
-               
+        axis2_bool_t(AXIS2_CALL *
+                has_fault)(axiom_soap_body_t *body,
+                        const axis2_env_t *env);
+
         /**
          * returns the soap fault in this soap_body 
          * IF a soap_builder is associated with the soap_body
@@ -93,91 +93,91 @@
          * @param env environment must not be null
          * @return axiom_soap_fault_t if available, NULL otherwise
         */
-        axiom_soap_fault_t* (AXIS2_CALL *
-      get_fault)(axiom_soap_body_t *body,
-                   const axis2_env_t *env);
-               
+        axiom_soap_fault_t*(AXIS2_CALL *
+                get_fault)(axiom_soap_body_t *body,
+                        const axis2_env_t *env);
+
         /**
          * get the underlying om_node 
          * @param body soap_body
          * @param env environment must not be null
          * @returns axiom_node_t
          */
-        axiom_node_t* (AXIS2_CALL *
-      get_base_node)(axiom_soap_body_t *body,
-                       const axis2_env_t *env);
-                  
+        axiom_node_t*(AXIS2_CALL *
+                get_base_node)(axiom_soap_body_t *body,
+                        const axis2_env_t *env);
+
         /**
          *  return the soap version 
          * @param body soap_body
          * @param env environment must not be null
          * @return one of AXIOM_SOAP11 or AXIOM_SOAP12 
          */
-        int (AXIS2_CALL *
-      get_soap_version)(axiom_soap_body_t *body,
-                          const axis2_env_t *env);
-                                                      
-                                                     
+        int(AXIS2_CALL *
+                get_soap_version)(axiom_soap_body_t *body,
+                        const axis2_env_t *env);
+
+
         /**
          * build the soap body completely . return the status code,
-       * @return AXIS2_SUCCESS on success and AXIS2_FAILURE on error
-         */                                                 
-        axis2_status_t (AXIS2_CALL *
-      build)(axiom_soap_body_t *body, 
-               const axis2_env_t *env);                                                 
-
-       /** add an om node as the child to this soap_body 
-        * the child is added to as the first child 
-        * @param body pointer to soap_body struct
-        * @param env axis2_environment struct MUST not be NULL
-        * @returns status code , AXIS2_SUCCESS on success , AXIS2_ERROR
-        * otherwise
-        */
+        * @return AXIS2_SUCCESS on success and AXIS2_FAILURE on error
+         */
+        axis2_status_t(AXIS2_CALL *
+                build)(axiom_soap_body_t *body,
+                        const axis2_env_t *env);
+
+        /** add an om node as the child to this soap_body
+         * the child is added to as the first child 
+         * @param body pointer to soap_body struct
+         * @param env axis2_environment struct MUST not be NULL
+         * @returns status code , AXIS2_SUCCESS on success , AXIS2_ERROR
+         * otherwise
+         */
+
+        axis2_status_t(AXIS2_CALL *
+                add_child)(axiom_soap_body_t *body,
+                        const axis2_env_t *env,
+                        axiom_node_t *child);
+
+
+    };
 
-        axis2_status_t (AXIS2_CALL *
-        add_child)(axiom_soap_body_t *body,
-                   const axis2_env_t *env,
-                   axiom_node_t *child);
-                   
-
-};                                                      
-
-  /**
-    * \brief soap_body struct
-    * represent a soap_body
-    */
+    /**
+      * \brief soap_body struct
+      * represent a soap_body
+      */
     struct axiom_soap_body
     {
         /** operation of axiom_soap_body struct */
         axiom_soap_body_ops_t *ops;
-       
+
     };
 
-  /**
-    * creates a soap body struct 
-    * @param env Environment. MUST NOT be NULL
-    */
-   
-AXIS2_EXTERN axiom_soap_body_t * AXIS2_CALL
-axiom_soap_body_create_with_parent(const axis2_env_t *env, 
-                                   struct axiom_soap_envelope *envelope);
-    
-/******************** Macros **************************************************/
-    
-/** free soap_body */
+    /**
+      * creates a soap body struct 
+      * @param env Environment. MUST NOT be NULL
+      */
+
+    AXIS2_EXTERN axiom_soap_body_t * AXIS2_CALL
+    axiom_soap_body_create_with_parent(const axis2_env_t *env,
+            struct axiom_soap_envelope *envelope);
+
+    /******************** Macros **************************************************/
+
+    /** free soap_body */
 #define AXIOM_SOAP_BODY_FREE( body, env) \
         ((body)->ops->free( body, env))
-        
-/** indecate whether soap_body has a fault or not*/        
+
+    /** indecate whether soap_body has a fault or not*/
 #define AXIOM_SOAP_BODY_HAS_FAULT( body, env) \
         ((body)->ops->has_fault( body, env))
-        
+
 #define AXIOM_SOAP_BODY_GET_FAULT( body, env) \
         ((body)->ops->get_fault( body, env))
-        
+
 #define AXIOM_SOAP_BODY_GET_BASE_NODE( body, env) \
         ((body)->ops->get_base_node( body, env))
-                                   
+
 #define AXIOM_SOAP_BODY_GET_SOAP_VERSION( body, env) \
         ((body)->ops->get_soap_version( body, env))
 
@@ -186,7 +186,7 @@
 
 #define AXIOM_SOAP_BODY_ADD_CHILD( body, env, child) \
         ((body)->ops->add_child( body, env, child));
-/** @} */
+    /** @} */
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h Thu Jan 11 22:11:41 2007
@@ -14,16 +14,16 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_BUILDER_H
- #define AXIOM_SOAP_BUILDER_H
- 
- #include <axiom_stax_builder.h>
- #include <axiom_soap_envelope.h>
- 
+
+#ifndef AXIOM_SOAP_BUILDER_H
+#define AXIOM_SOAP_BUILDER_H
+
+#include <axiom_stax_builder.h>
+#include <axiom_soap_envelope.h>
+
 /**
  * @file axiom_soap_builder.h
- * @brief axiom_soap_builder struct 
+ * @brief axiom_soap_builder struct
  */
 
 #ifdef __cplusplus
@@ -32,134 +32,134 @@
 #endif
 
 
-typedef struct axiom_soap_builder axiom_soap_builder_t;
-typedef struct axiom_soap_builder_ops  axiom_soap_builder_ops_t;
-    
-/**
- * @defgroup axiom_soap_builder soap builder
- * @ingroup axiom_soap
- * @{
- */
+    typedef struct axiom_soap_builder axiom_soap_builder_t;
+    typedef struct axiom_soap_builder_ops  axiom_soap_builder_ops_t;
 
-/**
- *   \brief soap_model builder operations struct
- *   ops Encapsulator struct of axiom_soap_operations 
- */
+    /**
+     * @defgroup axiom_soap_builder soap builder
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     *   \brief soap_model builder operations struct
+     *   ops Encapsulator struct of axiom_soap_operations
+     */
+
+    struct axiom_soap_builder_ops
+    {
+        axis2_status_t(AXIS2_CALL *free)(axiom_soap_builder_t *builder,
+                const axis2_env_t *env);
+
+        axiom_soap_envelope_t*(AXIS2_CALL *get_soap_envelope)
+        (axiom_soap_builder_t *builder,
+                const axis2_env_t *env);
+
+        axiom_document_t*(AXIS2_CALL *get_document)
+        (axiom_soap_builder_t *builder,
+                const axis2_env_t *env);
+
+        axis2_status_t(AXIS2_CALL *next)(axiom_soap_builder_t *builder,
+                const axis2_env_t *env);
+
+
+        axiom_node_t*(AXIS2_CALL *get_document_element)
+        (axiom_soap_builder_t *builder,
+                const axis2_env_t *env);
+
+        axis2_status_t(AXIS2_CALL *set_bool_processing_mandatory_fault_elements)
+        (axiom_soap_builder_t *builder,
+                const axis2_env_t *env,
+                axis2_bool_t value);
+
+        axis2_status_t(AXIS2_CALL *set_processing_detail_elements)
+        (axiom_soap_builder_t *builder,
+                const axis2_env_t *env,
+                axis2_bool_t value);
+
+        axis2_bool_t(AXIS2_CALL *is_processing_detail_elements)
+        (axiom_soap_builder_t *builder,
+                const axis2_env_t *env);
+
+
+        int(AXIS2_CALL *get_soap_version)(axiom_soap_builder_t *builder,
+                const axis2_env_t *env);
+
+        axis2_status_t(AXIS2_CALL *process_namespace_data)
+        (axiom_soap_builder_t *builder,
+                const axis2_env_t *env,
+                axiom_node_t *om_node,
+                axis2_bool_t is_soap_element);
+        axis2_status_t(AXIS2_CALL *
+                set_mime_body_parts)
+        (axiom_soap_builder_t *builder,
+                const axis2_env_t *env,
+                axis2_hash_t *map);
+    };
+
+
+    /**
+     * \brief soap_body struct
+     * represent a soap_body
+     */
+
+    struct axiom_soap_builder
+    {
+        /** operation of axiom_soap_body struct */
+        axiom_soap_builder_ops_t *ops;
+    };
+
+    /**
+     * creates a axiom_soap_builder struct
+     * @param env Environment. MUST NOT be NULL
+     */
+
+    AXIS2_EXTERN axiom_soap_builder_t * AXIS2_CALL
+    axiom_soap_builder_create(const axis2_env_t *env,
+            axiom_stax_builder_t *builder,
+            const axis2_char_t *soap_version);
 
-   struct axiom_soap_builder_ops
-{
-        axis2_status_t (AXIS2_CALL *free)(axiom_soap_builder_t *builder,
-                                          const axis2_env_t *env);
+    /******************** Macros **************************************************/
 
-        axiom_soap_envelope_t* (AXIS2_CALL *get_soap_envelope)
-                                         (axiom_soap_builder_t *builder,
-                                          const axis2_env_t *env);
-                                          
-        axiom_document_t* (AXIS2_CALL *get_document)
-                                         (axiom_soap_builder_t *builder,
-                                          const axis2_env_t *env);
-                                          
-        axis2_status_t (AXIS2_CALL *next)(axiom_soap_builder_t *builder,
-                                const axis2_env_t *env);
-                                
-                                                     
-        axiom_node_t* (AXIS2_CALL *get_document_element)
-                                            (axiom_soap_builder_t *builder,
-                                             const axis2_env_t *env); 
-                                             
-        axis2_status_t (AXIS2_CALL *set_bool_processing_mandatory_fault_elements)
-                                            (axiom_soap_builder_t *builder,
-                                             const axis2_env_t *env,
-                                             axis2_bool_t value);
-        
-        axis2_status_t (AXIS2_CALL *set_processing_detail_elements)
-                                    (axiom_soap_builder_t *builder,
-                                     const axis2_env_t *env,
-                                     axis2_bool_t value);
-                                     
-        axis2_bool_t (AXIS2_CALL *is_processing_detail_elements)
-                                    (axiom_soap_builder_t *builder, 
-                                     const axis2_env_t *env);
-                                     
-                                     
-        int (AXIS2_CALL *get_soap_version)(axiom_soap_builder_t *builder,
-                                           const axis2_env_t *env);
-                                           
-        axis2_status_t (AXIS2_CALL *process_namespace_data)
-                                          (axiom_soap_builder_t *builder,
-                                           const axis2_env_t *env,
-                                           axiom_node_t *om_node,
-                                           axis2_bool_t is_soap_element);
-        axis2_status_t (AXIS2_CALL *
-        set_mime_body_parts)
-                                    (axiom_soap_builder_t *builder, 
-                                     const axis2_env_t *env,
-                                     axis2_hash_t *map); 
-};
-                                                      
-
-/**
- * \brief soap_body struct
- * represent a soap_body
- */
- 
-struct axiom_soap_builder
-{
-    /** operation of axiom_soap_body struct */
-    axiom_soap_builder_ops_t *ops;
-};
-
-/**
- * creates a axiom_soap_builder struct
- * @param env Environment. MUST NOT be NULL
- */
-
-AXIS2_EXTERN axiom_soap_builder_t * AXIS2_CALL
-axiom_soap_builder_create(const axis2_env_t *env,
-                                axiom_stax_builder_t *builder,
-                                const axis2_char_t *soap_version);
-
-/******************** Macros **************************************************/
-    
 #define AXIOM_SOAP_BUILDER_FREE(builder, env) \
         ((builder)->ops->free(builder, env))
 
 #define AXIOM_SOAP_BUILDER_GET_SOAP_ENVELOPE(builder, env) \
         ((builder)->ops->get_soap_envelope(builder, env))
-        
+
 #define AXIOM_SOAP_BUILDER_GET_DOCUMENT_ELEMENT(builder, env) \
         ((builder)->ops->get_document_element(builder, env))
-        
+
 #define AXIOM_SOAP_BUILDER_NEXT(builder, env) \
         ((builder)->ops->next(builder, env))
-        
+
 #define AXIOM_SOAP_BUILDER_GET_DOCUMENT(builder, env) \
         ((builder)->ops->get_document(builder, env))
-        
+
 #define AXIOM_SOAP_BUILDER_NEXT(builder, env) \
-        ((builder)->ops->next(builder, env)) 
-        
+        ((builder)->ops->next(builder, env))
+
 #define AXIOM_SOAP_BUILDER_SET_BOOL_PROCESSING_MANDATORY_FAULT_ELEMENTS(builder, env, value) \
         ((builder)->ops->set_bool_processing_mandatory_fault_elements(builder, env, value))
- 
+
 #define AXIOM_SOAP_BUILDER_SET_PROCESSING_DETAIL_ELEMENTS(builder, env, value) \
         ((builder)->ops->set_processing_detail_elements(builder, env, value))
-        
+
 #define AXIOM_SOAP_BUILDER_IS_PROCESSING_DETAIL_ELEMENTS(builder, env) \
-        ((builder)->ops->is_processing_detail_elements(builder, env))                         
+        ((builder)->ops->is_processing_detail_elements(builder, env))
 
 
 #define AXIOM_SOAP_BUILDER_GET_SOAP_VERSION(builder, env) \
         ((builder)->ops->get_soap_version(builder, env))
-        
+
 #define AXIOM_SOAP_BUILDER_PROCESS_NAMESPACE_DATA(builder, env, om_node, is_soap_element) \
         ((builder)->ops->process_namespace_data(builder, env, om_node, is_soap_element))
-        
+
 #define AXIOM_SOAP_BUILDER_SET_MIME_BODY_PARTS(builder, env, map) \
         ((builder)->ops->set_mime_body_parts(builder, env, map))
-        
-/** @} */
+
+    /** @} */
 #ifdef __cplusplus
 }
-#endif 
+#endif
 #endif /* AXIOM_SOAP_BUILDER_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h Thu Jan 11 22:11:41 2007
@@ -14,37 +14,37 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_CONST_H
- #define AXIOM_SOAP_CONST_H
- 
- /**
- * @file axiom_soap.h
- * @brief defines SOAP constants
- */
+
+#ifndef AXIOM_SOAP_CONST_H
+#define AXIOM_SOAP_CONST_H
+
+/**
+* @file axiom_soap.h
+* @brief defines SOAP constants
+*/
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-/**
- * @defgroup axiom_soap SOAP
- * @ingroup axiom
- * @{
- * @}
- */
-typedef enum soap_version
-{
-    AXIOM_SOAP_VERSION_NOT_SET = 0,
-    
-    AXIOM_SOAP11,
-    
-    AXIOM_SOAP12    
-}axiom_soap_version;
+    /**
+     * @defgroup axiom_soap SOAP
+     * @ingroup axiom
+     * @{
+     * @}
+     */
+    typedef enum soap_version
+    {
+        AXIOM_SOAP_VERSION_NOT_SET = 0,
+
+        AXIOM_SOAP11,
 
+        AXIOM_SOAP12
+    }axiom_soap_version;
 
 
-/** soap 11 constants */
+
+    /** soap 11 constants */
 
 #define AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI "http://schemas.xmlsoap.org/soap/envelope/"
 
@@ -67,7 +67,7 @@
 #define AXIOM_SOAP11_SOAP_ACTOR_NEXT "http://schemas.xmlsoap.org/soap/actor/next"
 
 
-/** soap12 constants */
+    /** soap12 constants */
 
 #define AXIOM_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI "http://www.w3.org/2003/05/soap-envelope"
 
@@ -91,7 +91,7 @@
 
 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_RECEIVER "Receiver"
 
-/** SOAP Fault */
+    /** SOAP Fault */
 
 #define AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME "Reason"
 
@@ -133,7 +133,7 @@
 
 #define AXIOM_SOAP_BODY_FAULT_LOCAL_NAME "Fault"
 
-/** attribute must understand */
+    /** attribute must understand */
 
 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND "mustUnderstand"
 
@@ -163,15 +163,15 @@
 
 #define AXIOM_SOAP_FAULT_CODE_RECEIVER ""
 
-/* MTOM related  */
+    /* MTOM related  */
 
 #define AXIS2_XOP_NAMESPACE_URI "http://www.w3.org/2004/08/xop/include"
 
 #define AXIS2_XOP_INCLUDE "Include"
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }
-#endif 
+#endif
 
 #endif /* AXIOM_SOAP_CONSTANTS_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h Thu Jan 11 22:11:41 2007
@@ -14,10 +14,10 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_ENVELOPE_H
- #define AXIOM_SOAP_ENVELOPE_H
- 
+
+#ifndef AXIOM_SOAP_ENVELOPE_H
+#define AXIOM_SOAP_ENVELOPE_H
+
 /**
  * @file axiom_soap_envelope.h
  * @brief axiom_soap_envelope struct
@@ -36,22 +36,22 @@
 
     typedef struct axiom_soap_envelope        axiom_soap_envelope_t;
     typedef struct axiom_soap_envelope_ops    axiom_soap_envelope_ops_t;
-    
+
     struct axiom_soap_body;
     struct axiom_soap_header;
     struct axiom_soap_header_block;
     struct axiom_soap_builder;
-    
-/**
- * @defgroup axiom_soap_envelope soap envelope
- * @ingroup axiom_soap
- * @{
- */
 
-/**
- *   \brief soap_envelope operations struct
- *   ops Encapsulator struct of axiom_soap body
- */
+    /**
+     * @defgroup axiom_soap_envelope soap envelope
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     *   \brief soap_envelope operations struct
+     *   ops Encapsulator struct of axiom_soap body
+     */
     struct axiom_soap_envelope_ops
     {
         /**
@@ -60,18 +60,18 @@
          * @param env environment must not be null
          * @return soap header null it no header is present
          */
-        struct axiom_soap_header* (AXIS2_CALL *
-      get_header)(axiom_soap_envelope_t *envelope,
-                    const axis2_env_t *env);
+        struct axiom_soap_header*(AXIS2_CALL *
+                            get_header)(axiom_soap_envelope_t *envelope,
+                                    const axis2_env_t *env);
         /**
          * Returns the soap body associated with this soap envelope
          * @param envelope soap_envelope
          * @param env environment
          * @return soap_body
          */
-        struct axiom_soap_body* (AXIS2_CALL *
-      get_body)(axiom_soap_envelope_t *envelope,
-                  const axis2_env_t *env);
+        struct axiom_soap_body*(AXIS2_CALL *
+                            get_body)(axiom_soap_envelope_t *envelope,
+                                    const axis2_env_t *env);
         /**
          * serialize function , serialize the soap envelope 
          * IF the soap version it set to soap11 the soap fault part is converted 
@@ -83,12 +83,12 @@
          * @return status code , AXIS2_SUCCESS if success ,
          *                 AXIS2_FAILURE otherwise
          */
-        axis2_status_t (AXIS2_CALL *
-      serialize)(axiom_soap_envelope_t *envelope,
-                   const axis2_env_t *env,
-                   axiom_output_t *om_output, 
-                   axis2_bool_t cache);
-      
+        axis2_status_t(AXIS2_CALL *
+                serialize)(axiom_soap_envelope_t *envelope,
+                        const axis2_env_t *env,
+                        axiom_output_t *om_output,
+                        axis2_bool_t cache);
+
         /**
          * Free function, This function deallocate all the resources associated 
          * with the soap_envelope
@@ -97,94 +97,94 @@
          * @param envelope soap_envelope
          * @param env environment
          * @return status code AXIS2_SUCCESS on success , AXIS2_FAILURE otherwise
-         */         
-        axis2_status_t (AXIS2_CALL *
-      free_fn)(axiom_soap_envelope_t *envelope,
-              const axis2_env_t *env);
-           
+         */
+        axis2_status_t(AXIS2_CALL *
+                free_fn)(axiom_soap_envelope_t *envelope,
+                        const axis2_env_t *env);
+
         /**
          * returns the om_node associated with this soap envelope
          * @param envelope soap_envelope
          * @param env environment
          * @return axiom_node_t pointer
          */
-        axiom_node_t* (AXIS2_CALL *
-      get_base_node)(axiom_soap_envelope_t *envelope,
-                       const axis2_env_t *env);
+        axiom_node_t*(AXIS2_CALL *
+                get_base_node)(axiom_soap_envelope_t *envelope,
+                        const axis2_env_t *env);
+
 
-           
         /** returns the soap version of this soap envelope
          * @param envelope soap_envelope
          * @param env environment must not be null
          * @return soap_version AXIOM_SOAP12 or AXIOM_SOAP11
-         */         
-        int (AXIS2_CALL *
-      get_soap_version)(axiom_soap_envelope_t *envelope,
-                          const axis2_env_t *env);
-                   
-        /** return the soap envelope namespace 
+         */
+        int(AXIS2_CALL *
+                get_soap_version)(axiom_soap_envelope_t *envelope,
+                        const axis2_env_t *env);
+
+        /** return the soap envelope namespace
          * @param envelope 
          * @param env 
          * @return axiom_namespace_t 
-         */                                                
-        axiom_namespace_t* (AXIS2_CALL *
-      get_namespace)(axiom_soap_envelope_t *envelope,
-                       const axis2_env_t *env);
-
-        axis2_status_t (AXIS2_CALL *
-        set_soap_version)(axiom_soap_envelope_t *envelope,
-                          const axis2_env_t *env,
-                          int soap_version);
-     
+         */
+        axiom_namespace_t*(AXIS2_CALL *
+                get_namespace)(axiom_soap_envelope_t *envelope,
+                        const axis2_env_t *env);
+
+        axis2_status_t(AXIS2_CALL *
+                set_soap_version)(axiom_soap_envelope_t *envelope,
+                        const axis2_env_t *env,
+                        int soap_version);
+
     };
 
-/**
- * \brief soap_envelope struct
- * represent a soap_envelope
- */
-struct axiom_soap_envelope
-{
-  /** operation of axiom_soap_envelope struct */
-  axiom_soap_envelope_ops_t *ops;
-};
-
- /**
-  * @param env Environment. MUST NOT be NULL
-  * create a soap_envelope with the given namespace prefix and uri
-  * as the prefix and uri, The uri of ns should be valid soap uri
-  */
-AXIS2_EXTERN axiom_soap_envelope_t* AXIS2_CALL
-axiom_soap_envelope_create(const axis2_env_t *env, 
-                     axiom_namespace_t *ns);
-
- /**
-  * @param env Environment. MUST NOT be NULL
-  * create a soap_envelope with the given namespace prefix and uri is selected 
-  * according to soap_version, soap version should be one of AXIOM_SOAP11
-  * or AXIOM_SOAP12
-  * @param prefix soap envelope prefix
-  * if prefix is NULL default prefix is used
-  * @returns a pointer to soap envelope struct
-  * 
-  */                     
-AXIS2_EXTERN axiom_soap_envelope_t* AXIS2_CALL
-axiom_soap_envelope_create_with_soap_version_prefix(const axis2_env_t *env,
-                                                    int soap_version,
-                                                    const axis2_char_t *prefix);                     
-
-AXIS2_EXTERN axiom_soap_envelope_t * AXIS2_CALL
-axiom_soap_envelope_create_default_soap_envelope(const axis2_env_t *env,
-                                                 int soap_version);
- 
-AXIS2_EXTERN axiom_soap_envelope_t * AXIS2_CALL
-axiom_soap_envelope_create_default_soap_fault_envelope(const axis2_env_t *env,
-    const axis2_char_t *code_value, 
-    const axis2_char_t *reason_text, 
-    const int soap_version,
-    axis2_array_list_t *sub_codes,
-    axiom_node_t *detail_node);
+    /**
+     * \brief soap_envelope struct
+     * represent a soap_envelope
+     */
+    struct axiom_soap_envelope
+    {
+        /** operation of axiom_soap_envelope struct */
+        axiom_soap_envelope_ops_t *ops;
+    };
+
+    /**
+     * @param env Environment. MUST NOT be NULL
+     * create a soap_envelope with the given namespace prefix and uri
+     * as the prefix and uri, The uri of ns should be valid soap uri
+     */
+    AXIS2_EXTERN axiom_soap_envelope_t* AXIS2_CALL
+    axiom_soap_envelope_create(const axis2_env_t *env,
+            axiom_namespace_t *ns);
+
+    /**
+     * @param env Environment. MUST NOT be NULL
+     * create a soap_envelope with the given namespace prefix and uri is selected 
+     * according to soap_version, soap version should be one of AXIOM_SOAP11
+     * or AXIOM_SOAP12
+     * @param prefix soap envelope prefix
+     * if prefix is NULL default prefix is used
+     * @returns a pointer to soap envelope struct
+     * 
+     */
+    AXIS2_EXTERN axiom_soap_envelope_t* AXIS2_CALL
+    axiom_soap_envelope_create_with_soap_version_prefix(const axis2_env_t *env,
+            int soap_version,
+            const axis2_char_t *prefix);
+
+    AXIS2_EXTERN axiom_soap_envelope_t * AXIS2_CALL
+    axiom_soap_envelope_create_default_soap_envelope(const axis2_env_t *env,
+            int soap_version);
+
+    AXIS2_EXTERN axiom_soap_envelope_t * AXIS2_CALL
+    axiom_soap_envelope_create_default_soap_fault_envelope(const axis2_env_t *env,
+            const axis2_char_t *code_value,
+            const axis2_char_t *reason_text,
+            const int soap_version,
+            axis2_array_list_t *sub_codes,
+            axiom_node_t *detail_node);
 
-/******************** Macros **************************************************/
+    /******************** Macros **************************************************/
 
 #define AXIOM_SOAP_ENVELOPE_GET_HEADER(envelope, env) \
         ((envelope)->ops->get_header(envelope, env))
@@ -194,10 +194,10 @@
 
 #define AXIOM_SOAP_ENVELOPE_SERIALIZE(envelope, env, om_output, cache) \
         ((envelope)->ops->serialize(envelope, env, om_output, cache))
-        
+
 #define AXIOM_SOAP_ENVELOPE_FREE(envelope, env) \
         ((envelope)->ops->free_fn(envelope, env))
-        
+
 #define AXIOM_SOAP_ENVELOPE_GET_BASE_NODE(envelope, env) \
         ((envelope)->ops->get_base_node(envelope, env))
 
@@ -209,9 +209,9 @@
 
 #define AXIOM_SOAP_ENVELOPE_SET_SOAP_VERSION(envelope, env, soap_version) \
         ((envelope)->ops->set_soap_version(envelope, env, soap_version))
-        
 
-/** @} */
+
+    /** @} */
 
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h Thu Jan 11 22:11:41 2007
@@ -14,16 +14,16 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_FAULT_H
- #define AXIOM_SOAP_FAULT_H
- 
- 
-   /**
-    * @file axiom_soap_fault.h
-    * @brief axiom_soap_fault struct
-    */
-#include <axiom_soap_const.h> 
+
+#ifndef AXIOM_SOAP_FAULT_H
+#define AXIOM_SOAP_FAULT_H
+
+
+/**
+ * @file axiom_soap_fault.h
+ * @brief axiom_soap_fault struct
+ */
+#include <axiom_soap_const.h>
 #include <axis2_env.h>
 #include <axiom_node.h>
 #include <axiom_element.h>
@@ -34,181 +34,181 @@
 {
 #endif
 
-typedef struct axiom_soap_fault axiom_soap_fault_t;
-typedef struct axiom_soap_fault_ops axiom_soap_fault_ops_t;
-    
-struct axiom_soap_fault_reason;
-struct axiom_soap_fault_detail;
-struct axiom_soap_fault_sub_code;
-struct axiom_soap_fault_code;
-struct axiom_soap_fault_node;
-struct axiom_soap_fault_role;
-struct axiom_soap_fault_text;
-struct axiom_soap_fault_value;
-struct axiom_soap_body;
-struct axiom_soap_builder;
-    
-/**
- * @defgroup axiom_soap_fault soap fault
- * @ingroup axiom_soap
- * @{
- */
+    typedef struct axiom_soap_fault axiom_soap_fault_t;
+    typedef struct axiom_soap_fault_ops axiom_soap_fault_ops_t;
 
-/**
- *   \brief soap_fault operations struct
- *   ops Encapsulator struct of axiom_soap fault
- */
+    struct axiom_soap_fault_reason;
+    struct axiom_soap_fault_detail;
+    struct axiom_soap_fault_sub_code;
+    struct axiom_soap_fault_code;
+    struct axiom_soap_fault_node;
+    struct axiom_soap_fault_role;
+    struct axiom_soap_fault_text;
+    struct axiom_soap_fault_value;
+    struct axiom_soap_body;
+    struct axiom_soap_builder;
+
+    /**
+     * @defgroup axiom_soap_fault soap fault
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     *   \brief soap_fault operations struct
+     *   ops Encapsulator struct of axiom_soap fault
+     */
     struct axiom_soap_fault_ops
     {
-      /**
-        * Free an axiom_soap_fault
-        * @param  fault pointer to soap_fault struct
-        * @param  env Environment. MUST NOT be NULL
-        * @return status of the op. AXIS2_SUCCESS on success 
-        *         else AXIS2_FAILURE
-        */
-
-        axis2_status_t (AXIS2_CALL *
-      free_fn)(axiom_soap_fault_t *fault,
-                 const axis2_env_t *env);
-      /**
-        * this function returns a axiom_soap_fault_code struct
-        * if a fault code is associated with this soap fault
-        * only valid when called after building the soap fault
-        * @param fault soap fault struct
-        * @param env environment must not be NULL
-        * @returns pointer to  soap_fault_code struct if one is associated 
-        *  with this soap_fault struct , NULL is returned otherwise
-        */      
-        struct axiom_soap_fault_code * (AXIS2_CALL *
-      get_code)(axiom_soap_fault_t *fault,
-                  const axis2_env_t *env);
-       /** 
-        * @param fault soap fault struct
-        * @param env environment must not be NULL
-        * @returns pointer to soap_fault_reason struct if one is associated 
-        * with this soap_fault struct , NULL is returned otherwise
-        */                                   
-                                              
+        /**
+          * Free an axiom_soap_fault
+          * @param  fault pointer to soap_fault struct
+          * @param  env Environment. MUST NOT be NULL
+          * @return status of the op. AXIS2_SUCCESS on success 
+          *         else AXIS2_FAILURE
+          */
+
+        axis2_status_t(AXIS2_CALL *
+                free_fn)(axiom_soap_fault_t *fault,
+                        const axis2_env_t *env);
+        /**
+          * this function returns a axiom_soap_fault_code struct
+          * if a fault code is associated with this soap fault
+          * only valid when called after building the soap fault
+          * @param fault soap fault struct
+          * @param env environment must not be NULL
+          * @returns pointer to  soap_fault_code struct if one is associated 
+          *  with this soap_fault struct , NULL is returned otherwise
+          */
+        struct axiom_soap_fault_code *(AXIS2_CALL *
+                            get_code)(axiom_soap_fault_t *fault,
+                                    const axis2_env_t *env);
+        /**
+         * @param fault soap fault struct
+         * @param env environment must not be NULL
+         * @returns pointer to soap_fault_reason struct if one is associated 
+         * with this soap_fault struct , NULL is returned otherwise
+         */
+
         struct axiom_soap_fault_reason *(AXIS2_CALL *
-      get_reason)(axiom_soap_fault_t *fault,
-                    const axis2_env_t *env);
-                                             
-       /** 
-        * @param fault soap fault struct
-        * @param env environment must not be NULL
-        * @returns pointer to soap_fault_node struct if one is associated 
-        *  with this soap_fault struct , NULL is returned otherwise
-        */                                        
-        struct axiom_soap_fault_node* (AXIS2_CALL *
-      get_node)(axiom_soap_fault_t *fault,
-                  const axis2_env_t *env);
-                                             
-       /** 
-        * @param fault soap fault struct
-        * @param env environment must not be NULL
-        * @returns pointer to soap_fault_code struct if one is associated 
-        * with this soap_fault struct , NULL is returned otherwise
-        */                                         
-        struct axiom_soap_fault_role* (AXIS2_CALL *
-      get_role)(axiom_soap_fault_t *fault,
-                  const axis2_env_t *env);
-      /** 
-        * @param fault soap fault struct
-        * @param env environment must not be NULL
-        * @returns a pointer to  soap_fault_code struct if one is 
-        * associated with this soap_fault struct , NULL is returned otherwise
-        */   
-
-        struct axiom_soap_fault_detail* (AXIS2_CALL *
-      get_detail)(axiom_soap_fault_t *fault,
-                    const axis2_env_t *env); 
-      /** 
-        * @param fault soap fault struct 
-        * @param env enviroment must not be NULL
-        * @returns a pointer to  soap_fault_code struct if one is 
-        * associated with this soap_fault struct , NULL is returned otherwise
-        */   
-        axis2_char_t * (AXIS2_CALL *
-      get_exception)(axiom_soap_fault_t *fault,
-                       const axis2_env_t *env);
-      /**
-        * set an error string 
-        * @param fualt soap fault struct
-        * @param env enviroment must not be NULL
-        * @param exception error message to be stored on soap fault
-        */      
-        axis2_status_t (AXIS2_CALL *
-      set_exception) (axiom_soap_fault_t *fault,
+                            get_reason)(axiom_soap_fault_t *fault,
+                                    const axis2_env_t *env);
+
+        /**
+         * @param fault soap fault struct
+         * @param env environment must not be NULL
+         * @returns pointer to soap_fault_node struct if one is associated 
+         *  with this soap_fault struct , NULL is returned otherwise
+         */
+        struct axiom_soap_fault_node*(AXIS2_CALL *
+                            get_node)(axiom_soap_fault_t *fault,
+                                    const axis2_env_t *env);
+
+        /**
+         * @param fault soap fault struct
+         * @param env environment must not be NULL
+         * @returns pointer to soap_fault_code struct if one is associated 
+         * with this soap_fault struct , NULL is returned otherwise
+         */
+        struct axiom_soap_fault_role*(AXIS2_CALL *
+                            get_role)(axiom_soap_fault_t *fault,
+                                    const axis2_env_t *env);
+        /**
+          * @param fault soap fault struct
+          * @param env environment must not be NULL
+          * @returns a pointer to  soap_fault_code struct if one is 
+          * associated with this soap_fault struct , NULL is returned otherwise
+          */
+
+        struct axiom_soap_fault_detail*(AXIS2_CALL *
+                            get_detail)(axiom_soap_fault_t *fault,
+                                    const axis2_env_t *env);
+        /**
+          * @param fault soap fault struct 
+          * @param env enviroment must not be NULL
+          * @returns a pointer to  soap_fault_code struct if one is 
+          * associated with this soap_fault struct , NULL is returned otherwise
+          */
+        axis2_char_t *(AXIS2_CALL *
+                get_exception)(axiom_soap_fault_t *fault,
+                        const axis2_env_t *env);
+        /**
+          * set an error string 
+          * @param fualt soap fault struct
+          * @param env enviroment must not be NULL
+          * @param exception error message to be stored on soap fault
+          */
+        axis2_status_t(AXIS2_CALL *
+                set_exception)(axiom_soap_fault_t *fault,
                         const axis2_env_t *env,
-                        axis2_char_t *exception);                                                                                             
-     /**
-       * returns the axiom_node_t struct which is wrapped by
-       * this soap fault struct
-       * @param fault soap fault struct
-       * @param env environment must not be NULL
-       * @returns a pointer to  axiom_node_t struct if an om node is associated 
-       * with this soap fault struct, otherwise return NULL
-       */
-        axiom_node_t* (AXIS2_CALL *
-      get_base_node)(axiom_soap_fault_t *fault,
-                       const axis2_env_t *env);
-                       
-                                 
+                        axis2_char_t *exception);
+        /**
+          * returns the axiom_node_t struct which is wrapped by
+          * this soap fault struct
+          * @param fault soap fault struct
+          * @param env environment must not be NULL
+          * @returns a pointer to  axiom_node_t struct if an om node is associated 
+          * with this soap fault struct, otherwise return NULL
+          */
+        axiom_node_t*(AXIS2_CALL *
+                get_base_node)(axiom_soap_fault_t *fault,
+                        const axis2_env_t *env);
+
+
     };
 
-  /**
-    * \brief soap_fault struct
-    * represent a soap_fault
-    */
+    /**
+      * \brief soap_fault struct
+      * represent a soap_fault
+      */
     struct axiom_soap_fault
     {
         /** operation of axiom_soap_fault struct */
         axiom_soap_fault_ops_t *ops;
-       
+
     };
 
-/**
- * creates a soap fault struct 
- * @param env environment must not be NULL
- * @param parent soap body struct to which this soap
- * fault is the child
- * @param env Environment. MUST NOT be NULL
- * @returns pointer to axiom_soap_fault_t struct on success
- *  otherwise return NULL with error code set in environments error
- */
+    /**
+     * creates a soap fault struct
+     * @param env environment must not be NULL
+     * @param parent soap body struct to which this soap
+     * fault is the child
+     * @param env Environment. MUST NOT be NULL
+     * @returns pointer to axiom_soap_fault_t struct on success
+     *  otherwise return NULL with error code set in environments error
+     */
+
+
+    AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
+    axiom_soap_fault_create_with_parent(const axis2_env_t *env,
+            struct axiom_soap_body *parent);
+
+    /** create an returns a axiom_soap_fault_t struct with a soap fault detail
+     * element and have this exceptio string as a text of a child of soap fault
+     * detail
+     * @param env environment must not be NULL
+     * @param parent soap body struct must not be NULL
+     * @param exceptio an error string must not be NULL
+     * @returns pointer to axiom_soap_fault_t on success ,
+     * otherwise return NULL
+     */
+
+    AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
+    axiom_soap_fault_create_with_exception(const axis2_env_t *env,
+            struct axiom_soap_body *parent,
+            axis2_char_t* exception);
+
+    AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
+    axiom_soap_fault_create_default_fault(const axis2_env_t *env,
+            struct axiom_soap_body *parent,
+            const axis2_char_t *code_value,
+            const axis2_char_t *reason_text,
+            const int soap_version);
+
+    /******************** Macros **************************************************/
 
-    
-AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
-axiom_soap_fault_create_with_parent(const axis2_env_t *env,
-                                    struct axiom_soap_body *parent);
-
-/** create an returns a axiom_soap_fault_t struct with a soap fault detail 
- * element and have this exceptio string as a text of a child of soap fault
- * detail
- * @param env environment must not be NULL
- * @param parent soap body struct must not be NULL
- * @param exceptio an error string must not be NULL
- * @returns pointer to axiom_soap_fault_t on success ,
- * otherwise return NULL
- */
 
-AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
-axiom_soap_fault_create_with_exception(const axis2_env_t *env,
-                                        struct axiom_soap_body *parent,  
-                                        axis2_char_t* exception);
-                                        
-AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
-axiom_soap_fault_create_default_fault(const axis2_env_t *env,
-                                      struct axiom_soap_body *parent,
-                                      const axis2_char_t *code_value,
-                                      const axis2_char_t *reason_text,
-                                      const int soap_version);                                         
-                                        
-/******************** Macros **************************************************/
-    
-    
-/** free soap_fault */
+    /** free soap_fault */
 #define AXIOM_SOAP_FAULT_FREE(fault , env) \
         ((fault)->ops->free_fn(fault, env))
 
@@ -223,24 +223,24 @@
 
 #define AXIOM_SOAP_FAULT_GET_ROLE(fault , env) \
         ((fault)->ops->get_role(fault, env))
-        
+
 #define AXIOM_SOAP_FAULT_GET_NODE(fault , env) \
-        ((fault)->ops->get_node(fault, env)) 
-        
+        ((fault)->ops->get_node(fault, env))
+
 #define AXIOM_SOAP_FAULT_GET_BASE_NODE(fault, env) \
-        ((fault)->ops->get_base_node(fault, env)) 
-        
-        
+        ((fault)->ops->get_base_node(fault, env))
+
+
 #define AXIOM_SOAP_FAULT_GET_EXCEPTION(fault, env) \
         ((fault)->ops->get_exception(fault, env))
-        
+
 #define AXIOM_SOAP_FAULT_SET_EXCEPTION(fault, env, exception) \
-        ((fault)->ops->set_exception(fault, env, exception)) 
-        
-/** @} */
+        ((fault)->ops->set_exception(fault, env, exception))
+
+    /** @} */
 #ifdef __cplusplus
 }
 #endif
 
- 
+
 #endif /* AXIOM_SOAP_FAULT_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h Thu Jan 11 22:11:41 2007
@@ -14,15 +14,15 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_FAULT_CODE_H
- #define AXIOM_SOAP_FAULT_CODE_H
- 
- 
-   /**
-    * @file axiom_soap_fault_code.h
-    * @brief axiom_soap_fault_code struct
-    */
+
+#ifndef AXIOM_SOAP_FAULT_CODE_H
+#define AXIOM_SOAP_FAULT_CODE_H
+
+
+/**
+ * @file axiom_soap_fault_code.h
+ * @brief axiom_soap_fault_code struct
+ */
 #include <axis2_env.h>
 #include <axiom_soap_fault.h>
 
@@ -33,96 +33,96 @@
 
     typedef struct axiom_soap_fault_code_ops axiom_soap_fault_code_ops_t;
     typedef struct axiom_soap_fault_code axiom_soap_fault_code_t;
-    
+
     struct axiom_soap_fault_value;
     struct axiom_soap_fault_sub_code;
     struct axiom_soap_builder;
-/**
- * @defgroup axiom_soap_fault_code soap fault code
- * @ingroup axiom_soap
- * @{
- */
-
-/**
- *   \brief soap_fault_code operations struct
- *   ops Encapsulator struct of axiom_soap_fault_code
- */
+    /**
+     * @defgroup axiom_soap_fault_code soap fault code
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     *   \brief soap_fault_code operations struct
+     *   ops Encapsulator struct of axiom_soap_fault_code
+     */
     struct axiom_soap_fault_code_ops
     {
-      /**
-        * Free an axiom_soap_fault_code
-        * @param  fault_code pointer to soap_fault_code struct
-        * @param  env Environment. MUST NOT be NULL
-        * @return satus of the op. AXIS2_SUCCESS on success 
-        *         else AXIS2_FAILURE
+        /**
+          * Free an axiom_soap_fault_code
+          * @param  fault_code pointer to soap_fault_code struct
+          * @param  env Environment. MUST NOT be NULL
+          * @return satus of the op. AXIS2_SUCCESS on success 
+          *         else AXIS2_FAILURE
+          */
+        axis2_status_t(AXIS2_CALL *
+                free_fn)(axiom_soap_fault_code_t *fault_code,
+                        const axis2_env_t *env);
+        /**
+        * @returns axiom_soap_fault_sub_code struct if one is associated with
+        * this fault_code struct , otherwise teturns NULL
         */
-        axis2_status_t (AXIS2_CALL *
-      free_fn)(axiom_soap_fault_code_t *fault_code,
-                 const axis2_env_t *env);
-      /**
-      * @returns axiom_soap_fault_sub_code struct if one is associated with
-      * this fault_code struct , otherwise teturns NULL
+
+        struct axiom_soap_fault_sub_code*(AXIS2_CALL *
+                            get_sub_code)(axiom_soap_fault_code_t *fault_code,
+                                    const axis2_env_t *env);
+
+        /**
+          * @returns soap_fault_value if available
+        */
+        struct axiom_soap_fault_value*(AXIS2_CALL *get_value)
+                    (axiom_soap_fault_code_t *fault_code,
+                            const axis2_env_t *env);
+
+        axiom_node_t*(AXIS2_CALL *
+                get_base_node)(axiom_soap_fault_code_t *fault_code,
+                        const axis2_env_t *env);
+
+    };
+
+    /**
+      * \brief soap_fault_code struct
+      * represent a soap_fault_code
       */
-        
-        struct axiom_soap_fault_sub_code* (AXIS2_CALL *
-      get_sub_code)(axiom_soap_fault_code_t *fault_code,
-                      const axis2_env_t *env);
-                                     
-      /**
-        * @returns soap_fault_value if available
-      */      
-        struct axiom_soap_fault_value* (AXIS2_CALL *get_value)                                         
-                                    (axiom_soap_fault_code_t *fault_code,
-                                     const axis2_env_t *env);
-                                     
-        axiom_node_t* (AXIS2_CALL *
-      get_base_node)(axiom_soap_fault_code_t *fault_code,
-                       const axis2_env_t *env);
-                                 
-};      
-
-  /**
-    * \brief soap_fault_code struct
-    * represent a soap_fault_code
-    */
     struct axiom_soap_fault_code
     {
         /** operation of axiom_soap_fault_code struct */
         axiom_soap_fault_code_ops_t *ops;
-       
+
     };
 
-  /**
-    * creates a soap struct 
-    * @param env Environment. MUST NOT be NULL
-    */
-    
-AXIS2_EXTERN axiom_soap_fault_code_t * AXIS2_CALL
-axiom_soap_fault_code_create_with_parent(const axis2_env_t *env,
-                            axiom_soap_fault_t *fault);
-                            
-AXIS2_EXTERN axiom_soap_fault_code_t * AXIS2_CALL
-axiom_soap_fault_code_create_with_parent_value(const axis2_env_t *env,
-                            axiom_soap_fault_t *fault,
-                            axis2_char_t *value);
-                            
-/******************** Macros **************************************************/
-    
-    
-/** free soap_fault_code */
+    /**
+      * creates a soap struct 
+      * @param env Environment. MUST NOT be NULL
+      */
+
+    AXIS2_EXTERN axiom_soap_fault_code_t * AXIS2_CALL
+    axiom_soap_fault_code_create_with_parent(const axis2_env_t *env,
+            axiom_soap_fault_t *fault);
+
+    AXIS2_EXTERN axiom_soap_fault_code_t * AXIS2_CALL
+    axiom_soap_fault_code_create_with_parent_value(const axis2_env_t *env,
+            axiom_soap_fault_t *fault,
+            axis2_char_t *value);
+
+    /******************** Macros **************************************************/
+
+
+    /** free soap_fault_code */
 #define AXIOM_SOAP_FAULT_CODE_FREE(fault_code , env) \
         ((fault_code)->ops->free_fn(fault_code, env))
 
 #define AXIOM_SOAP_FAULT_CODE_GET_SUB_CODE(fault_code , env) \
-        ((fault_code)->ops->get_sub_code(fault_code, env))        
+        ((fault_code)->ops->get_sub_code(fault_code, env))
 
 #define AXIOM_SOAP_FAULT_CODE_GET_VALUE(fault_code , env) \
-        ((fault_code)->ops->get_value(fault_code, env)) 
-        
+        ((fault_code)->ops->get_value(fault_code, env))
+
 #define AXIOM_SOAP_FAULT_CODE_GET_BASE_NODE(fault_code, env) \
-        ((fault_code)->ops->get_base_node(fault_code, env))         
+        ((fault_code)->ops->get_base_node(fault_code, env))
 
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h Thu Jan 11 22:11:41 2007
@@ -14,15 +14,15 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_FAULT_DETAIL_H
- #define AXIOM_SOAP_FAULT_DETAIL_H
-  
+
+#ifndef AXIOM_SOAP_FAULT_DETAIL_H
+#define AXIOM_SOAP_FAULT_DETAIL_H
+
 /**
  * @file axiom_soap_fault_detail.h
  * @brief axiom_soap_fault_detail struct
  */
- 
+
 #include <axis2_env.h>
 #include <axiom_soap_fault.h>
 #include <axiom_children_iterator.h>
@@ -35,71 +35,71 @@
     typedef struct axiom_soap_fault_detail_ops axiom_soap_fault_detail_ops_t;
     typedef struct axiom_soap_fault_detail axiom_soap_fault_detail_t;
 
-/**
- * @defgroup axiom_soap_fault_detail soap fault detail
- * @ingroup axiom_soap
- * @{
- */
-
-/**
- *   \brief soap_fault_detail operations struct
- *   ops Encapsulator struct of axiom_soap_fault_detail
- */
+    /**
+     * @defgroup axiom_soap_fault_detail soap fault detail
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     *   \brief soap_fault_detail operations struct
+     *   ops Encapsulator struct of axiom_soap_fault_detail
+     */
     struct axiom_soap_fault_detail_ops
     {
-      /**
-        * Free an axiom_soap_fault_detail
-        * @param  fault_detail pointer to soap_fault_detail struct
-        * @param  env Environment. MUST NOT be NULL
-        * @return satus of the op. AXIS2_SUCCESS on success 
-        *         else AXIS2_FAILURE
-        */
-
-        axis2_status_t (AXIS2_CALL *
-      free_fn)(axiom_soap_fault_detail_t *fault_detail,
-                 const axis2_env_t *env);
-                                     
-        axis2_status_t (AXIS2_CALL *
-      add_detail_entry)(axiom_soap_fault_detail_t *fault_detail,
-                          const axis2_env_t *env,
-                          axiom_node_t *ele_node);
-                                 
-        axiom_children_iterator_t* (AXIS2_CALL *
-      get_all_detail_entries) (axiom_soap_fault_detail_t *fault_detail,
-                                 const axis2_env_t *env); 
-
-        axiom_node_t* (AXIS2_CALL *
-      get_base_node)(axiom_soap_fault_detail_t *fault_code,
-                       const axis2_env_t *env);
-        
-    };      
-
-  /**
-    * \brief soap_fault_code struct
-    * represent a soap_fault_code
-    */
+        /**
+          * Free an axiom_soap_fault_detail
+          * @param  fault_detail pointer to soap_fault_detail struct
+          * @param  env Environment. MUST NOT be NULL
+          * @return satus of the op. AXIS2_SUCCESS on success 
+          *         else AXIS2_FAILURE
+          */
+
+        axis2_status_t(AXIS2_CALL *
+                free_fn)(axiom_soap_fault_detail_t *fault_detail,
+                        const axis2_env_t *env);
+
+        axis2_status_t(AXIS2_CALL *
+                add_detail_entry)(axiom_soap_fault_detail_t *fault_detail,
+                        const axis2_env_t *env,
+                        axiom_node_t *ele_node);
+
+        axiom_children_iterator_t*(AXIS2_CALL *
+                get_all_detail_entries)(axiom_soap_fault_detail_t *fault_detail,
+                        const axis2_env_t *env);
+
+        axiom_node_t*(AXIS2_CALL *
+                get_base_node)(axiom_soap_fault_detail_t *fault_code,
+                        const axis2_env_t *env);
+
+    };
+
+    /**
+      * \brief soap_fault_code struct
+      * represent a soap_fault_code
+      */
     struct axiom_soap_fault_detail
     {
         /** operation of axiom_soap_fault_detail struct */
         axiom_soap_fault_detail_ops_t *ops;
-       
+
     };
 
-  /**
-    * creates a soap struct 
-    * @param env Environment. MUST NOT be NULL
-    */
+    /**
+      * creates a soap struct 
+      * @param env Environment. MUST NOT be NULL
+      */
+
 
 
+    AXIS2_EXTERN axiom_soap_fault_detail_t * AXIS2_CALL
+    axiom_soap_fault_detail_create_with_parent
+    (const axis2_env_t *env,
+            axiom_soap_fault_t *fault);
 
-AXIS2_EXTERN axiom_soap_fault_detail_t * AXIS2_CALL
-axiom_soap_fault_detail_create_with_parent
-                        (const axis2_env_t *env,
-                         axiom_soap_fault_t *fault);
-                         
-/******************** Macros **************************************************/
-    
-/** free soap_fault_detail */
+    /******************** Macros **************************************************/
+
+    /** free soap_fault_detail */
 #define AXIOM_SOAP_FAULT_DETAIL_FREE(fault_detail , env) \
         ((fault_detail)->ops->free_fn(fault_detail, env))
 
@@ -107,17 +107,17 @@
         ((fault_detail)->ops->add_detail_entry(fault_detail, env, ele_node))
 
 #define AXIOM_SOAP_FAULT_DETAIL_GET_ALL_DETAIL_ENTRIES(fault_detail, env) \
-        ((fault_detail)->ops->get_all_detail_entries(fault_detail, env))                 
-        
+        ((fault_detail)->ops->get_all_detail_entries(fault_detail, env))
+
 #define AXIOM_SOAP_FAULT_DETAIL_GET_BASE_NODE(fault_detail, env) \
-        ((fault_detail)->ops->get_base_node(fault_detail, env))         
+        ((fault_detail)->ops->get_base_node(fault_detail, env))
 
 
-        
-/** @} */
+
+    /** @} */
 
 #ifdef __cplusplus
 }
 #endif
- 
+
 #endif /* AXIOM_SOAP_FAULT_DETAIL_H */

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h Thu Jan 11 22:11:41 2007
@@ -14,14 +14,14 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_FAULT_NODE_H
- #define AXIOM_SOAP_FAULT_NODE_H
- 
-   /**
-    * @file axiom_soap_fault_node.h
-    * @brief axiom_soap_fault_node struct
-    */
+
+#ifndef AXIOM_SOAP_FAULT_NODE_H
+#define AXIOM_SOAP_FAULT_NODE_H
+
+/**
+ * @file axiom_soap_fault_node.h
+ * @brief axiom_soap_fault_node struct
+ */
 #include <axis2_env.h>
 #include <axiom_soap_fault.h>
 
@@ -32,81 +32,81 @@
 
     typedef struct axiom_soap_fault_node_ops axiom_soap_fault_node_ops_t;
     typedef struct axiom_soap_fault_node axiom_soap_fault_node_t;
-/**
- * @defgroup axiom_soap_fault_node soap fault node
- * @ingroup axiom_soap
- * @{
- */
-
-/**
- *   \brief soap_fault_node operations struct
- *   ops Encapsulator struct of axiom_soap_fault_node
- */
+    /**
+     * @defgroup axiom_soap_fault_node soap fault node
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     *   \brief soap_fault_node operations struct
+     *   ops Encapsulator struct of axiom_soap_fault_node
+     */
     struct axiom_soap_fault_node_ops
     {
-      /**
-        * Free an axiom_soap_fault_node
-        * @param  fault_node pointer to soap_fault_node struct
-        * @param  env Environment. MUST NOT be NULL
-        * @return satus of the op. AXIS2_SUCCESS on success 
-        *         else AXIS2_FAILURE
-        */
-
-        axis2_status_t (AXIS2_CALL *
-      free_fn) (axiom_soap_fault_node_t *fault_node,
-                  const axis2_env_t *env);
-
-        axis2_status_t (AXIS2_CALL *
-      set_value)(axiom_soap_fault_node_t *fault_node,
-                   const axis2_env_t *env,
-                   axis2_char_t *fault_val);
-                                     
-        axis2_char_t* (AXIS2_CALL *
-      get_value)(axiom_soap_fault_node_t *fault_node,
-                   const axis2_env_t *env);
-    
-        axiom_node_t* (AXIS2_CALL *
-      get_base_node)(axiom_soap_fault_node_t *fault_node,
-                       const axis2_env_t *env);
-    };      
-
-  /**
-    * \brief soap_fault_node struct
-    * represent a soap_fault_node
-    */
+        /**
+          * Free an axiom_soap_fault_node
+          * @param  fault_node pointer to soap_fault_node struct
+          * @param  env Environment. MUST NOT be NULL
+          * @return satus of the op. AXIS2_SUCCESS on success 
+          *         else AXIS2_FAILURE
+          */
+
+        axis2_status_t(AXIS2_CALL *
+                free_fn)(axiom_soap_fault_node_t *fault_node,
+                        const axis2_env_t *env);
+
+        axis2_status_t(AXIS2_CALL *
+                set_value)(axiom_soap_fault_node_t *fault_node,
+                        const axis2_env_t *env,
+                        axis2_char_t *fault_val);
+
+        axis2_char_t*(AXIS2_CALL *
+                get_value)(axiom_soap_fault_node_t *fault_node,
+                        const axis2_env_t *env);
+
+        axiom_node_t*(AXIS2_CALL *
+                get_base_node)(axiom_soap_fault_node_t *fault_node,
+                        const axis2_env_t *env);
+    };
+
+    /**
+      * \brief soap_fault_node struct
+      * represent a soap_fault_node
+      */
     struct axiom_soap_fault_node
     {
         /** operation of axiom_soap_fault_node struct */
         axiom_soap_fault_node_ops_t *ops;
-       
+
     };
 
-  /**
-    * creates a soap struct 
-    * @param env Environment. MUST NOT be NULL
-    */
-AXIS2_EXTERN axiom_soap_fault_node_t * AXIS2_CALL
-axiom_soap_fault_node_create_with_parent(const axis2_env_t *env,
-                                         axiom_soap_fault_t *fault);
-                            
-
-/******************** Macros **************************************************/
-    
-    
-/** free soap_fault_node */
+    /**
+      * creates a soap struct 
+      * @param env Environment. MUST NOT be NULL
+      */
+    AXIS2_EXTERN axiom_soap_fault_node_t * AXIS2_CALL
+    axiom_soap_fault_node_create_with_parent(const axis2_env_t *env,
+            axiom_soap_fault_t *fault);
+
+
+    /******************** Macros **************************************************/
+
+
+    /** free soap_fault_node */
 #define AXIOM_SOAP_FAULT_NODE_FREE(fault_node , env) \
         ((fault_node)->ops->free_fn(fault_node, env))
 
 #define AXIOM_SOAP_FAULT_NODE_GET_VALUE(fault_node , env) \
-        ((fault_node)->ops->get_value(fault_node, env)) 
-        
+        ((fault_node)->ops->get_value(fault_node, env))
+
 #define AXIOM_SOAP_FAULT_NODE_GET_BASE_NODE(fault_node, env) \
-        ((fault_node)->ops->get_base_node(fault_node, env))         
+        ((fault_node)->ops->get_base_node(fault_node, env))
 
 #define AXIOM_SOAP_FAULT_NODE_SET_VALUE(fault_node , env, uri) \
-        ((fault_node)->ops->set_value(fault_node, env, uri))        
-        
-/** @} */
+        ((fault_node)->ops->set_value(fault_node, env, uri))
+
+    /** @} */
 
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h Thu Jan 11 22:11:41 2007
@@ -14,14 +14,14 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_FAULT_REASON_H
- #define AXIOM_SOAP_FAULT_REASON_H
- 
-     /**
-    * @file axiom_soap_fault_reason.h
-    * @brief axiom_soap_fault_reason 
-    */
+
+#ifndef AXIOM_SOAP_FAULT_REASON_H
+#define AXIOM_SOAP_FAULT_REASON_H
+
+/**
+* @file axiom_soap_fault_reason.h
+* @brief axiom_soap_fault_reason 
+*/
 #include <axis2_env.h>
 #include <axiom_soap_fault.h>
 #include <axis2_array_list.h>
@@ -31,102 +31,102 @@
 {
 #endif
 
-typedef struct axiom_soap_fault_reason_ops axiom_soap_fault_reason_ops_t;
-typedef struct axiom_soap_fault_reason axiom_soap_fault_reason_t;
-struct axiom_soap_fault_text;
-struct axiom_soap_builder;
-/**
- * @defgroup axiom_soap_fault_reason soap fault reason
- * @ingroup axiom_soap
- * @{
- */
-
-/**
- *   \brief soap_fault_reason operations struct
- *   ops Encapsulator struct of axiom_soap_fault_reason
- */
+    typedef struct axiom_soap_fault_reason_ops axiom_soap_fault_reason_ops_t;
+    typedef struct axiom_soap_fault_reason axiom_soap_fault_reason_t;
+    struct axiom_soap_fault_text;
+    struct axiom_soap_builder;
+    /**
+     * @defgroup axiom_soap_fault_reason soap fault reason
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     *   \brief soap_fault_reason operations struct
+     *   ops Encapsulator struct of axiom_soap_fault_reason
+     */
     struct axiom_soap_fault_reason_ops
     {
-      /**
-        * Free an axiom_soap_fault_reason
-        * @param  fault_reason pointer to soap_fault_reason struct
-        * @param  env Environment. MUST NOT be NULL
-        * @return satus of the op. AXIS2_SUCCESS on success 
-        *         else AXIS2_FAILURE
-        */
-
-        axis2_status_t (AXIS2_CALL *
-      free_fn)(axiom_soap_fault_reason_t *fault_reason,
-                 const axis2_env_t *env);
-
-        struct axiom_soap_fault_text* (AXIS2_CALL *
-      get_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
-                             const axis2_env_t *env,
-                             axis2_char_t *lang);
-                             
-        axis2_array_list_t* (AXIS2_CALL *
-        get_all_soap_fault_texts)(axiom_soap_fault_reason_t *fault_reason,
-                                  const axis2_env_t *env);
-                                  
-        struct axiom_soap_fault_text* (AXIS2_CALL *
-        get_first_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
-                                   const axis2_env_t *env);
-                             
-        axis2_status_t (AXIS2_CALL *
-        add_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
-                             const axis2_env_t *env,
-                             struct axiom_soap_fault_text *fault_text);
-                                           
-        axiom_node_t* (AXIS2_CALL *
-      get_base_node)(axiom_soap_fault_reason_t *fault_reason,
-                       const axis2_env_t *env);
-                                 
-    };      
-
-  /**
-    * \brief soap_fault_reason struct
-    * represent a soap_fault_reason
-    */
+        /**
+          * Free an axiom_soap_fault_reason
+          * @param  fault_reason pointer to soap_fault_reason struct
+          * @param  env Environment. MUST NOT be NULL
+          * @return satus of the op. AXIS2_SUCCESS on success 
+          *         else AXIS2_FAILURE
+          */
+
+        axis2_status_t(AXIS2_CALL *
+                free_fn)(axiom_soap_fault_reason_t *fault_reason,
+                        const axis2_env_t *env);
+
+        struct axiom_soap_fault_text*(AXIS2_CALL *
+                            get_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
+                                    const axis2_env_t *env,
+                                    axis2_char_t *lang);
+
+        axis2_array_list_t*(AXIS2_CALL *
+                get_all_soap_fault_texts)(axiom_soap_fault_reason_t *fault_reason,
+                        const axis2_env_t *env);
+
+        struct axiom_soap_fault_text*(AXIS2_CALL *
+                            get_first_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
+                                    const axis2_env_t *env);
+
+        axis2_status_t(AXIS2_CALL *
+                add_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
+                        const axis2_env_t *env,
+                        struct axiom_soap_fault_text *fault_text);
+
+        axiom_node_t*(AXIS2_CALL *
+                get_base_node)(axiom_soap_fault_reason_t *fault_reason,
+                        const axis2_env_t *env);
+
+    };
+
+    /**
+      * \brief soap_fault_reason struct
+      * represent a soap_fault_reason
+      */
     struct axiom_soap_fault_reason
     {
         /** operation of axiom_soap_fault_reason struct */
         axiom_soap_fault_reason_ops_t *ops;
-       
+
     };
 
-  /**
-    * creates a soap struct 
-    * @param env Environment. MUST NOT be NULL
-    */
-    
-    
-AXIS2_EXTERN axiom_soap_fault_reason_t * AXIS2_CALL
-axiom_soap_fault_reason_create_with_parent(const axis2_env_t *env,
-                            axiom_soap_fault_t *fault);
-
-/******************** Macros **************************************************/
-    
-/** free soap_fault_reason */
+    /**
+      * creates a soap struct 
+      * @param env Environment. MUST NOT be NULL
+      */
+
+
+    AXIS2_EXTERN axiom_soap_fault_reason_t * AXIS2_CALL
+    axiom_soap_fault_reason_create_with_parent(const axis2_env_t *env,
+            axiom_soap_fault_t *fault);
+
+    /******************** Macros **************************************************/
+
+    /** free soap_fault_reason */
 #define AXIOM_SOAP_FAULT_REASON_FREE(fault_reason , env) \
         ((fault_reason)->ops->free_fn(fault_reason, env))
 
-        
+
 #define AXIOM_SOAP_FAULT_REASON_GET_SOAP_FAULT_TEXT(fault_reason , env, lang) \
-        ((fault_reason)->ops->get_soap_fault_text(fault_reason, env, lang)) 
-        
+        ((fault_reason)->ops->get_soap_fault_text(fault_reason, env, lang))
+
 #define AXIOM_SOAP_FAULT_REASON_GET_BASE_NODE(fault_reason, env) \
-        ((fault_reason)->ops->get_base_node(fault_reason, env))    
-        
+        ((fault_reason)->ops->get_base_node(fault_reason, env))
+
 #define AXIOM_SOAP_FAULT_REASON_ADD_SOAP_FAULT_TEXT(fault_reason, env, fault_text) \
-        ((fault_reason)->ops->add_soap_fault_text(fault_reason, env, fault_text))             
-        
+        ((fault_reason)->ops->add_soap_fault_text(fault_reason, env, fault_text))
+
 #define AXIOM_SOAP_FAULT_REASON_GET_ALL_SOAP_FAULT_TEXTS(fault_reason, env) \
         ((fault_reason)->ops->get_all_soap_fault_texts(fault_reason, env))
-        
+
 #define AXIOM_SOAP_FAULT_REASON_GET_FIRST_SOAP_FAULT_TEXT(fault_reason, env) \
         ((fault_reason)->ops->get_first_soap_fault_text(fault_reason, env))
-        
-/** @} */
+
+    /** @} */
 
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_role.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_role.h?view=diff&rev=495494&r1=495493&r2=495494
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_role.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_role.h Thu Jan 11 22:11:41 2007
@@ -14,15 +14,15 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #ifndef AXIOM_SOAP_FAULT_ROLE_H
- #define AXIOM_SOAP_FAULT_ROLE_H
- 
- 
-   /**
-    * @file axiom_soap_fault_role.h
-    * @brief axiom_soap_fault_role 
-    */
+
+#ifndef AXIOM_SOAP_FAULT_ROLE_H
+#define AXIOM_SOAP_FAULT_ROLE_H
+
+
+/**
+ * @file axiom_soap_fault_role.h
+ * @brief axiom_soap_fault_role 
+ */
 #include <axis2_env.h>
 #include <axiom_soap_fault.h>
 
@@ -33,84 +33,84 @@
 
     typedef struct axiom_soap_fault_role_ops axiom_soap_fault_role_ops_t;
     typedef struct axiom_soap_fault_role axiom_soap_fault_role_t;
-/**
- * @defgroup axiom_soap_fault_role soap fault role
- * @ingroup axiom_soap
- * @{
- */
-
-/**
- *   \brief soap_fault_role operations struct
- *   ops Encapsulator struct of axiom_soap_fault_role
- */
+    /**
+     * @defgroup axiom_soap_fault_role soap fault role
+     * @ingroup axiom_soap
+     * @{
+     */
+
+    /**
+     *   \brief soap_fault_role operations struct
+     *   ops Encapsulator struct of axiom_soap_fault_role
+     */
     struct axiom_soap_fault_role_ops
     {
-      /**
-        * Free an axiom_soap_fault_role
-        * @param  fault_role pointer to soap_fault_role struct
-        * @param  env Environment. MUST NOT be NULL
-        * @return satus of the op. AXIS2_SUCCESS on success 
-        *         else AXIS2_FAILURE
-        */
-
-        axis2_status_t (AXIS2_CALL *
-      free_fn)(axiom_soap_fault_role_t *fault_role,
-                 const axis2_env_t *env);
+        /**
+          * Free an axiom_soap_fault_role
+          * @param  fault_role pointer to soap_fault_role struct
+          * @param  env Environment. MUST NOT be NULL
+          * @return satus of the op. AXIS2_SUCCESS on success 
+          *         else AXIS2_FAILURE
+          */
 
-        axis2_status_t (AXIS2_CALL *
-      set_role_value)(axiom_soap_fault_role_t *fault_role,
+        axis2_status_t(AXIS2_CALL *
+                free_fn)(axiom_soap_fault_role_t *fault_role,
+                        const axis2_env_t *env);
+
+        axis2_status_t(AXIS2_CALL *
+                set_role_value)(axiom_soap_fault_role_t *fault_role,
                         const axis2_env_t *env,
                         axis2_char_t* uri);
-                                     
-        axis2_char_t* (AXIS2_CALL *
-      get_role_value)(axiom_soap_fault_role_t *fault_role,
+
+        axis2_char_t*(AXIS2_CALL *
+                get_role_value)(axiom_soap_fault_role_t *fault_role,
                         const axis2_env_t *env);
-                                     
-        axiom_node_t* (AXIS2_CALL *
-      get_base_node)(axiom_soap_fault_role_t *fault_role,
-                       const axis2_env_t *env);
-                                                                                                                   
-    };      
-
-  /**
-    * \brief soap_fault_role struct
-    * represent a soap_fault_role
-    */
+
+        axiom_node_t*(AXIS2_CALL *
+                get_base_node)(axiom_soap_fault_role_t *fault_role,
+                        const axis2_env_t *env);
+
+    };
+
+    /**
+      * \brief soap_fault_role struct
+      * represent a soap_fault_role
+      */
     struct axiom_soap_fault_role
     {
         /** operation of axiom_soap_fault_role struct */
         axiom_soap_fault_role_ops_t *ops;
-       
+
     };
 
-  /**
-    * creates a soap struct 
-    * @param env Environment. MUST NOT be NULL
-    */
-    
-AXIS2_EXTERN axiom_soap_fault_role_t * AXIS2_CALL
-axiom_soap_fault_role_create_with_parent(const axis2_env_t *env,
-                            axiom_soap_fault_t *fault);
-                            
-/******************** Macros **************************************************/
-    
-    
-/** free soap_fault_role */
+    /**
+      * creates a soap struct 
+      * @param env Environment. MUST NOT be NULL
+      */
+
+    AXIS2_EXTERN axiom_soap_fault_role_t * AXIS2_CALL
+    axiom_soap_fault_role_create_with_parent(const axis2_env_t *env,
+            axiom_soap_fault_t *fault);
+
+    /******************** Macros **************************************************/
+
+
+    /** free soap_fault_role */
 #define AXIOM_SOAP_FAULT_ROLE_FREE(fault_role , env) \
         ((fault_role)->ops->free_fn(fault_role, env))
 
 #define AXIOM_SOAP_FAULT_ROLE_GET_VALUE(fault_role , env) \
-        ((fault_role)->ops->get_role_value(fault_role, env)) 
-        
+        ((fault_role)->ops->get_role_value(fault_role, env))
+
 #define AXIOM_SOAP_FAULT_ROLE_GET_BASE_NODE(fault_role, env) \
-        ((fault_role)->ops->get_base_node(fault_role, env))         
+        ((fault_role)->ops->get_base_node(fault_role, env))
 
 #define AXIOM_SOAP_FAULT_ROLE_SET_VALUE(fault_role , env, value) \
         ((fault_role)->ops->set_role_value(fault_role, env, value))
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }
 #endif
- 
+
 #endif /* AXIOM_SOAP_FAULT_ROLE_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