You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2006/03/20 04:56:00 UTC

svn commit: r387127 [4/5] - in /webservices/axis2/trunk/c: include/ modules/core/deployment/ modules/xml/om/ modules/xml/soap/ test/unit/ test/xml/om/

Modified: webservices/axis2/trunk/c/include/axis2_phase_holder.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_phase_holder.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phase_holder.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phase_holder.h Sun Mar 19 19:55:55 2006
@@ -60,9 +60,9 @@
 	/** De-allocate memory
   	 * @return status code
   	 */
-	axis2_status_t (AXIS2_CALL *free)(
-                    axis2_phase_holder_t *phase_holder,
-			        axis2_env_t **env);
+	axis2_status_t (AXIS2_CALL *
+	free)(axis2_phase_holder_t *phase_holder,
+		  axis2_env_t **env);
     
     /**
      * Method isPhaseExist
@@ -71,9 +71,9 @@
      * @return
      */
     axis2_bool_t (AXIS2_CALL *
-    is_phase_exist) (axis2_phase_holder_t *phase_holder, 
-                                axis2_env_t **env,
-                                axis2_char_t *phase_name);
+    is_phase_exist)(axis2_phase_holder_t *phase_holder, 
+                    axis2_env_t **env,
+                    axis2_char_t *phase_name);
     
     /**
      * Method addHandler
@@ -82,19 +82,19 @@
      */
     axis2_status_t (AXIS2_CALL *
     add_handler) (axis2_phase_holder_t *phase_holder, 
-                                    axis2_env_t **env,
-                                    struct axis2_handler_desc *handler);
+                  axis2_env_t **env,
+                  struct axis2_handler_desc *handler);
     
     /**
-     * this method is used to get the actual phase object given in the phase array list
-     *
+     * this method is used to get the actual phase object given in the phase
+	 * array list
      * @param phaseName
      * @return
      */
     struct axis2_phase * (AXIS2_CALL *
     get_phase) (axis2_phase_holder_t *phase_holder, 
-                                    axis2_env_t **env,
-                                    axis2_char_t *phase_name);
+				axis2_env_t **env,
+				axis2_char_t *phase_name);
     
     /**
      * This method is to build the transport phase , here load the corresponding 
@@ -106,9 +106,9 @@
      */
     axis2_status_t (AXIS2_CALL *
     build_transport_handler_chain) (axis2_phase_holder_t *phase_holder, 
-                                                        axis2_env_t **env,
-                                                        struct axis2_phase *phase,
-                                                        axis2_array_list_t *handlers);
+									axis2_env_t **env,
+									struct axis2_phase *phase,
+									axis2_array_list_t *handlers);
 
 
 
@@ -135,7 +135,8 @@
  * @return pointer to newly created phase holder
  */
 AXIS2_DECLARE(axis2_phase_holder_t *) 
-axis2_phase_holder_create_with_phases (axis2_env_t **env, axis2_array_list_t *phases);
+axis2_phase_holder_create_with_phases (axis2_env_t **env, 
+									   axis2_array_list_t *phases);
 
 /*************************** Function macros **********************************/
 

Modified: webservices/axis2/trunk/c/include/axis2_phase_rule.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_phase_rule.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phase_rule.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phase_rule.h Sun Mar 19 19:55:55 2006
@@ -45,31 +45,59 @@
  */
  AXIS2_DECLARE_DATA   typedef struct axis2_phase_rule_ops
     {        
-        axis2_char_t* (AXIS2_CALL *get_before) (struct axis2_phase_rule *phase_rule, 
-                                               axis2_env_t **env);
-        axis2_status_t (AXIS2_CALL *set_before) (struct axis2_phase_rule *phase_rule, 
-                                               axis2_env_t **env, axis2_char_t *before);
-        axis2_char_t* (AXIS2_CALL *get_after) (struct axis2_phase_rule * phase_rule, 
-                                               axis2_env_t **env);
-        axis2_status_t (AXIS2_CALL *set_after) (struct axis2_phase_rule * phase_rule, 
-                                               axis2_env_t **env, axis2_char_t *after);
-        axis2_char_t* (AXIS2_CALL *get_name) (struct axis2_phase_rule * phase_rule, 
-                                               axis2_env_t **env);
-        axis2_status_t (AXIS2_CALL *set_name) (struct axis2_phase_rule * phase_rule, 
-                                               axis2_env_t **env, const axis2_char_t *name);
-        axis2_bool_t (AXIS2_CALL *is_phase_first) (struct axis2_phase_rule * phase_rule, 
-                                               axis2_env_t **env);
-        axis2_status_t (AXIS2_CALL *set_phase_first) (struct axis2_phase_rule * phase_rule, 
-                                               axis2_env_t **env, axis2_bool_t phae_first);
-        axis2_bool_t (AXIS2_CALL *is_phase_last) (struct axis2_phase_rule * phase_rule, 
-                                               axis2_env_t **env);
-        axis2_status_t (AXIS2_CALL *set_phase_last) (struct axis2_phase_rule * phase_rule, 
-                                               axis2_env_t **env, axis2_bool_t phae_last);
+        axis2_char_t* (AXIS2_CALL *
+		get_before) (struct axis2_phase_rule *phase_rule, 
+                     axis2_env_t **env);
+		
+        axis2_status_t (AXIS2_CALL *
+		set_before) (struct axis2_phase_rule *phase_rule, 
+                     axis2_env_t **env, 
+					 axis2_char_t *before);
+		
+        axis2_char_t* (AXIS2_CALL *
+		get_after) (struct axis2_phase_rule * phase_rule, 
+                    axis2_env_t **env);
+		
+        axis2_status_t (AXIS2_CALL *
+		set_after) (struct axis2_phase_rule * phase_rule, 
+                    axis2_env_t **env, 
+					axis2_char_t *after);
+		
+        axis2_char_t* (AXIS2_CALL *
+		get_name) (struct axis2_phase_rule * phase_rule, 
+                   axis2_env_t **env);
+		
+        axis2_status_t (AXIS2_CALL *
+		set_name) (struct axis2_phase_rule * phase_rule, 
+                   axis2_env_t **env, 
+				   const axis2_char_t *name);
+		
+        axis2_bool_t (AXIS2_CALL *
+		is_phase_first) (struct axis2_phase_rule * phase_rule, 
+                         axis2_env_t **env);
+		
+        axis2_status_t (AXIS2_CALL *
+		set_phase_first) (struct axis2_phase_rule * phase_rule, 
+                          axis2_env_t **env, 
+						  axis2_bool_t phae_first);
+		
+        axis2_bool_t (AXIS2_CALL *
+		is_phase_last) (struct axis2_phase_rule * phase_rule, 
+                        axis2_env_t **env);
+		
+        axis2_status_t (AXIS2_CALL *
+		set_phase_last) (struct axis2_phase_rule * phase_rule, 
+                         axis2_env_t **env, 
+						 axis2_bool_t phae_last);
 
-        axis2_status_t (AXIS2_CALL *free) (struct axis2_phase_rule *phase_rule, 
-                                           axis2_env_t **env);
-        struct axis2_phase_rule* (AXIS2_CALL *clone) (struct axis2_phase_rule *phase_rule, 
-                                           axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free) (struct axis2_phase_rule *phase_rule, 
+               axis2_env_t **env);
+		
+        struct axis2_phase_rule* (AXIS2_CALL *
+		clone) (struct axis2_phase_rule *phase_rule, 
+                axis2_env_t **env);
+		
     } axis2_phase_rule_ops_t;
 	
    /** 
@@ -85,20 +113,45 @@
 /**
  * creates phase_rule struct
  */
-AXIS2_DECLARE(axis2_phase_rule_t*) axis2_phase_rule_create(axis2_env_t **env, axis2_char_t *phase_name);
+AXIS2_DECLARE(axis2_phase_rule_t*) 
+axis2_phase_rule_create(axis2_env_t **env, 
+						axis2_char_t *phase_name);
     
-#define AXIS2_PHASE_RULE_GET_BEFORE(phase_rule, env) ((phase_rule)->ops->get_before(phase_rule, env))
-#define AXIS2_PHASE_RULE_SET_BEFORE(phase_rule, env, before) ((phase_rule)->ops->set_before(phase_rule, env, before))
-#define AXIS2_PHASE_RULE_GET_AFTER(phase_rule, env) ((phase_rule)->ops->get_after(phase_rule, env))
-#define AXIS2_PHASE_RULE_SET_AFTER(phase_rule, env, after) ((phase_rule)->ops->set_after(phase_rule, env, after))
-#define AXIS2_PHASE_RULE_GET_NAME(phase_rule, env) ((phase_rule)->ops->get_name(phase_rule, env))
-#define AXIS2_PHASE_RULE_SET_NAME(phase_rule, env, name) ((phase_rule)->ops->set_name(phase_rule, env, name))
-#define AXIS2_PHASE_RULE_IS_PHASE_FIRST(phase_rule, env) ((phase_rule)->ops->is_phase_first(phase_rule, env))
-#define AXIS2_PHASE_RULE_SET_PHASE_FIRST(phase_rule, env, phase_first) ((phase_rule)->ops->set_phase_first(phase_rule, env, phase_first))
-#define AXIS2_PHASE_RULE_IS_PHASE_LAST(phase_rule, env) ((phase_rule)->ops->is_phase_last(phase_rule, env))
-#define AXIS2_PHASE_RULE_SET_PHASE_LAST(phase_rule, env, phase_last) ((phase_rule)->ops->set_phase_last(phase_rule, env, phase_last))
-#define AXIS2_PHASE_RULE_FREE(phase_rule, env) ((phase_rule)->ops->free(phase_rule, env))
-#define AXIS2_PHASE_RULE_CLONE(phase_rule, env) ((phase_rule)->ops->clone(phase_rule, env))
+#define AXIS2_PHASE_RULE_GET_BEFORE(phase_rule, env) \
+		((phase_rule)->ops->get_before(phase_rule, env))
+	
+#define AXIS2_PHASE_RULE_SET_BEFORE(phase_rule, env, before) \
+		((phase_rule)->ops->set_before(phase_rule, env, before))
+	
+#define AXIS2_PHASE_RULE_GET_AFTER(phase_rule, env) \
+		((phase_rule)->ops->get_after(phase_rule, env))
+	
+#define AXIS2_PHASE_RULE_SET_AFTER(phase_rule, env, after) \
+		((phase_rule)->ops->set_after(phase_rule, env, after))
+	
+#define AXIS2_PHASE_RULE_GET_NAME(phase_rule, env) \
+		((phase_rule)->ops->get_name(phase_rule, env))
+		
+#define AXIS2_PHASE_RULE_SET_NAME(phase_rule, env, name)\
+		((phase_rule)->ops->set_name(phase_rule, env, name))
+		
+#define AXIS2_PHASE_RULE_IS_PHASE_FIRST(phase_rule, env) \
+		((phase_rule)->ops->is_phase_first(phase_rule, env))
+		
+#define AXIS2_PHASE_RULE_SET_PHASE_FIRST(phase_rule, env, phase_first) \
+		((phase_rule)->ops->set_phase_first(phase_rule, env, phase_first))
+		
+#define AXIS2_PHASE_RULE_IS_PHASE_LAST(phase_rule, env) \
+		((phase_rule)->ops->is_phase_last(phase_rule, env))
+		
+#define AXIS2_PHASE_RULE_SET_PHASE_LAST(phase_rule, env, phase_last) \
+		((phase_rule)->ops->set_phase_last(phase_rule, env, phase_last))
+		
+#define AXIS2_PHASE_RULE_FREE(phase_rule, env) \
+		((phase_rule)->ops->free(phase_rule, env))
+		
+#define AXIS2_PHASE_RULE_CLONE(phase_rule, env) \
+		((phase_rule)->ops->clone(phase_rule, env))
     
 /** @} */
     

Modified: webservices/axis2/trunk/c/include/axis2_qname.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_qname.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_qname.h (original)
+++ webservices/axis2/trunk/c/include/axis2_qname.h Sun Mar 19 19:55:55 2006
@@ -56,8 +56,9 @@
      *  Free a qname struct
      *  @return Status code
      */
-    axis2_status_t (AXIS2_CALL *free) (struct axis2_qname * qname,
-                                       axis2_env_t **env);
+    axis2_status_t (AXIS2_CALL *
+	free) (struct axis2_qname * qname,
+           axis2_env_t **env);
                                        
      /** 
       * Compare two qnames
@@ -66,9 +67,10 @@
       * @return true if qname1 equals qname2, false otherwise 
       */
 
-    axis2_bool_t (AXIS2_CALL *equals) (struct axis2_qname * qname,
-                                       axis2_env_t **env,
-                                       struct axis2_qname * qname1);
+    axis2_bool_t (AXIS2_CALL *
+	equals) (struct axis2_qname * qname,
+             axis2_env_t **env,
+             struct axis2_qname * qname1);
       /** 
       * clones a given qname
       * @param qname , qname struct instance to be cloned
@@ -76,25 +78,31 @@
       * @returns the newly cloned qname struct instance
       */                                       
        
-    struct axis2_qname* (AXIS2_CALL *clone)(struct axis2_qname *qname,
-                                            axis2_env_t **env);
+    struct axis2_qname* (AXIS2_CALL *
+	clone)(struct axis2_qname *qname,
+           axis2_env_t **env);
                                        
-    axis2_char_t* (AXIS2_CALL *get_uri)(struct axis2_qname *qname,
-                                        axis2_env_t **env);
+    axis2_char_t* (AXIS2_CALL *
+	get_uri)(struct axis2_qname *qname,
+             axis2_env_t **env);
                                         
-    axis2_char_t* (AXIS2_CALL *get_prefix)(struct axis2_qname *qname,
-                                           axis2_env_t **env);
+    axis2_char_t* (AXIS2_CALL *
+	get_prefix)(struct axis2_qname *qname,
+                axis2_env_t **env);
 
-    axis2_char_t* (AXIS2_CALL *get_localpart)(struct axis2_qname *qname,
-                                              axis2_env_t **env);
+    axis2_char_t* (AXIS2_CALL *
+	get_localpart)(struct axis2_qname *qname,
+                   axis2_env_t **env);
                                               
     /**
      * returns a unique string created by concatanting namespace uri 
      * and localpart .
      * The returned char* is freed when qname free function is called.
      */
-    axis2_char_t* (AXIS2_CALL *to_string)(struct axis2_qname *qname,
-                                          axis2_env_t **env);                                                      
+    axis2_char_t* (AXIS2_CALL *
+	to_string)(struct axis2_qname *qname,
+               axis2_env_t **env); 
+	
                                               
 } axis2_qname_ops_t;
 
@@ -110,8 +118,10 @@
  *  @localpart   mandatory
  *  @prefix      mandatory  
  *  @ns_uri      optional
- *  The prefix. Must not be null. Use "" (empty string) to indicate that no namespace URI is present or the namespace URI is not relevant
- *  if null is passed for prefix and uri , "'(empty string ) will be assinged to those fields
+ *  The prefix. Must not be null. Use "" (empty string) to indicate that no 
+ * namespace URI is present or the namespace URI is not relevant
+ *  if null is passed for prefix and uri , "'(empty string ) will be assinged to 
+ * those fields
  * @return a pointer to newly created qname struct
  */
 

Modified: webservices/axis2/trunk/c/include/axis2_relates_to.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_relates_to.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_relates_to.h (original)
+++ webservices/axis2/trunk/c/include/axis2_relates_to.h Sun Mar 19 19:55:55 2006
@@ -50,37 +50,46 @@
          *
          * @return
          */
-        axis2_char_t* (AXIS2_CALL *get_value)(struct axis2_relates_to *relates_to, axis2_env_t **env);
+        axis2_char_t* (AXIS2_CALL *
+		get_value)(struct axis2_relates_to *relates_to, 
+				   axis2_env_t **env);
 
         /**
          * Method set_value
          *
          * @param value
          */
-        axis2_status_t (AXIS2_CALL *set_value)(struct axis2_relates_to *relates_to, axis2_env_t **env, 
-                                 axis2_char_t * value);
+        axis2_status_t (AXIS2_CALL *
+		set_value)(struct axis2_relates_to *relates_to, 
+			       axis2_env_t **env, 
+                   axis2_char_t * value);
 
         /**
          * Method get_relationship_type
          *
          * @return
          */
-        axis2_char_t* (AXIS2_CALL *get_relationship_type)(struct axis2_relates_to *relates_to, axis2_env_t **env);
+        axis2_char_t* (AXIS2_CALL *
+		get_relationship_type)(struct axis2_relates_to *relates_to, 
+			                   axis2_env_t **env);
 
         /**
          * Method set_relationship_type
          *
          * @param relationship_type
          */
-        axis2_status_t (AXIS2_CALL *set_relationship_type)(struct axis2_relates_to *relates_to, axis2_env_t **env, 
-                                             axis2_char_t *relationship_type);
+        axis2_status_t (AXIS2_CALL *
+		set_relationship_type)(struct axis2_relates_to *relates_to, 
+			                   axis2_env_t **env, 
+                               axis2_char_t *relationship_type);
         
        /**
         * frees relates_to struct
         */
         
-        axis2_status_t (AXIS2_CALL *free) (struct axis2_relates_to *relates_to, 
-                                               axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free) (struct axis2_relates_to *relates_to, 
+               axis2_env_t **env);
         
     } axis2_relates_to_ops_t;
 	
@@ -100,13 +109,25 @@
  * @param value
  * @param relationship_type
  */
-AXIS2_DECLARE(axis2_relates_to_t*) axis2_relates_to_create(axis2_env_t **env, axis2_char_t *value, axis2_char_t *relationship_type);
+AXIS2_DECLARE(axis2_relates_to_t*)
+axis2_relates_to_create(axis2_env_t **env, 
+						axis2_char_t *value, 
+						axis2_char_t *relationship_type);
     
-#define AXIS2_RELATES_TO_GET_VALUE(relates_to, env) ((relates_to)->ops->get_value(relates_to, env))
-#define AXIS2_RELATES_TO_SET_VALUE(relates_to, env, vlaue) ((relates_to)->ops->set_value(relates_to, env, vlaue))
-#define AXIS2_RELATES_TO_GET_RELATIONSHIP_TYPE(relates_to, env) ((relates_to)->ops->get_relationship_type(relates_to, env))
-#define AXIS2_RELATES_TO_SET_RELATIONSHIP_TYPE(relates_to, env, relationship_type) ((relates_to)->ops->set_relationship_type(relates_to, env, relationship_type))
-#define AXIS2_RELATES_TO_FREE(relates_to, env) ((relates_to)->ops->free(relates_to, env))
+#define AXIS2_RELATES_TO_GET_VALUE(relates_to, env) \
+		((relates_to)->ops->get_value(relates_to, env))
+	
+#define AXIS2_RELATES_TO_SET_VALUE(relates_to, env, vlaue) \
+		((relates_to)->ops->set_value(relates_to, env, vlaue))
+	
+#define AXIS2_RELATES_TO_GET_RELATIONSHIP_TYPE(relates_to, env) \
+		((relates_to)->ops->get_relationship_type(relates_to, env))
+		
+#define AXIS2_RELATES_TO_SET_RELATIONSHIP_TYPE(relates_to, env, relationship_type) \
+		((relates_to)->ops->set_relationship_type(relates_to, env, relationship_type))
+		
+#define AXIS2_RELATES_TO_FREE(relates_to, env) \
+		((relates_to)->ops->free(relates_to, env))
     
 /** @} */
     

Modified: webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h (original)
+++ webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h Sun Mar 19 19:55:55 2006
@@ -48,43 +48,58 @@
  */
 AXIS2_DECLARE_DATA struct axis2_simple_http_svr_conn_ops
 {        
-        axis2_status_t (AXIS2_CALL *close) 
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env);
-        axis2_bool_t (AXIS2_CALL *is_open) 
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env);
-        axis2_status_t (AXIS2_CALL *set_keep_alive) 
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env, axis2_bool_t keep_alive);
-        axis2_bool_t (AXIS2_CALL *is_keep_alive)
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env);
-        axis2_stream_t* (AXIS2_CALL *get_stream) 
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env);
-        axis2_http_response_writer_t* (AXIS2_CALL *get_writer)
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env);
-        axis2_http_simple_request_t* (AXIS2_CALL *read_request)
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env);
-        axis2_status_t (AXIS2_CALL *write_response)
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
+        axis2_status_t (AXIS2_CALL *
+		close) (axis2_simple_http_svr_conn_t *svr_conn, 
+                axis2_env_t **env);
+	
+        axis2_bool_t (AXIS2_CALL *
+		is_open) (axis2_simple_http_svr_conn_t *svr_conn, 
+                  axis2_env_t **env);
+	
+        axis2_status_t (AXIS2_CALL *
+		set_keep_alive) (axis2_simple_http_svr_conn_t *svr_conn, 
+                        axis2_env_t **env, 
+						axis2_bool_t keep_alive);
+	
+        axis2_bool_t (AXIS2_CALL *
+		is_keep_alive) (axis2_simple_http_svr_conn_t *svr_conn, 
+                        axis2_env_t **env);
+	
+        axis2_stream_t* (AXIS2_CALL *
+		get_stream) (axis2_simple_http_svr_conn_t *svr_conn, 
+                     axis2_env_t **env);
+	
+	
+        axis2_http_response_writer_t* (AXIS2_CALL *
+		get_writer)(axis2_simple_http_svr_conn_t *svr_conn, 
+                    axis2_env_t **env);
+					
+        axis2_http_simple_request_t* (AXIS2_CALL *
+		read_request)(axis2_simple_http_svr_conn_t *svr_conn, 
+                      axis2_env_t **env);
+					  
+        axis2_status_t (AXIS2_CALL *
+		write_response)(axis2_simple_http_svr_conn_t *svr_conn, 
                         axis2_env_t **env, 
                         axis2_http_simple_response_t *response);
-        axis2_status_t (AXIS2_CALL *set_rcv_timeout)
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env, int timeout);
-        axis2_status_t (AXIS2_CALL *set_snd_timeout) 
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env, int timeout);
-        axis2_char_t* (AXIS2_CALL *get_svr_ip) 
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env);
-        axis2_status_t (AXIS2_CALL *free) 
-                        (axis2_simple_http_svr_conn_t *svr_conn, 
-                        axis2_env_t **env);
+						
+        axis2_status_t (AXIS2_CALL *
+		set_rcv_timeout)(axis2_simple_http_svr_conn_t *svr_conn, 
+                         axis2_env_t **env, 
+						 int timeout);
+						 
+        axis2_status_t (AXIS2_CALL *
+		set_snd_timeout)(axis2_simple_http_svr_conn_t *svr_conn, 
+                         axis2_env_t **env, 
+						 int timeout);
+						 
+        axis2_char_t* (AXIS2_CALL *
+		get_svr_ip) (axis2_simple_http_svr_conn_t *svr_conn, 
+                     axis2_env_t **env);
+					 
+        axis2_status_t (AXIS2_CALL *
+		free)(axis2_simple_http_svr_conn_t *svr_conn, 
+              axis2_env_t **env);
  };
     
 /** 

Modified: webservices/axis2/trunk/c/include/axis2_soap.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap.h Sun Mar 19 19:55:55 2006
@@ -89,7 +89,7 @@
 
 #define AXIS2_SOAP12_SOAP_FAULT_VALUE_RECEIVER "Receiver"
 
-/** SOAP Fault Reason */
+/** SOAP Fault */
 
 #define AXIS2_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME "Reason"
 
@@ -108,8 +108,6 @@
 #define AXIS2_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME "Role"
 
 #define AXIS2_SOAP_12_CONTENT_TYPE "application/soap+xml"
-
-/** soap fault codes */
 
 #define AXIS2_SOAP12_FAULT_CODE_SENDER "Sender"
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_body.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_body.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_body.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_body.h Sun Mar 19 19:55:55 2006
@@ -52,8 +52,8 @@
  * 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.
- * B <code>SOAPFault</code> object, which carries status and/or
- * error information, is an example of a <code>OMBodyBlock</code> object.
+ * this also contains axis2_soap_fault_t struct , which carries status and/or
+ * error information.
  */
 
 /**
@@ -69,8 +69,10 @@
          * @param env must not be null
          * @return status code AXIS2_SUCCESS 
          */
-        axis2_status_t (AXIS2_CALL *free)(axis2_soap_body_t *body,
-                                          axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free)(axis2_soap_body_t *body,
+              axis2_env_t **env);
+		
         /**
          * Indicates whether a soap fault is available with this 
          * soap body 
@@ -78,8 +80,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)(axis2_soap_body_t *body,
-                                             axis2_env_t **env);
+        axis2_bool_t (AXIS2_CALL *
+		has_fault)(axis2_soap_body_t *body,
+                   axis2_env_t **env);
+				   
         /**
          * returns the soap fault in this soap_body 
          * IF a soap_builder is associated with the soap_body
@@ -88,31 +92,38 @@
          * @param env environment must not be null
          * @return axis2_soap_fault_t if available, NULL otherwise
         */
-        axis2_soap_fault_t* (AXIS2_CALL *get_fault)(axis2_soap_body_t *body,
-                                                    axis2_env_t **env);
+        axis2_soap_fault_t* (AXIS2_CALL *
+		get_fault)(axis2_soap_body_t *body,
+                   axis2_env_t **env);
+				   
         /**
          * get the underlying om_node 
          * @param body soap_body
          * @param env environment must not be null
          * @returns axis2_om_node_t
          */
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)(axis2_soap_body_t *body,
-                                                     axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_body_t *body,
+                       axis2_env_t **env);
+					   
         /**
          *  return the soap version 
          * @param body soap_body
          * @param env environment must not be null
          * @return one of AXIS2_SOAP11 or AXIS2_SOAP12 
          */
-        int (AXIS2_CALL *get_soap_version)(axis2_soap_body_t *body,
-                                           axis2_env_t **env);
+        int (AXIS2_CALL *
+		get_soap_version)(axis2_soap_body_t *body,
+                          axis2_env_t **env);
                                                       
                                                      
         /**
-         * build the soap body completely 
+         * 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)(axis2_soap_body_t *body, 
-                                           axis2_env_t **env);                                                 
+        axis2_status_t (AXIS2_CALL *
+		build)(axis2_soap_body_t *body, 
+               axis2_env_t **env);                                                 
                                                        
 };                                                      
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_envelope.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_envelope.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_envelope.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_envelope.h Sun Mar 19 19:55:55 2006
@@ -58,18 +58,18 @@
          * @param env environment must not be null
          * @return soap header null it no header is present
          */
-        struct axis2_soap_header* (AXIS2_CALL *get_header)
-                                            (axis2_soap_envelope_t *envelope,
-                                             axis2_env_t **env);
+        struct axis2_soap_header* (AXIS2_CALL *
+		get_header)(axis2_soap_envelope_t *envelope,
+                    axis2_env_t **env);
         /**
          * Returns the soap body associated with this soap envelope
          * @param envelope soap_envelope
          * @param env environment
          * @return soap_body
          */
-        struct axis2_soap_body* (AXIS2_CALL *get_body)
-                                        (axis2_soap_envelope_t *envelope,
-                                         axis2_env_t **env);
+        struct axis2_soap_body* (AXIS2_CALL *
+		get_body)(axis2_soap_envelope_t *envelope,
+                  axis2_env_t **env);
         /**
          * serialize function , serialize the soap envelope 
          * IF the soap version it set to soap11 the soap fault part is converted 
@@ -81,11 +81,12 @@
          * @return status code , AXIS2_SUCCESS if success ,
          *                 AXIS2_FAILURE otherwise
          */
-        axis2_status_t (AXIS2_CALL *serialize)
-                                        (axis2_soap_envelope_t *envelope,
-                                         axis2_env_t **env,
-                                         axis2_om_output_t *om_output, 
-                                         axis2_bool_t cache);
+        axis2_status_t (AXIS2_CALL *
+		serialize)(axis2_soap_envelope_t *envelope,
+                   axis2_env_t **env,
+                   axis2_om_output_t *om_output, 
+                   axis2_bool_t cache);
+		
         /**
          * Free function, This function deallocate all the resources associated 
          * with the soap_envelope
@@ -95,17 +96,19 @@
          * @param env environment
          * @return status code AXIS2_SUCCESS on success , AXIS2_FAILURE otherwise
          */         
-        axis2_status_t (AXIS2_CALL *free)(axis2_soap_envelope_t *envelope,
-                                          axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free)(axis2_soap_envelope_t *envelope,
+              axis2_env_t **env);
+			  
         /**
          * returns the om_node associated with this soap envelope
          * @param envelope soap_envelope
          * @param env environment
          * @return axis2_om_node_t pointer
          */
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                        (axis2_soap_envelope_t *envelope,
-                                         axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_envelope_t *envelope,
+                       axis2_env_t **env);
 
            
         /** returns the soap version of this soap envelope
@@ -113,25 +116,26 @@
          * @param env environment must not be null
          * @return soap_version AXIS2_SOAP12 or AXIS2_SOAP11
          */         
-        int (AXIS2_CALL *get_soap_version)(axis2_soap_envelope_t *envelope,
-                                           axis2_env_t **env);
+        int (AXIS2_CALL *
+		get_soap_version)(axis2_soap_envelope_t *envelope,
+                          axis2_env_t **env);
                    
         /**
          * set soap version, This is internal function do not use outside of soap
          */         
-        axis2_status_t (AXIS2_CALL *set_soap_version)
-                                          (axis2_soap_envelope_t *envelope,
-                                           axis2_env_t **env,
-                                           int soap_version);
+        axis2_status_t (AXIS2_CALL *
+		set_soap_version)(axis2_soap_envelope_t *envelope,
+                          axis2_env_t **env,
+                          int soap_version);
      
         /** return the soap envelope namespace 
          * @param envelope 
          * @param env 
          * @return axis2_om_namespace_t 
          */                                                
-        axis2_om_namespace_t* (AXIS2_CALL *get_namespace)
-                                                (axis2_soap_envelope_t *envelope,
-                                                 axis2_env_t **env);
+        axis2_om_namespace_t* (AXIS2_CALL *
+		get_namespace)(axis2_soap_envelope_t *envelope,
+                       axis2_env_t **env);
      
     };
 
@@ -151,7 +155,8 @@
   * @param env Environment. MUST NOT be NULL
   */
 AXIS2_DECLARE(axis2_soap_envelope_t*)
-axis2_soap_envelope_create(axis2_env_t **env, axis2_om_namespace_t *ns);
+axis2_soap_envelope_create(axis2_env_t **env, 
+						   axis2_om_namespace_t *ns);
 
 AXIS2_DECLARE(axis2_soap_envelope_t *)
 axis2_soap_envelope_create_default_soap_envelope(axis2_env_t **env,
@@ -164,15 +169,10 @@
 
 #define AXIS2_SOAP_ENVELOPE_GET_HEADER(envelope, env) \
         ((envelope)->ops->get_header(envelope, env))
-/*        
-#define AXIS2_SOAP_ENVELOPE_ADD_HEADER(envelope, env, namespace_uri, name) \
-        ((envelope)->ops->add_header(envelope, env, namespace_uri, name))
-*/        
+
 #define AXIS2_SOAP_ENVELOPE_GET_BODY(envelope, env) \
         ((envelope)->ops->get_body(envelope, env))
-/**
- *   serialize soap envelope
- */
+
 #define AXIS2_SOAP_ENVELOPE_SERIALIZE(envelope, env, om_output, cache) \
         ((envelope)->ops->serialize(envelope, env, om_output, cache))
         

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault.h Sun Mar 19 19:55:55 2006
@@ -63,54 +63,95 @@
         * Free an axis2_soap_fault
         * @param  fault pointer to soap_fault struct
         * @param  env Environment. MUST NOT be NULL
-        * @return satus of the op. AXIS2_SUCCESS on success 
+        * @return status of the op. AXIS2_SUCCESS on success 
         *         else AXIS2_FAILURE
         */
 
-        axis2_status_t (AXIS2_CALL *free_fn)(axis2_soap_fault_t *fault,
-                                             axis2_env_t **env);
-       
-        /**
-         *  internal function set a pointer in soap fault struct
-         *  to code struct
-         */
-
-                                              
-        struct axis2_soap_fault_code * (AXIS2_CALL *get_code)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env);
-                                         
-                                              
-        struct axis2_soap_fault_reason *(AXIS2_CALL *get_reason)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_fault_t *fault,
+                 axis2_env_t **env);
+	   /**
+        * this function returns a axis2_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 axis2_soap_fault_code * (AXIS2_CALL *
+		get_code)(axis2_soap_fault_t *fault,
+                  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 axis2_soap_fault_reason *(AXIS2_CALL *
+		get_reason)(axis2_soap_fault_t *fault,
+                    axis2_env_t **env);
                                              
-                                              
-        struct axis2_soap_fault_node* (AXIS2_CALL *get_node)
-                                             (axis2_soap_fault_t *fault,
-                                              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 axis2_soap_fault_node* (AXIS2_CALL *
+		get_node)(axis2_soap_fault_t *fault,
+                  axis2_env_t **env);
                                              
-                                              
-        struct axis2_soap_fault_role* (AXIS2_CALL *get_role)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env);
-
-        struct axis2_soap_fault_detail* (AXIS2_CALL *get_detail)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env);  
-                                              
-        axis2_char_t * (AXIS2_CALL *get_exception)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env);
-                                              
-        axis2_status_t (AXIS2_CALL *set_exception)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env,
-                                              axis2_char_t *exception);                                                                                             
-        
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                             (axis2_soap_fault_t *fault,
-                                              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 axis2_soap_fault_role* (AXIS2_CALL *
+		get_role)(axis2_soap_fault_t *fault,
+                  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 axis2_soap_fault_detail* (AXIS2_CALL *
+		get_detail)(axis2_soap_fault_t *fault,
+                    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)(axis2_soap_fault_t *fault,
+                       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) (axis2_soap_fault_t *fault,
+                        axis2_env_t **env,
+                        axis2_char_t *exception);                                                                                             
+	  /**
+       * returns the axis2_om_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  axis2_om_node_t struct if an om node is associated 
+       * with this soap fault struct, otherwise return NULL
+       */
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_fault_t *fault,
+                       axis2_env_t **env);  
                                                      
     };
 
@@ -125,16 +166,31 @@
        
     };
 
-  /**
-    * creates a soap struct 
-    * @param env Environment. MUST NOT be NULL
-    */
+/**
+ * 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 axis2_soap_fault_t struct on success
+ *  otherwise return NULL with error code set in environments error
+ */
 
     
 AXIS2_DECLARE(axis2_soap_fault_t *)
 axis2_soap_fault_create_with_parent(axis2_env_t **env,
                                     struct axis2_soap_body *parent);
-                                        
+
+/** create an returns a axis2_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 axis2_soap_fault_t on success ,
+ * otherwise return NULL
+ */
+
 AXIS2_DECLARE(axis2_soap_fault_t *)
 axis2_soap_fault_create_with_exception(axis2_env_t **env,
                                         struct axis2_soap_body *parent,  

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_code.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_code.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_code.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_code.h Sun Mar 19 19:55:55 2006
@@ -55,21 +55,28 @@
         * @return satus of the op. AXIS2_SUCCESS on success 
         *         else AXIS2_FAILURE
         */
-        axis2_status_t (AXIS2_CALL *free_fn)
-                                    (axis2_soap_fault_code_t *fault_code,
-                                     axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_fault_code_t *fault_code,
+                 axis2_env_t **env);
+	   /**
+		* @returns axis2_soap_fault_sub_code struct if one is associated with
+		* this fault_code struct , otherwise teturns NULL
+		*/
         
-        struct axis2_soap_fault_sub_code* (AXIS2_CALL *get_sub_code)                                         
-                                    (axis2_soap_fault_code_t *fault_code,
-                                     axis2_env_t **env);
+        struct axis2_soap_fault_sub_code* (AXIS2_CALL *
+		get_sub_code)(axis2_soap_fault_code_t *fault_code,
+                      axis2_env_t **env);
                                      
+	   /**
+        * @returns soap_fault_value if available
+		*/		
         struct axis2_soap_fault_value* (AXIS2_CALL *get_value)                                         
                                     (axis2_soap_fault_code_t *fault_code,
                                      axis2_env_t **env);
                                      
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                    (axis2_soap_fault_code_t *fault_code,
-                                     axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_fault_code_t *fault_code,
+                       axis2_env_t **env);
                                  
 };      
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h Sun Mar 19 19:55:55 2006
@@ -54,22 +54,22 @@
         *         else AXIS2_FAILURE
         */
 
-        axis2_status_t (AXIS2_CALL *free_fn)
-                                (axis2_soap_fault_detail_t *fault_detail,
-                                 axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_fault_detail_t *fault_detail,
+                 axis2_env_t **env);
                                      
-        axis2_status_t (AXIS2_CALL *add_detail_entry)
-                                (axis2_soap_fault_detail_t *fault_detail,
-                                 axis2_env_t **env,
-                                 axis2_om_node_t *ele_node);
+        axis2_status_t (AXIS2_CALL *
+		add_detail_entry)(axis2_soap_fault_detail_t *fault_detail,
+                          axis2_env_t **env,
+                          axis2_om_node_t *ele_node);
                                  
-        axis2_om_children_iterator_t* (AXIS2_CALL *get_all_detail_entries)
-                                (axis2_soap_fault_detail_t *fault_detail,
+        axis2_om_children_iterator_t* (AXIS2_CALL *
+		get_all_detail_entries) (axis2_soap_fault_detail_t *fault_detail,
                                  axis2_env_t **env); 
 
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                (axis2_soap_fault_detail_t *fault_code,
-                                 axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_fault_detail_t *fault_code,
+                       axis2_env_t **env);
         
     };      
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_node.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_node.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_node.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_node.h Sun Mar 19 19:55:55 2006
@@ -51,22 +51,22 @@
         *         else AXIS2_FAILURE
         */
 
-        axis2_status_t (AXIS2_CALL *free_fn)
-                                   (axis2_soap_fault_node_t *fault_node,
-                                    axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn) (axis2_soap_fault_node_t *fault_node,
+                  axis2_env_t **env);
 
-        axis2_status_t (AXIS2_CALL *set_value)
-                                   (axis2_soap_fault_node_t *fault_node,
-                                    axis2_env_t **env,
-                                    axis2_char_t *fault_val);
+        axis2_status_t (AXIS2_CALL *
+		set_value)(axis2_soap_fault_node_t *fault_node,
+                   axis2_env_t **env,
+                   axis2_char_t *fault_val);
                                      
-        axis2_char_t* (AXIS2_CALL *get_value)                                         
-                                   (axis2_soap_fault_node_t *fault_node,
-                                    axis2_env_t **env);
+        axis2_char_t* (AXIS2_CALL *
+		get_value)(axis2_soap_fault_node_t *fault_node,
+                   axis2_env_t **env);
     
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                   (axis2_soap_fault_node_t *fault_node,
-                                    axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_fault_node_t *fault_node,
+                       axis2_env_t **env);
     };      
 
   /**

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h Sun Mar 19 19:55:55 2006
@@ -53,33 +53,18 @@
         *         else AXIS2_FAILURE
         */
 
-        axis2_status_t (AXIS2_CALL *free_fn)
-                                (axis2_soap_fault_reason_t *fault_reason,
-                                 axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_fault_reason_t *fault_reason,
+                 axis2_env_t **env);
 
-        struct axis2_soap_fault_text* (AXIS2_CALL *get_soap_fault_text)                                         
-                                (axis2_soap_fault_reason_t *fault_reason,
-                                 axis2_env_t **env);
+        struct axis2_soap_fault_text* (AXIS2_CALL *
+		get_soap_fault_text)(axis2_soap_fault_reason_t *fault_reason,
+                             axis2_env_t **env);
                                      
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                (axis2_soap_fault_reason_t *fault_reason,
-                                 axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_fault_reason_t *fault_reason,
+                       axis2_env_t **env);
                                  
-        /** internal functions , do not use */
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                (axis2_soap_fault_reason_t *fault_reason,
-                                 axis2_env_t **env,
-                                 axis2_om_node_t *node);
-    
-        axis2_status_t (AXIS2_CALL *set_soap_fault_text)
-                                (axis2_soap_fault_reason_t *fault_reason,
-                                 axis2_env_t **env,
-                                 struct axis2_soap_fault_text *soap_text);      
-      
-        axis2_status_t (AXIS2_CALL *set_builder)
-                                (axis2_soap_fault_reason_t *fault_reason,
-                                 axis2_env_t **env,
-                                 struct axis2_soap_builder *builder);                                                                                                                
     };      
 
   /**

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_role.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_role.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_role.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_role.h Sun Mar 19 19:55:55 2006
@@ -52,22 +52,22 @@
         *         else AXIS2_FAILURE
         */
 
-        axis2_status_t (AXIS2_CALL *free_fn)
-                                    (axis2_soap_fault_role_t *fault_role,
-                                     axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_fault_role_t *fault_role,
+                 axis2_env_t **env);
 
-        axis2_status_t (AXIS2_CALL *set_role_value)
-                                    (axis2_soap_fault_role_t *fault_role,
-                                     axis2_env_t **env,
-                                     axis2_char_t* uri);
+        axis2_status_t (AXIS2_CALL *
+		set_role_value)(axis2_soap_fault_role_t *fault_role,
+                        axis2_env_t **env,
+                        axis2_char_t* uri);
                                      
-        axis2_char_t* (AXIS2_CALL *get_role_value)                                         
-                                    (axis2_soap_fault_role_t *fault_role,
-                                     axis2_env_t **env);
+        axis2_char_t* (AXIS2_CALL *
+		get_role_value)(axis2_soap_fault_role_t *fault_role,
+                        axis2_env_t **env);
                                      
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                    (axis2_soap_fault_role_t *fault_role,
-                                     axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_fault_role_t *fault_role,
+                       axis2_env_t **env);
                                                                                                                    
     };      
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h Sun Mar 19 19:55:55 2006
@@ -53,21 +53,21 @@
         * @return satus of the op. AXIS2_SUCCESS on success 
         *         else AXIS2_FAILURE
         */
-        axis2_status_t (AXIS2_CALL *free_fn)
-                             (axis2_soap_fault_sub_code_t *fault_sub_code,
-                              axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_fault_sub_code_t *fault_sub_code,
+                 axis2_env_t **env);
                                      
-        axis2_soap_fault_sub_code_t* (AXIS2_CALL *get_sub_code)                                         
-                             (axis2_soap_fault_sub_code_t *fault_sub_code,
-                              axis2_env_t **env);
+        axis2_soap_fault_sub_code_t* (AXIS2_CALL *
+		get_sub_code)(axis2_soap_fault_sub_code_t *fault_sub_code,
+                      axis2_env_t **env);
                                      
-        struct axis2_soap_fault_value* (AXIS2_CALL *get_value)                                         
-                             (axis2_soap_fault_sub_code_t *fault_sub_code,
-                              axis2_env_t **env);
+        struct axis2_soap_fault_value* (AXIS2_CALL *
+		get_value)(axis2_soap_fault_sub_code_t *fault_sub_code,
+                   axis2_env_t **env);
                                      
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                             (axis2_soap_fault_sub_code_t *fault_sub_code,
-                              axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node) (axis2_soap_fault_sub_code_t *fault_sub_code,
+                        axis2_env_t **env);
 
         };      
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_text.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_text.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_text.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_text.h Sun Mar 19 19:55:55 2006
@@ -51,22 +51,22 @@
         *         else AXIS2_FAILURE
         */
 
-        axis2_status_t (AXIS2_CALL *free_fn)
-                                    (axis2_soap_fault_text_t *fault_text,
-                                     axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_fault_text_t *fault_text,
+                 axis2_env_t **env);
 
-        axis2_status_t (AXIS2_CALL *set_lang)
-                                    (axis2_soap_fault_text_t *fault_text,
-                                     axis2_env_t **env,
-                                     axis2_char_t* lang);
+        axis2_status_t (AXIS2_CALL *
+		set_lang)(axis2_soap_fault_text_t *fault_text,
+                  axis2_env_t **env,
+                  axis2_char_t* lang);
                                      
-        axis2_char_t* (AXIS2_CALL *get_lang)                                         
-                                    (axis2_soap_fault_text_t *fault_text,
-                                     axis2_env_t **env);
+        axis2_char_t* (AXIS2_CALL *
+		get_lang)(axis2_soap_fault_text_t *fault_text,
+                  axis2_env_t **env);
     
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                (axis2_soap_fault_text_t *fault_text,
-                                 axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_fault_text_t *fault_text,
+                       axis2_env_t **env);
     };      
 
   /**

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_value.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_value.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_value.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_value.h Sun Mar 19 19:55:55 2006
@@ -52,13 +52,13 @@
         *         else AXIS2_FAILURE
         */
 
-        axis2_status_t (AXIS2_CALL *free_fn)
-                            (axis2_soap_fault_value_t *fault_value,
-                             axis2_env_t **env);
-
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                             (axis2_soap_fault_value_t *fault_value,
-                              axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_fault_value_t *fault_value,
+                 axis2_env_t **env);
+
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_fault_value_t *fault_value,
+                       axis2_env_t **env);
                               
     };      
 
@@ -98,8 +98,6 @@
 #define AXIS2_SOAP_FAULT_VALUE_GET_BASE_NODE(fault_value, env) \
         ((fault_value)->ops->get_base_node(fault_value, env))         
 
-
-        
 /** @} */
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/axis2_soap_header.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_header.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_header.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_header.h Sun Mar 19 19:55:55 2006
@@ -61,8 +61,9 @@
         * @return satus of the op. AXIS2_SUCCESS on success 
         *         else AXIS2_FAILURE
         */
-        axis2_status_t (AXIS2_CALL *free_fn)(axis2_soap_header_t *header,
-                                             axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_header_t *header,
+                 axis2_env_t **env);
                                              
        /**
         * create a new axis2_soap_header_block_t struct initialized  with the
@@ -72,12 +73,12 @@
         * @param ns
         * @return The newly created axis2_soap_header_block_t struct
         */
-        struct axis2_soap_header_block* (AXIS2_CALL *add_header_block)
-                                        (axis2_soap_header_t* header,
-                                         axis2_env_t **env,
-                                         axis2_char_t *localname,
-                                         axis2_om_namespace_t *ns); 
-        /**
+        struct axis2_soap_header_block* (AXIS2_CALL *
+		add_header_block)(axis2_soap_header_t* header,
+		        		  axis2_env_t **env,
+						  axis2_char_t *localname,
+						  axis2_om_namespace_t *ns); 
+       /**
         * returns a hash_table of all the soap_header_block_t  struct in this
         * soap_header_t  object that have the the specified actor. An
         * actor is a global attribute that indicates the intermediate parties to
@@ -87,23 +88,23 @@
         * axis2_soap_header_t struct the message is sent to its ultimate
         * destination.
         */
-        axis2_hash_t* (AXIS2_CALL *examine_header_blocks)
-                                        (axis2_soap_header_t* header,
-                                         axis2_env_t **env,
-                                         axis2_char_t* param_role);
+        axis2_hash_t* (AXIS2_CALL *
+		examine_header_blocks)(axis2_soap_header_t* header,
+                               axis2_env_t **env,
+                               axis2_char_t* param_role);
        /**
         * returns an arraylist of header_blocks which has a given namesapce uri
         * @param header 
-        * @param env environment must not be null
+        * @param env envirbonment must not be null
         * @param ns_uri namespace uri 
         * @return pointer to axis2_array_list_t, or null if no header_blocks with
         * given namespace uri exists
         * The returned array_list must be freed by the user.
         */
-        axis2_array_list_t* (AXIS2_CALL *get_header_blocks_with_namespace_uri)
-                                        (axis2_soap_header_t* header,
-                                         axis2_env_t **env,
-                                         axis2_char_t *ns_uri);
+        axis2_array_list_t* (AXIS2_CALL *
+		get_header_blocks_with_namespace_uri)(axis2_soap_header_t* header,
+                                              axis2_env_t **env,
+                                         	  axis2_char_t *ns_uri);
        /**
         * returns an iterator to iterate through all soap header block's om nodes 
         * @param header 
@@ -111,9 +112,9 @@
         * @returns axis2_om_children_qname_iterator_t or null if no header blocks 
         * present
         */
-        axis2_om_children_qname_iterator_t* (AXIS2_CALL *examine_all_header_blocks)
-                                        (axis2_soap_header_t* header,
-                                         axis2_env_t **env);
+        axis2_om_children_qname_iterator_t* (AXIS2_CALL *
+		examine_all_header_blocks)(axis2_soap_header_t* header,
+                                   axis2_env_t **env);
        /**
         * returns an iterator to iterate through all  header blocks om_nodes 
         * with the matching role attribute
@@ -123,10 +124,10 @@
         * @returns iterator or null if no header blocks present with matching 
         * role attribute
         */
-        axis2_om_children_with_specific_attribute_iterator_t *
-            (AXIS2_CALL *extract_header_blocks)(axis2_soap_header_t *header,
-                                                axis2_env_t **env,
-                                                axis2_char_t *role);
+        axis2_om_children_with_specific_attribute_iterator_t *(AXIS2_CALL *
+		extract_header_blocks)(axis2_soap_header_t *header,
+                               axis2_env_t **env,
+                               axis2_char_t *role);
                                          
        /**
         * returns the axis2_om_node_t struct wrapped in soap_header
@@ -134,23 +135,26 @@
         * @param env environment must not be null
         * @return axis2_om_node_t
         */
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                                            (axis2_soap_header_t *header,
-                                             axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_header_t *header,
+                       axis2_env_t **env);
         /**
          *  return the soap_version of this soap_header
          *  @param header soap_header
          *  @param env environment must not be null
          *  @return AXIS2_SOAP11 or AXIS2_SOAP12
          */
-       int  (AXIS2_CALL *get_soap_version) (axis2_soap_header_t *header,
-                                             axis2_env_t **env);
+       int  (AXIS2_CALL *
+	   get_soap_version) (axis2_soap_header_t *header,
+                          axis2_env_t **env);
         
          
-       
-
-       axis2_hash_t* (AXIS2_CALL *get_all_header_blocks)(axis2_soap_header_t *header,
-                                                         axis2_env_t **env);                                                
+       /**
+	    * @returns a hash table of all header_blocks in this header
+		*/
+       axis2_hash_t* (AXIS2_CALL *
+	   get_all_header_blocks)(axis2_soap_header_t *header,
+                               axis2_env_t **env);                                                
                                          
     };
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_header_block.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_header_block.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_header_block.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_header_block.h Sun Mar 19 19:55:55 2006
@@ -55,62 +55,64 @@
         * @return satus of the op. AXIS2_SUCCESS on success 
         *         else AXIS2_FAILURE
         */
-        axis2_status_t (AXIS2_CALL *free_fn)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_header_block_t *header_block,
+                 axis2_env_t **env);
                                              
-        axis2_status_t (AXIS2_CALL *set_role)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env,
-                             axis2_char_t *uri);  
+        axis2_status_t (AXIS2_CALL *
+		set_role)(axis2_soap_header_block_t *header_block,
+                  axis2_env_t **env,
+                  axis2_char_t *uri);  
         
-        axis2_status_t (AXIS2_CALL *set_must_understand_with_bool)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env,
-                             axis2_bool_t *must_understand);
+        axis2_status_t (AXIS2_CALL *
+		set_must_understand_with_bool)(axis2_soap_header_block_t *header_block,
+                             		   axis2_env_t **env,
+                             	 	   axis2_bool_t *must_understand);
                              
-        axis2_status_t (AXIS2_CALL *set_must_understand_with_string)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env,
-                             axis2_char_t *must_understand);
+        axis2_status_t (AXIS2_CALL *
+		set_must_understand_with_string)(axis2_soap_header_block_t *header_block,
+                             			 axis2_env_t **env,
+                             			 axis2_char_t *must_understand);
                                              
-        axis2_bool_t (AXIS2_CALL *get_must_understand)
-                            (axis2_soap_header_block_t *header_block,
+        axis2_bool_t (AXIS2_CALL *
+		get_must_understand)(axis2_soap_header_block_t *header_block,
                              axis2_env_t **env);
                              
                              
-        axis2_bool_t (AXIS2_CALL *is_processed)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env);
+        axis2_bool_t (AXIS2_CALL *
+		is_processed)(axis2_soap_header_block_t *header_block,
+                      axis2_env_t **env);
                              
-        axis2_status_t (AXIS2_CALL *set_processed)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env);                                                                                                                                                                                    
-        axis2_char_t* (AXIS2_CALL *get_role)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		set_processed)(axis2_soap_header_block_t *header_block,
+                       axis2_env_t **env);
+					   
+        axis2_char_t* (AXIS2_CALL *
+		get_role)(axis2_soap_header_block_t *header_block,
+                  axis2_env_t **env);
           
-        axis2_status_t (AXIS2_CALL *set_attribute)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env,
-                             axis2_char_t *attr_name,
-                             axis2_char_t *attr_value,
-                             axis2_char_t *soap_envelope_namespace_uri);
+        axis2_status_t (AXIS2_CALL *
+		set_attribute)(axis2_soap_header_block_t *header_block,
+                       axis2_env_t **env,
+                       axis2_char_t *attr_name,
+                       axis2_char_t *attr_value,
+                       axis2_char_t *soap_envelope_namespace_uri);
+					   
                              
-        axis2_char_t* (AXIS2_CALL *get_attribute)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env,
-                             axis2_char_t *attr_name,
-                             axis2_char_t *soap_envelope_namespace_uri);                            
+        axis2_char_t* (AXIS2_CALL *
+		get_attribute)(axis2_soap_header_block_t *header_block,
+                       axis2_env_t **env,
+                       axis2_char_t *attr_name,
+                       axis2_char_t *soap_envelope_namespace_uri);                            
                                        
                                               
-        axis2_om_node_t* (AXIS2_CALL *get_base_node)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env);
+        axis2_om_node_t* (AXIS2_CALL *
+		get_base_node)(axis2_soap_header_block_t *header_block,
+                       axis2_env_t **env);
         
-        int (AXIS2_CALL *get_soap_version)  
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env);
+        int (AXIS2_CALL *
+		get_soap_version)(axis2_soap_header_block_t *header_block,
+                          axis2_env_t **env);
 
     };
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_message.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_message.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_message.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_message.h Sun Mar 19 19:55:55 2006
@@ -55,20 +55,17 @@
         *         else AXIS2_FAILURE
         */
 
-        axis2_status_t (AXIS2_CALL *free_fn)(axis2_soap_message_t *message,
-                                             axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		free_fn)(axis2_soap_message_t *message,
+                 axis2_env_t **env);
                                              
-        axis2_soap_envelope_t* (AXIS2_CALL *get_soap_envelope)
-                                            (axis2_soap_message_t *message,
-                                             axis2_env_t **env);
+        axis2_soap_envelope_t* (AXIS2_CALL *
+		get_soap_envelope)(axis2_soap_message_t *message,
+                           axis2_env_t **env);
                                              
-        axis2_status_t (AXIS2_CALL *set_soap_envelope)
-                                            (axis2_soap_message_t *message,
-                                             axis2_env_t **env,
-                                             axis2_soap_envelope_t *envelope);
-                                             
-        axis2_status_t (AXIS2_CALL *serialize)(axis2_soap_message_t *message,
-                                               axis2_env_t **env);
+        axis2_status_t (AXIS2_CALL *
+		serialize)(axis2_soap_message_t *message,
+                   axis2_env_t **env);
                                                        
                                                                                             
     };
@@ -103,9 +100,6 @@
 #define AXIS2_SOAP_MESSAGE_GET_SOAP_ENVELOPE(message, env) \
         ((message)->ops->get_envelope(message, env))
         
-#define AXIS2_SOAP_MESSAGE_SET_SOAP_ENVELOPE(message, env, envelope) \
-        ((message)->ops->set_envelope(message, env, envelope)) 
-        
 #define AXIS2_SOAP_MESSAGE_SERIALIZE(message, env) \
         ((message)->ops->serialize(message, env))
 /** @} */
@@ -117,4 +111,3 @@
  
  
 #endif /* AXIS2_SOAP_MESSAGE_H */
-

Modified: webservices/axis2/trunk/c/include/axis2_stream.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_stream.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_stream.h (original)
+++ webservices/axis2/trunk/c/include/axis2_stream.h Sun Mar 19 19:55:55 2006
@@ -65,11 +65,13 @@
    	 * Deletes the stream
 	 * @return axis2_status_t AXIS2_SUCCESS on success else AXIS2_FAILURE
 	 */
-   	axis2_status_t (AXIS2_CALL *free)(axis2_stream_t *stream, axis2_env_t **env);
+   	axis2_status_t (AXIS2_CALL *
+	free)(axis2_stream_t *stream, 
+		  axis2_env_t **env);
    	
     axis2_status_t (AXIS2_CALL *
     free_void_arg) (void *stream, 
-            axis2_env_t **env);
+            		axis2_env_t **env);
    
   	/**
 	 * reads from stream
@@ -78,30 +80,40 @@
 	 * @return no: of bytes read
 	 */
    
-	int (AXIS2_CALL *read) (axis2_stream_t *stream, axis2_env_t **env, 
-						void *buffer, size_t count);
+	int (AXIS2_CALL *
+	read) (axis2_stream_t *stream, 
+		   axis2_env_t **env, 
+		   void *buffer, 
+		   size_t count);
 	/**
 	 * writes into stream
 	 * @param buffer buffer to be written
 	 * @param count size of the buffer
 	 * @return no: of bytes actually written
 	 */
-	int (AXIS2_CALL *write) (axis2_stream_t *stream, 
-						axis2_env_t **env, const void *buffer, size_t count);
+	int (AXIS2_CALL *
+	write) (axis2_stream_t *stream, 
+			axis2_env_t **env, 
+			const void *buffer, 
+			size_t count);
    	/**
 	 * Skips over and discards n bytes of data from this input stream.
 	 * @param count number of bytes to be discarded
 	 * @return no: of bytes actually skipped
 	 */
-	int (AXIS2_CALL *skip) (axis2_stream_t *stream, axis2_env_t **env, 
-						int count);
+	int (AXIS2_CALL *
+	skip) (axis2_stream_t *stream, 
+		   axis2_env_t **env, 
+		   int count);
 						
 	/**
 	 * Reads  the next character from stream and returns it as an unsigned char 
 	 * cast to an int, or EOF on end of file or error.
 	 * @return next character in the stream
 	 */
-	int (AXIS2_CALL *get_char) (axis2_stream_t *stream, axis2_env_t **env);
+	int (AXIS2_CALL *
+	get_char) (axis2_stream_t *stream, 
+	           axis2_env_t **env);
 	
 	/**
 	 * Pushes a character back to stream, cast to unsigned char, where it is 
@@ -109,22 +121,27 @@
 	 * @param charachter to be pushed
 	 * @return the pushed character or EOF if an error
 	 */
-	int (AXIS2_CALL *unget_char) (axis2_stream_t *stream, axis2_env_t **env, 
-						int ch);
+	int (AXIS2_CALL *
+	unget_char) (axis2_stream_t *stream, 
+				 axis2_env_t **env, 
+				 int ch);
 
 	/**
 	 * Returns the length of the stream (applicable only to basic stream)
 	 * @return Length of the buffer if its type is basic, else -1
 	 * (we can't define a length of a stream unless it is just a buffer)
 	 */
-	int (AXIS2_CALL *get_len) (axis2_stream_t *stream, axis2_env_t **env);
+	int (AXIS2_CALL *
+	get_len) (axis2_stream_t *stream, 
+	          axis2_env_t **env);
 	
 	/**
 	 * Returns the type of the stream as axis2_stream_type_t
 	 * @return Type of the stream
 	 */
-	axis2_stream_type_t (AXIS2_CALL *get_type) (axis2_stream_t *stream, 
-						axis2_env_t **env); 
+	axis2_stream_type_t (AXIS2_CALL *
+	get_type) (axis2_stream_t *stream, 
+			   axis2_env_t **env); 
 	
 };
 
@@ -176,17 +193,22 @@
 
 #define AXIS2_STREAM_READ(stream, env, buffer, count) \
 		((stream)->ops->read(stream, env, buffer, count))
+		
 #define AXIS2_STREAM_WRITE(stream, env, buffer, count) \
 		((stream)->ops->write(stream, env, buffer, count))
+		
 #define AXIS2_STREAM_SKIP(stream, env, count) \
 		((stream)->ops->write(stream, env, count))
+		
 #define AXIS2_STREAM_GET_CHAR(stream, env) \
 		((stream)->ops->get_char(stream, env))
+		
 #define AXIS2_STREAM_UNGET_CHAR(stream, env, ch) \
 		((stream)->ops->unget_char(stream, env, ch))
 
 #define AXIS2_STREAM_BASIC_GET_LEN(stream, env) \
 		((stream)->ops->get_len(stream, env))
+		
 #define AXIS2_STREAM_GET_TYPE(stream, env)\
         ((stream)->ops->get_type(stream, env))
 /** @} */

Modified: webservices/axis2/trunk/c/include/axis2_svc_ctx.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_svc_ctx.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_ctx.h Sun Mar 19 19:55:55 2006
@@ -47,35 +47,57 @@
  */  
 struct axis2_svc_ctx_ops
 {
-    axis2_ctx_t* (AXIS2_CALL *get_base)(struct axis2_svc_ctx *svc_ctx, 
-                                                axis2_env_t **env);
-    struct axis2_svc_grp_ctx* (AXIS2_CALL *get_parent)(struct axis2_svc_ctx *svc_ctx, 
-                                                axis2_env_t **env);
-    axis2_status_t (AXIS2_CALL *free)(struct axis2_svc_ctx *svc_ctx, 
-                                                axis2_env_t **env);
+    axis2_ctx_t* (AXIS2_CALL *
+	get_base)(struct axis2_svc_ctx *svc_ctx,
+			  axis2_env_t **env);
+	
+	
+    struct axis2_svc_grp_ctx* (AXIS2_CALL *
+	get_parent)(struct axis2_svc_ctx *svc_ctx,
+				axis2_env_t **env);
+	
+	
+    axis2_status_t (AXIS2_CALL *
+	free)(struct axis2_svc_ctx *svc_ctx,
+		  axis2_env_t **env);
+	
+	
     /**
      * The method is used to do the intialization of the EngineContext
      */
-    axis2_status_t (AXIS2_CALL *init)(struct axis2_svc_ctx *svc_ctx, 
-                                                axis2_env_t **env,
-                                                struct axis2_conf *conf);
+    axis2_status_t (AXIS2_CALL *
+	init)(struct axis2_svc_ctx *svc_ctx, 
+          axis2_env_t **env,
+	      struct axis2_conf *conf);
+			  
+		  
     /**
      * @return Returns the svc_id.
      */
-    axis2_char_t* (AXIS2_CALL *get_svc_id)(struct axis2_svc_ctx *svc_ctx, 
-                                                axis2_env_t **env);
-    struct axis2_svc* (AXIS2_CALL *get_svc)(struct axis2_svc_ctx *svc_ctx, 
-                                                axis2_env_t **env);
-
+    axis2_char_t* (AXIS2_CALL *
+	get_svc_id)(struct axis2_svc_ctx *svc_ctx,
+		        axis2_env_t **env);
+	
+	
+    struct axis2_svc* (AXIS2_CALL *
+	get_svc)(struct axis2_svc_ctx *svc_ctx,
+             axis2_env_t **env);
+	
     axis2_status_t (AXIS2_CALL *
     set_svc) (axis2_svc_ctx_t *svc_ctx,
-                        axis2_env_t **env,
-                        struct axis2_svc *svc);
+              axis2_env_t **env,
+              struct axis2_svc *svc);
+				  
 
-    struct axis2_conf_ctx* (AXIS2_CALL *get_conf_ctx)(struct axis2_svc_ctx *svc_ctx, 
-                                                axis2_env_t **env);
-    struct axis2_op_ctx* (AXIS2_CALL *create_op_ctx)(struct axis2_svc_ctx *svc_ctx, 
-                                                axis2_env_t **env, axis2_qname_t *qname);
+    struct axis2_conf_ctx* (AXIS2_CALL *
+	get_conf_ctx)(struct axis2_svc_ctx *svc_ctx, 
+                  axis2_env_t **env);
+	
+	
+    struct axis2_op_ctx* (AXIS2_CALL *
+	create_op_ctx)(struct axis2_svc_ctx *svc_ctx, 
+                   axis2_env_t **env, 
+				   axis2_qname_t *qname);
 };
 
 /** 
@@ -93,16 +115,32 @@
     
 /************************** Start of function macros **************************/
 
-#define AXIS2_SVC_CTX_GET_BASE(svc_ctx, env) ((svc_ctx)->ops->get_base(svc_ctx, env))
-#define AXIS2_SVC_CTX_GET_PARENT(svc_ctx, env) ((svc_ctx)->ops->get_parent(svc_ctx, env))
-#define AXIS2_SVC_CTX_FREE(svc_ctx, env) ((svc_ctx)->ops->free(svc_ctx, env))
-#define AXIS2_SVC_CTX_INIT(svc_ctx, env, conf) ((svc_ctx)->ops->init(svc_ctx, env, conf))
-#define AXIS2_SVC_CTX_GET_SVC_ID(svc_ctx, env) ((svc_ctx)->ops->get_svc_id(svc_ctx, env))
-#define AXIS2_SVC_CTX_GET_SVC(svc_ctx, env) ((svc_ctx)->ops->get_svc(svc_ctx, env))
+#define AXIS2_SVC_CTX_GET_BASE(svc_ctx, env) \
+		((svc_ctx)->ops->get_base(svc_ctx, env))
+	
+#define AXIS2_SVC_CTX_GET_PARENT(svc_ctx, env) \
+		((svc_ctx)->ops->get_parent(svc_ctx, env))
+	
+#define AXIS2_SVC_CTX_FREE(svc_ctx, env) \
+		((svc_ctx)->ops->free(svc_ctx, env))
+	
+#define AXIS2_SVC_CTX_INIT(svc_ctx, env, conf) \
+		((svc_ctx)->ops->init(svc_ctx, env, conf))
+	
+#define AXIS2_SVC_CTX_GET_SVC_ID(svc_ctx, env) \
+		((svc_ctx)->ops->get_svc_id(svc_ctx, env))
+	
+#define AXIS2_SVC_CTX_GET_SVC(svc_ctx, env) \
+		((svc_ctx)->ops->get_svc(svc_ctx, env))
+	
 #define AXIS2_SVC_CTX_SET_SVC(svc_ctx, env, svc) \
         ((svc_ctx)->ops->set_svc(svc_ctx, env, svc))
-#define AXIS2_SVC_CTX_GET_CONF_CTX(svc_ctx, env) ((svc_ctx)->ops->get_conf_ctx(svc_ctx, env))
-#define AXIS2_SVC_CTX_CREATE_OP_CTX(svc_ctx, env, qname) ((svc_ctx)->ops->create_op_ctx(svc_ctx, env, qname))
+		
+#define AXIS2_SVC_CTX_GET_CONF_CTX(svc_ctx, env) \
+		((svc_ctx)->ops->get_conf_ctx(svc_ctx, env))
+	
+#define AXIS2_SVC_CTX_CREATE_OP_CTX(svc_ctx, env, qname) \
+		((svc_ctx)->ops->create_op_ctx(svc_ctx, env, qname))
     
 /************************** End of function macros ****************************/    
 

Modified: webservices/axis2/trunk/c/include/axis2_svc_grp_ctx.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_svc_grp_ctx.h?rev=387127&r1=387126&r2=387127&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_grp_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_grp_ctx.h Sun Mar 19 19:55:55 2006
@@ -49,37 +49,65 @@
  */  
 struct axis2_svc_grp_ctx_ops
 {
-    axis2_ctx_t* (AXIS2_CALL *get_base)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                                                axis2_env_t **env);
-    struct axis2_conf_ctx* (AXIS2_CALL *get_parent)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-           axis2_env_t **env);
-    axis2_status_t (AXIS2_CALL *free)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                                       axis2_env_t **env);
+    axis2_ctx_t* (AXIS2_CALL *
+	get_base)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+              axis2_env_t **env);
+	
+	
+    struct axis2_conf_ctx* (AXIS2_CALL *
+	get_parent)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+                axis2_env_t **env);
+	
+	
+    axis2_status_t (AXIS2_CALL *
+	free)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+          axis2_env_t **env);
+	
+	
     /**
      * The method is used to do the intialization of the EngineContext
      */
-    axis2_status_t (AXIS2_CALL *init)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                                        axis2_env_t **env,
-                                        struct axis2_conf *conf);
-    axis2_char_t* (AXIS2_CALL *get_id)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                            axis2_env_t **env);
-    axis2_status_t (AXIS2_CALL *set_id)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                            axis2_env_t **env, axis2_char_t *id);
+    axis2_status_t (AXIS2_CALL *
+	init)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+		  axis2_env_t **env,
+		  struct axis2_conf *conf);
+			  
+		  
+    axis2_char_t* (AXIS2_CALL *
+	get_id)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+            axis2_env_t **env);
+	
+	
+    axis2_status_t (AXIS2_CALL *
+	set_id)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+            axis2_env_t **env, 
+			axis2_char_t *id);
+	
+	
     /** if the servic name is foo:bar , you should pass only bar */
-    struct axis2_svc_ctx* (AXIS2_CALL *get_svc_ctx)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                            axis2_env_t **env,
-                            axis2_char_t *svc_name);
+    struct axis2_svc_ctx* (AXIS2_CALL *
+	get_svc_ctx)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+				 axis2_env_t **env,
+				 axis2_char_t *svc_name);
+	
     /**
      * This will create one service context per each service in descrpition
      * if service group has 2 service init , then two service contexts will be
      * created
      */
-    axis2_status_t (AXIS2_CALL *fill_svc_ctx_map)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                            axis2_env_t **env);
-    struct axis2_svc_grp* (AXIS2_CALL *get_svc_grp)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                            axis2_env_t **env);
-    axis2_hash_t* (AXIS2_CALL *get_svc_ctx_map)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
-                            axis2_env_t **env);
+    axis2_status_t (AXIS2_CALL *
+	fill_svc_ctx_map)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+                      axis2_env_t **env);
+	
+	
+    struct axis2_svc_grp* (AXIS2_CALL *
+	get_svc_grp)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+                 axis2_env_t **env);
+	
+	
+    axis2_hash_t* (AXIS2_CALL *
+	get_svc_ctx_map)(struct axis2_svc_grp_ctx *svc_grp_ctx, 
+                     axis2_env_t **env);
 };
 
 /** 
@@ -99,16 +127,35 @@
 
 /****************** Start of function macros **************************/
 
-#define AXIS2_SVC_GRP_CTX_GET_BASE(svc_grp_ctx, env) ((svc_grp_ctx)->ops->get_base(svc_grp_ctx, env))
-#define AXIS2_SVC_GRP_CTX_GET_PARENT(svc_grp_ctx, env) ((svc_grp_ctx)->ops->get_parent(svc_grp_ctx, env))
-#define AXIS2_SVC_GRP_CTX_FREE(svc_grp_ctx, env) ((svc_grp_ctx)->ops->free(svc_grp_ctx, env))
-#define AXIS2_SVC_GRP_CTX_INIT(svc_grp_ctx, env, conf) ((svc_grp_ctx)->ops->init(svc_grp_ctx, env, conf))
-#define AXIS2_SVC_GRP_CTX_GET_ID(svc_grp_ctx, env) ((svc_grp_ctx)->ops->get_id(svc_grp_ctx, env))
-#define AXIS2_SVC_GRP_CTX_SET_ID(svc_grp_ctx, env, id) ((svc_grp_ctx)->ops->set_id(svc_grp_ctx, env, id))
-#define AXIS2_SVC_GRP_CTX_GET_SVC_CTX(svc_grp_ctx, env, svc_name) ((svc_grp_ctx)->ops->get_svc_ctx(svc_grp_ctx, env, svc_name))
-#define AXIS2_SVC_GRP_CTX_FILL_SVC_CTX_MAP(svc_grp_ctx, env) ((svc_grp_ctx)->ops->fill_svc_ctx_map(svc_grp_ctx, env))
-#define AXIS2_SVC_GRP_GET_SVC_GRP(svc_grp_ctx, env) ((svc_grp_ctx)->ops->get_svc_grp(svc_grp_ctx, env))
-#define AXIS2_SVC_GRP_GET_SVC_CTX_MAP(svc_grp_ctx, env) ((svc_grp_ctx)->ops->get_svc_ctx_map(svc_grp_ctx, env))
+#define AXIS2_SVC_GRP_CTX_GET_BASE(svc_grp_ctx, env) \
+		((svc_grp_ctx)->ops->get_base(svc_grp_ctx, env))
+						
+#define AXIS2_SVC_GRP_CTX_GET_PARENT(svc_grp_ctx, env) \
+		((svc_grp_ctx)->ops->get_parent(svc_grp_ctx, env))
+						
+#define AXIS2_SVC_GRP_CTX_FREE(svc_grp_ctx, env)\
+		((svc_grp_ctx)->ops->free(svc_grp_ctx, env))
+						
+#define AXIS2_SVC_GRP_CTX_INIT(svc_grp_ctx, env, conf)\
+		((svc_grp_ctx)->ops->init(svc_grp_ctx, env, conf))
+						
+#define AXIS2_SVC_GRP_CTX_GET_ID(svc_grp_ctx, env) \
+		((svc_grp_ctx)->ops->get_id(svc_grp_ctx, env))
+						
+#define AXIS2_SVC_GRP_CTX_SET_ID(svc_grp_ctx, env, id) \
+		((svc_grp_ctx)->ops->set_id(svc_grp_ctx, env, id))
+						
+#define AXIS2_SVC_GRP_CTX_GET_SVC_CTX(svc_grp_ctx, env, svc_name) \
+		((svc_grp_ctx)->ops->get_svc_ctx(svc_grp_ctx, env, svc_name))
+		
+#define AXIS2_SVC_GRP_CTX_FILL_SVC_CTX_MAP(svc_grp_ctx, env) \
+		((svc_grp_ctx)->ops->fill_svc_ctx_map(svc_grp_ctx, env))
+		
+#define AXIS2_SVC_GRP_GET_SVC_GRP(svc_grp_ctx, env) \
+		((svc_grp_ctx)->ops->get_svc_grp(svc_grp_ctx, env))
+		
+#define AXIS2_SVC_GRP_GET_SVC_CTX_MAP(svc_grp_ctx, env) \
+		((svc_grp_ctx)->ops->get_svc_ctx_map(svc_grp_ctx, env))
     
 /************************** End of function macros ****************************/