ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r433181 - in /webservices/axis2/trunk/c: include/axis2_transport_out_desc.h modules/core/description/transport_out_desc.c
Date Mon, 21 Aug 2006 06:55:54 GMT
Author: pini
Date: Sun Aug 20 23:55:53 2006
New Revision: 433181

URL: http://svn.apache.org/viewvc?rev=433181&view=rev
Log:
Fomatting fixes and parameter changes to const.

Modified:
    webservices/axis2/trunk/c/include/axis2_transport_out_desc.h
    webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c

Modified: webservices/axis2/trunk/c/include/axis2_transport_out_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_transport_out_desc.h?rev=433181&r1=433180&r2=433181&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_transport_out_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_transport_out_desc.h Sun Aug 20 23:55:53 2006
@@ -17,7 +17,8 @@
 #ifndef AXIS2_TRANSPORT_OUT_DESC_H
 #define AXIS2_TRANSPORT_OUT_DESC_H
 
-/** @defgroup axis2_transport_out_desc transport out description
+/** 
+ * @defgroup axis2_transport_out_desc transport out description
  * @ingroup axis2_desc
  * Description.
  * @{
@@ -56,42 +57,42 @@
      * @brief Description Transport Out ops struct
      * Encapsulator struct for ops of axis2_transport_out_desc
      */
-    AXIS2_DECLARE_DATA struct axis2_transport_out_desc_ops
+    struct axis2_transport_out_desc_ops
     {
-        /** 
-    * De-allocate memory
-    * @param transport_out_dec pointer to transport out description
-    * @param env pointer to environment struct
-    * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+        /**
+        * De-allocate memory
+        * @param transport_out_dec pointer to transport out description
+        * @param env pointer to environment struct
+        * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
         */
         axis2_status_t (AXIS2_CALL *
-           free)(
+                free)(
                     axis2_transport_out_desc_t *transport_out_desc,
                     const axis2_env_t *env);
 
-    /**
-     * De-allocate memory
-     * @param void transport_out to be freed
-     * @return status code
-     */
+        /**
+         * De-allocate memory
+         * @param void transport_out to be freed
+         * @return status code
+         */
         axis2_status_t (AXIS2_CALL *
-            free_void_arg) (
+                free_void_arg)(
                     void *transport_out,
                     const axis2_env_t *env);
 
         /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
+        * @param transport_out pointer to transport_out
+        * @param env pointer to environment struct
          */
         axis2_qname_t *(AXIS2_CALL *
                 get_qname)(
-                    struct axis2_transport_out_desc *transport_out,
+                    const axis2_transport_out_desc_t *transport_out,
                     const axis2_env_t *env);
 
         /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
-    * @param qname pointer to qname
+        * @param transport_out pointer to transport_out
+        * @param env pointer to environment struct
+        * @param qname pointer to qname
          */
         axis2_status_t (AXIS2_CALL *
                 set_qname)(
@@ -99,42 +100,42 @@
                     const axis2_env_t *env,
                     axis2_qname_t *qname);
 
-   /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
-    */
+        /**
+         * @param transport_out pointer to transport_out
+         * @param env pointer to environment struct
+         */
         struct axis2_flow *(AXIS2_CALL *
                 get_outflow)(
-                    struct axis2_transport_out_desc *transport_out,
+                    const axis2_transport_out_desc_t *transport_out,
                     const axis2_env_t *env);
 
-   /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
-    * @param outflow pointer to out flow
-    * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-    */
+        /**
+         * @param transport_out pointer to transport_out
+         * @param env pointer to environment struct
+         * @param outflow pointer to out flow
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
         axis2_status_t (AXIS2_CALL *
                 set_outflow)(
                     struct axis2_transport_out_desc *transport_out,
                     const axis2_env_t *env,
                     struct axis2_flow *outflow);
 
-   /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
-    */
+        /**
+         * @param transport_out pointer to transport_out
+         * @param env pointer to environment struct
+         */
         struct axis2_flow *(AXIS2_CALL *
                 get_faultflow)(
-                    struct axis2_transport_out_desc *transport_out,
+                    const axis2_transport_out_desc_t *transport_out,
                     const axis2_env_t *env);
 
-   /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
-    * @param faultflow pointer to faultflow
-    * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-    */
+        /**
+         * @param transport_out pointer to transport_out
+         * @param env pointer to environment struct
+         * @param faultflow pointer to faultflow
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
         axis2_status_t (AXIS2_CALL *
                 set_faultflow)(
                     struct axis2_transport_out_desc *transport_out,
@@ -142,19 +143,19 @@
                     struct axis2_flow *faultflow);
 
         /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
+        * @param transport_out pointer to transport_out
+        * @param env pointer to environment struct
          */
         axis2_transport_sender_t *(AXIS2_CALL *
                 get_sender)(
-                    struct axis2_transport_out_desc *transport_out,
+                    const axis2_transport_out_desc_t *transport_out,
                     const axis2_env_t *env);
 
         /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
-    * @param sender pointer to sender
-    * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+        * @param transport_out pointer to transport_out
+        * @param env pointer to environment struct
+        * @param sender pointer to sender
+        * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
          */
         axis2_status_t (AXIS2_CALL *
                 set_sender)(
@@ -163,75 +164,75 @@
                     axis2_transport_sender_t *sender);
 
         /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
-    */
+        * @param transport_out pointer to transport_out
+        * @param env pointer to environment struct
+        */
         struct axis2_phase * (AXIS2_CALL *
                 get_out_phase)(
-                    struct axis2_transport_out_desc *transport_out,
+                    const axis2_transport_out_desc_t *transport_out,
                     const axis2_env_t *env);
 
-   /**
-    * @param transport_out pointer to transport_out 
-    * @param env pointer to environment struct
-    * @param out_phase pointer to out phase
-    * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-    */
+        /**
+         * @param transport_out pointer to transport_out 
+         * @param env pointer to environment struct
+         * @param out_phase pointer to out phase
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
         axis2_status_t (AXIS2_CALL *
                 set_out_phase)(
                     struct axis2_transport_out_desc *transport_out,
                     const axis2_env_t *env,
                     struct axis2_phase *out_phase);
 
-   /**
-    * @param transport_out  pointer to transport_out
-    * @param env pointer to environment struct
-    */
+        /**
+         * @param transport_out  pointer to transport_out
+         * @param env pointer to environment struct
+         */
         struct axis2_phase *(AXIS2_CALL *
                 get_faultphase)(
-                    struct axis2_transport_out_desc *transport_out,
+                    const axis2_transport_out_desc_t *transport_out,
                     const axis2_env_t *env);
 
-   /**
-    * @param transport_out pointer to transport_out
-    * @param env pointer to environment struct
-    * @param faultphase pointer to fault phase
-    * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-    */
+        /**
+         * @param transport_out pointer to transport_out
+         * @param env pointer to environment struct
+         * @param faultphase pointer to fault phase
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
         axis2_status_t (AXIS2_CALL *
                 set_faultphase)(
                     struct axis2_transport_out_desc *transport_out,
                     const axis2_env_t *env,
                     struct axis2_phase *faultphase);
 
-   /**
-    * @param transport_out_desc pointer to tarnsport out description
-    * @param env pointer to environment struct
-    * @param param pointer to param
-    * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-    */
+        /**
+         * @param transport_out_desc pointer to tarnsport out description
+         * @param env pointer to environment struct
+         * @param param pointer to param
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
         axis2_status_t (AXIS2_CALL *
                 add_param)(
                     axis2_transport_out_desc_t *transport_out_desc,
                     const axis2_env_t *env,
                     axis2_param_t *param);
 
-   /**
-    * @param transport_out_desc pointer to transport out description
-    * @param env pointer to environment struct
-    * @param param_name pointer to parameter name
-    */
+        /**
+         * @param transport_out_desc pointer to transport out description
+         * @param env pointer to environment struct
+         * @param param_name pointer to parameter name
+         */
         axis2_param_t *(AXIS2_CALL *
                 get_param)(
-                    axis2_transport_out_desc_t *transport_out_desc,
+                    const axis2_transport_out_desc_t *transport_out_desc,
                     const axis2_env_t *env,
                     axis2_char_t *param_name);
 
-   /**
-    * @param transport_out_desc pointer to transport out description
-    * @param env pointer to environment struct
-    * @param param_name pointer to parameter name
-    */
+        /**
+         * @param transport_out_desc pointer to transport out description
+         * @param env pointer to environment struct
+         * @param param_name pointer to parameter name
+         */
         axis2_bool_t (AXIS2_CALL *
                 is_param_locked)(
                     axis2_transport_out_desc_t *transport_out_desc,
@@ -243,7 +244,7 @@
     /**
      * transport out description struct  
      */
-    AXIS2_DECLARE_DATA struct axis2_transport_out_desc
+    struct axis2_transport_out_desc
     {
         /** operatoins of transport out description struct  */
         axis2_transport_out_desc_ops_t *ops;
@@ -258,14 +259,15 @@
      */
     AXIS2_EXTERN axis2_transport_out_desc_t * AXIS2_CALL
     axis2_transport_out_desc_create_with_qname (
-            const axis2_env_t *env, 
-            axis2_qname_t *qname);
+        const axis2_env_t *env,
+        axis2_qname_t *qname);
 
 
     axis2_status_t AXIS2_CALL
     axis2_transport_out_desc_free_void_arg(
-            void *transport_out,
-            const axis2_env_t *env);
+        void *transport_out,
+        const axis2_env_t *env);
+
 /*************************** Function macros **********************************/
 
 /** Frees the transport out description.
@@ -293,42 +295,42 @@
 #define AXIS2_TRANSPORT_OUT_DESC_SET_OUTFLOW(transport_out_desc, env, outflow) \
       ((transport_out_desc)->ops->set_outflow (transport_out_desc, env, outflow))
 
-/** Gets the fault flow.
+/** Get faultflow.
     @sa axis2_transport_out_desc_ops#get_faultflow */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_FAULTFLOW(transport_out_desc, env) \
       ((transport_out_desc)->ops->get_faultflow (transport_out_desc, env))
 
-/** Sets the fault flow.
+/** Set faultflow.
     @sa axis2_transport_out_desc_ops#set_faultflow */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_FAULTFLOW(transport_out_desc, env, faultflow) \
       ((transport_out_desc)->ops->set_faultflow (transport_out_desc, env, faultflow))
 
-/** Gets the sender.
+/** Get sender.
     @sa axis2_transport_out_desc_ops#get_sender */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_SENDER(transport_out_desc, env) \
       ((transport_out_desc)->ops->get_sender (transport_out_desc, env))
 
-/** Sets the sender.
+/** Set sender.
     @sa axis2_transport_out_desc_ops#set_sender */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_SENDER(transport_out_desc, env, sender) \
       ((transport_out_desc)->ops->set_sender (transport_out_desc, env, sender))
 
-/** Gets the out phase.
+/** Get out phase.
     @sa axis2_transport_out_desc_ops#get_out_phase */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_OUT_PHASE(transport_out_desc, env) \
       ((transport_out_desc)->ops->get_out_phase (transport_out_desc, env))
 
-/** Sets the out phase.
+/** Set out phase.
     @sa axis2_transport_out_desc_ops#set_out_phase */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_OUT_PHASE(transport_out_desc, env, out_phase) \
       ((transport_out_desc)->ops->set_out_phase (transport_out_desc, env, out_phase))
 
-/** Gets the fault phsae.
+/** Get faultphase.
     @sa axis2_transport_out_desc_ops#get_faultphase */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_FAULTPHASE(transport_out_desc, env) \
       ((transport_out_desc)->ops->get_faultphase (transport_out_desc, env))
 
-/** Sets the fault phase.
+/** Set faultphase.
     @sa axis2_transport_out_desc_ops#set_faultphase */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_FAULTPHASE(transport_out_desc, env, faultphase) \
       ((transport_out_desc)->ops->set_faultphase (transport_out_desc, env, faultphase))
@@ -338,7 +340,7 @@
 #define AXIS2_TRANSPORT_OUT_DESC_ADD_PARAM(transport_out_desc, env, param) \
       ((transport_out_desc)->ops->add_param (transport_out_desc, env, param))
 
-/** Gets the parameter.
+/** Get param.
     @sa axis2_transport_out_desc_ops#get_param */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_PARAM(transport_out_desc, env, param_name) \
       ((transport_out_desc)->ops->get_param (transport_out_desc, env, param_name))

Modified: webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c?rev=433181&r1=433180&r2=433181&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c Sun Aug 20 23:55:53
2006
@@ -23,7 +23,7 @@
  */ 
 typedef struct axis2_transport_out_desc_impl
 {
-   axis2_transport_out_desc_t transport_out;
+    axis2_transport_out_desc_t transport_out;
     
     /** 
      * Field flowInclude 
@@ -62,94 +62,111 @@
 /************************* Function prototypes ********************************/
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_free (
-                axis2_transport_out_desc_t *transport_out,
-            const axis2_env_t *env);
+axis2_transport_out_desc_free(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env);
 
 axis2_qname_t *AXIS2_CALL
-axis2_transport_out_desc_get_qname(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env);
+axis2_transport_out_desc_get_qname(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_qname(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_qname_t *qname);
+axis2_transport_out_desc_set_qname(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_qname_t *qname);
 
 axis2_flow_t *AXIS2_CALL
-axis2_transport_out_desc_get_outflow(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env);
+axis2_transport_out_desc_get_outflow(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_outflow(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_flow_t *outflow);
+axis2_transport_out_desc_set_outflow(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_flow_t *outflow);
 
 axis2_flow_t *AXIS2_CALL
-axis2_transport_out_desc_get_faultflow(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env);
+axis2_transport_out_desc_get_faultflow(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+axis2_transport_out_desc_set_faultflow(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_flow_t *faultflow);
+
+axis2_transport_sender_t *AXIS2_CALL
+axis2_transport_out_desc_get_sender(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+axis2_transport_out_desc_set_sender(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_transport_sender_t *sender);
 
-axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_faultflow(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_flow_t *faultflow);
-
-axis2_transport_sender_t * AXIS2_CALL
-axis2_transport_out_desc_get_sender(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env);
-
-axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_sender(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_transport_sender_t *sender);
-
-axis2_phase_t * AXIS2_CALL
-axis2_transport_out_desc_get_out_phase(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env);
+axis2_phase_t *AXIS2_CALL
+axis2_transport_out_desc_get_out_phase(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_out_phase(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_phase_t *out_phase);
+axis2_transport_out_desc_set_out_phase(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_phase_t *out_phase);
                                             
 axis2_phase_t *AXIS2_CALL
-axis2_transport_out_desc_get_faultphase(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env);
+axis2_transport_out_desc_get_faultphase(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_faultphase(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_phase_t *faultphase);
+axis2_transport_out_desc_set_faultphase(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_phase_t *faultphase);
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_add_param(axis2_transport_out_desc_t *transport_out_desc,
-                                    const axis2_env_t *env,
-                                    axis2_param_t *param);
+axis2_transport_out_desc_add_param(
+    axis2_transport_out_desc_t *transport_out_desc,
+    const axis2_env_t *env,
+    axis2_param_t *param);
 
 axis2_param_t *AXIS2_CALL
-axis2_transport_out_desc_get_param(axis2_transport_out_desc_t *transport_out_desc,
-                                    const axis2_env_t *env,
-                                    axis2_char_t *param_name);
+axis2_transport_out_desc_get_param(
+    const axis2_transport_out_desc_t *transport_out_desc,
+    const axis2_env_t *env,
+    axis2_char_t *param_name);
 
 axis2_bool_t AXIS2_CALL
-axis2_transport_out_desc_is_param_locked (axis2_transport_out_desc_t *
-                                                transport_out_desc,
-                                            const axis2_env_t *env,
-                                            axis2_char_t *param_name);
+axis2_transport_out_desc_is_param_locked(
+    axis2_transport_out_desc_t *
+    transport_out_desc,
+    const axis2_env_t *env,
+    axis2_char_t *param_name);
 
 /************************** End of function prototypes ************************/
 
-AXIS2_EXTERN axis2_transport_out_desc_t * AXIS2_CALL
-axis2_transport_out_desc_create_with_qname (const axis2_env_t *env, axis2_qname_t *qname)
+AXIS2_EXTERN axis2_transport_out_desc_t *AXIS2_CALL
+axis2_transport_out_desc_create_with_qname(
+    const axis2_env_t *env, 
+    axis2_qname_t *qname)
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
      
-   AXIS2_ENV_CHECK(env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK(env->error, qname, NULL);
    
-   transport_out_impl = (axis2_transport_out_desc_impl_t *) AXIS2_MALLOC(env->
+    transport_out_impl = (axis2_transport_out_desc_impl_t *) AXIS2_MALLOC(env->
         allocator, sizeof(axis2_transport_out_desc_impl_t));
    
-   if(NULL == transport_out_impl)
+    if(NULL == transport_out_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
@@ -174,9 +191,9 @@
     
     transport_out_impl->qname = AXIS2_QNAME_CLONE(qname, env);
     
-   transport_out_impl->transport_out.ops = 
+    transport_out_impl->transport_out.ops = 
       AXIS2_MALLOC (env->allocator, sizeof(axis2_transport_out_desc_ops_t));
-   if(NULL == transport_out_impl->transport_out.ops)
+    if(NULL == transport_out_impl->transport_out.ops)
     {
         axis2_transport_out_desc_free(&(transport_out_impl->transport_out), env);
       AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -187,13 +204,13 @@
     transport_out_impl->transport_out.ops->free_void_arg = 
         axis2_transport_out_desc_free_void_arg;
     
-   transport_out_impl->transport_out.ops->get_qname =  
+    transport_out_impl->transport_out.ops->get_qname =  
         axis2_transport_out_desc_get_qname;
-   transport_out_impl->transport_out.ops->set_qname =  
+    transport_out_impl->transport_out.ops->set_qname =  
         axis2_transport_out_desc_set_qname;
-   transport_out_impl->transport_out.ops->get_outflow =  
+    transport_out_impl->transport_out.ops->get_outflow =  
         axis2_transport_out_desc_get_outflow;
-   transport_out_impl->transport_out.ops->set_outflow = 
+    transport_out_impl->transport_out.ops->set_outflow = 
         axis2_transport_out_desc_set_outflow;
     transport_out_impl->transport_out.ops->get_faultflow = 
         axis2_transport_out_desc_get_faultflow;
@@ -218,14 +235,15 @@
     transport_out_impl->transport_out.ops->is_param_locked = 
     axis2_transport_out_desc_is_param_locked;
     
-   return &(transport_out_impl->transport_out);
+    return &(transport_out_impl->transport_out);
 }
 
 /***************************Function implementation****************************/
 
 axis2_status_t AXIS2_CALL 
-axis2_transport_out_desc_free (axis2_transport_out_desc_t *transport_out, 
-                            const axis2_env_t *env)
+axis2_transport_out_desc_free(
+    axis2_transport_out_desc_t *transport_out, 
+    const axis2_env_t *env)
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     
@@ -239,7 +257,7 @@
         transport_out_impl->sender = NULL;
     }
     
-   if(NULL != transport_out->ops)
+    if(NULL != transport_out->ops)
     {
         AXIS2_FREE(env->allocator, transport_out->ops);
         transport_out->ops = NULL;
@@ -283,13 +301,13 @@
     
     AXIS2_FREE(env->allocator, transport_out_impl);
     
-   return AXIS2_SUCCESS;
+    return AXIS2_SUCCESS;
 }
 
 axis2_status_t AXIS2_CALL
 axis2_transport_out_desc_free_void_arg(
-        void *transport_out,
-        const axis2_env_t *env)
+    void *transport_out,
+    const axis2_env_t *env)
 {
     axis2_transport_out_desc_t *transport_out_l = NULL;
     
@@ -300,17 +318,19 @@
 }
 
 axis2_qname_t *AXIS2_CALL
-axis2_transport_out_desc_get_qname(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env) 
+axis2_transport_out_desc_get_qname(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_out)->qname;
 }
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_qname(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_qname_t *qname) 
+axis2_transport_out_desc_set_qname(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_qname_t *qname) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = AXIS2_INTF_TO_IMPL(transport_out);
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -326,17 +346,19 @@
 }
 
 axis2_flow_t *AXIS2_CALL
-axis2_transport_out_desc_get_outflow(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env) 
+axis2_transport_out_desc_get_outflow(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_out)->outflow;
 }
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_outflow(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_flow_t *outflow) 
+axis2_transport_out_desc_set_outflow(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_flow_t *outflow) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -353,16 +375,18 @@
 }
 
 axis2_flow_t *AXIS2_CALL
-axis2_transport_out_desc_get_faultflow(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env) 
+axis2_transport_out_desc_get_faultflow(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env) 
 {
     return AXIS2_INTF_TO_IMPL(transport_out)->faultflow;
 }
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_faultflow(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_flow_t *faultflow) 
+axis2_transport_out_desc_set_faultflow(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_flow_t *faultflow) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -378,18 +402,20 @@
     return AXIS2_SUCCESS;
 }
 
-axis2_transport_sender_t * AXIS2_CALL
-axis2_transport_out_desc_get_sender(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env) 
+axis2_transport_sender_t *AXIS2_CALL
+axis2_transport_out_desc_get_sender(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_out)->sender;
 }
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_sender(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_transport_sender_t *sender) 
+axis2_transport_out_desc_set_sender(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_transport_sender_t *sender) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -407,9 +433,10 @@
     return AXIS2_SUCCESS;
 }
 
-axis2_phase_t * AXIS2_CALL
-axis2_transport_out_desc_get_out_phase(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env) 
+axis2_phase_t *AXIS2_CALL
+axis2_transport_out_desc_get_out_phase(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     
@@ -417,9 +444,10 @@
 }
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_out_phase(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_phase_t *out_phase) 
+axis2_transport_out_desc_set_out_phase(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_phase_t *out_phase) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     
@@ -437,8 +465,9 @@
 }
 
 axis2_phase_t *AXIS2_CALL
-axis2_transport_out_desc_get_faultphase(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env) 
+axis2_transport_out_desc_get_faultphase(
+    const axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     
@@ -446,9 +475,10 @@
 }
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_set_faultphase(axis2_transport_out_desc_t *transport_out,
-                                        const axis2_env_t *env,
-                                        axis2_phase_t *faultphase) 
+axis2_transport_out_desc_set_faultphase(
+    axis2_transport_out_desc_t *transport_out,
+    const axis2_env_t *env,
+    axis2_phase_t *faultphase) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     
@@ -467,9 +497,10 @@
 }
 
 axis2_status_t AXIS2_CALL
-axis2_transport_out_desc_add_param(axis2_transport_out_desc_t *transport_out_desc,
-                                    const axis2_env_t *env,
-                                    axis2_param_t *param)
+axis2_transport_out_desc_add_param(
+    axis2_transport_out_desc_t *transport_out_desc,
+    const axis2_env_t *env,
+    axis2_param_t *param)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, param, AXIS2_FAILURE);    
@@ -479,9 +510,10 @@
 }
 
 axis2_param_t *AXIS2_CALL
-axis2_transport_out_desc_get_param(axis2_transport_out_desc_t *transport_out_desc,
-                                    const axis2_env_t *env,
-                                    axis2_char_t *param_name)
+axis2_transport_out_desc_get_param(
+    const axis2_transport_out_desc_t *transport_out_desc,
+    const axis2_env_t *env,
+    axis2_char_t *param_name)
 {
     AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK(env->error, param_name, NULL);    
@@ -491,10 +523,11 @@
 }
 
 axis2_bool_t AXIS2_CALL
-axis2_transport_out_desc_is_param_locked (axis2_transport_out_desc_t *
-                                                transport_out_desc,
-                                            const axis2_env_t *env,
-                                            axis2_char_t *param_name)
+axis2_transport_out_desc_is_param_locked(
+    axis2_transport_out_desc_t *
+    transport_out_desc,
+    const axis2_env_t *env,
+    axis2_char_t *param_name)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, param_name, AXIS2_FAILURE);    



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