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 sa...@apache.org on 2007/09/28 11:47:13 UTC

svn commit: r580274 [7/8] - /webservices/axis2/trunk/c/include/

Modified: webservices/axis2/trunk/c/include/axis2_stub.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_stub.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_stub.h (original)
+++ webservices/axis2/trunk/c/include/axis2_stub.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
 /*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
@@ -36,10 +37,11 @@
 #include <axiom_xml_reader.h>
 #include <axutil_property.h>
 
-/** DEPRECATED: Please use AXIOM_SOAP11 instead. 
+/** DEPRECATED: Please use AXIOM_SOAP11 instead.
     Constant value representing SOAP version 1.1 */
 #define AXIOM_SOAP_11 1
-/** DEPRECATED: Please use AXIOM_SOAP12 instead. 
+
+/** DEPRECATED: Please use AXIOM_SOAP12 instead.
     Constant value representing SOAP version 1.2 */
 #define AXIOM_SOAP_12 2
 
@@ -58,8 +60,9 @@
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_stub_free(axis2_stub_t *stub,
-        const axutil_env_t *env);
+    axis2_stub_free(
+        axis2_stub_t * stub,
+        const axutil_env_t * env);
 
     /**
      * Sets the endpoint reference.
@@ -70,9 +73,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_stub_set_endpoint_ref(axis2_stub_t *stub,
-        const axutil_env_t *env,
-        axis2_endpoint_ref_t *endpoint_ref);
+    axis2_stub_set_endpoint_ref(
+        axis2_stub_t * stub,
+        const axutil_env_t * env,
+        axis2_endpoint_ref_t * endpoint_ref);
 
     /**
      * Sets the endpoint reference, represented by a string.
@@ -82,10 +86,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_stub_set_endpoint_uri(axis2_stub_t *stub,
-        const axutil_env_t *env,
-        const axis2_char_t *endpoint_uri);
-
+    axis2_stub_set_endpoint_uri(
+        axis2_stub_t * stub,
+        const axutil_env_t * env,
+        const axis2_char_t * endpoint_uri);
 
     /**
      * Sets the bool value specifying whether to use a separate listener
@@ -96,8 +100,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_stub_set_use_separate_listener(axis2_stub_t *stub,
-        const axutil_env_t *env,
+
+    axis2_stub_set_use_separate_listener(
+        axis2_stub_t * stub,
+        const axutil_env_t * env,
         const axis2_bool_t use_separate_listener);
 
     /**
@@ -108,11 +114,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_stub_set_soap_version(axis2_stub_t *stub,
-        const axutil_env_t *env,
+    axis2_stub_set_soap_version(
+        axis2_stub_t * stub,
+        const axutil_env_t * env,
         const int soap_version);
 
-
     /**
      * Gets the service context ID.
      * @param stub pointer to stub struct
@@ -120,8 +126,9 @@
      * @return service context ID if set, else NULL
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_stub_get_svc_ctx_id(const axis2_stub_t *stub,
-        const axutil_env_t *env);
+    axis2_stub_get_svc_ctx_id(
+        const axis2_stub_t * stub,
+        const axutil_env_t * env);
 
     /**
      * Engages the named module.
@@ -131,9 +138,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_stub_engage_module(axis2_stub_t *stub,
-        const axutil_env_t *env,
-        const axis2_char_t *module_name);
+    axis2_stub_engage_module(
+        axis2_stub_t * stub,
+        const axutil_env_t * env,
+        const axis2_char_t * module_name);
 
     /**
      * Gets the service client instance used by this stub.
@@ -142,8 +150,9 @@
      * @return pointer to service client struct used by the stub
      */
     AXIS2_EXTERN axis2_svc_client_t *AXIS2_CALL
-    axis2_stub_get_svc_client(const axis2_stub_t *stub,
-        const axutil_env_t *env);
+    axis2_stub_get_svc_client(
+        const axis2_stub_t * stub,
+        const axutil_env_t * env);
 
     /**
      * Gets the options used on top of the service client used by this stub.
@@ -152,8 +161,9 @@
      * @return pointer to options used by the service client of this stub
      */
     AXIS2_EXTERN axis2_options_t *AXIS2_CALL
-    axis2_stub_get_options(const axis2_stub_t *stub,
-        const axutil_env_t *env);
+    axis2_stub_get_options(
+        const axis2_stub_t * stub,
+        const axutil_env_t * env);
 
     /**
      * Creates a stub instance.
@@ -163,10 +173,12 @@
      * @param client_home name of the directory that contains the Axis2/C repository
      * @return pointer to newly created axis2_stub struct
      */
-    AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
-    axis2_stub_create_with_endpoint_ref_and_client_home(const axutil_env_t *env,
-        axis2_endpoint_ref_t *endpoint_ref,
-        const axis2_char_t *client_home);
+    AXIS2_EXTERN axis2_stub_t *AXIS2_CALL
+
+    axis2_stub_create_with_endpoint_ref_and_client_home(
+        const axutil_env_t * env,
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axis2_char_t * client_home);
 
     /**
      * Creates a stub instance.
@@ -175,11 +187,12 @@
      * @param client_home name of the directory that contains the Axis2/C repository
      * @return pointer to newly created axis2_stub struct
      */
-    AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
-    axis2_stub_create_with_endpoint_uri_and_client_home(const axutil_env_t *env,
-        const axis2_char_t *endpoint_uri,
-        const axis2_char_t *client_home);
+    AXIS2_EXTERN axis2_stub_t *AXIS2_CALL
 
+    axis2_stub_create_with_endpoint_uri_and_client_home(
+        const axutil_env_t * env,
+        const axis2_char_t * endpoint_uri,
+        const axis2_char_t * client_home);
 
     /** @} */
 
@@ -187,4 +200,4 @@
 }
 #endif
 
-#endif /* AXIS2_STUB_H */
+#endif                          /* AXIS2_STUB_H */

Modified: webservices/axis2/trunk/c/include/axis2_svc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -20,21 +21,21 @@
 
 /** @defgroup axis2_svc service
  * @ingroup axis2_desc
- * service represents the static structure of a service in a service group. 
- * In Axis2 description hierarchy, a service lives inside the service group to 
- * which it belongs. 
- * services are configured in services.xml files located in the respective 
- * service group folders of the services folder in the repository. 
- * In services.xml file, services are declared in association with a given 
- * service group or at top level as a stand alone service. In cases where a 
- * service is configured without an associated service group, a service group 
- * with the same name as that of the service would be created by the deployment 
- * engine and the service would be associated with that newly created service 
- * group. The deployment engine would create service instances to represent 
+ * service represents the static structure of a service in a service group.
+ * In Axis2 description hierarchy, a service lives inside the service group to
+ * which it belongs.
+ * services are configured in services.xml files located in the respective
+ * service group folders of the services folder in the repository.
+ * In services.xml file, services are declared in association with a given
+ * service group or at top level as a stand alone service. In cases where a
+ * service is configured without an associated service group, a service group
+ * with the same name as that of the service would be created by the deployment
+ * engine and the service would be associated with that newly created service
+ * group. The deployment engine would create service instances to represent
  * those configured services in services.xml files and would associate them with
  * the respective service group in the configuration.
- * service encapsulates data on engaged module information, the XML schema 
- * defined in WSDL that is associated with the service and the operations of 
+ * service encapsulates data on engaged module information, the XML schema
+ * defined in WSDL that is associated with the service and the operations of
  * the service.
  * @{
  */
@@ -62,7 +63,6 @@
 {
 #endif
 
-
     /** Type name for struct axis2_svc */
     typedef struct axis2_svc axis2_svc_t;
 
@@ -79,8 +79,9 @@
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_svc_free(axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_free(
+        axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Adds operation.
@@ -91,8 +92,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_add_op(axis2_svc_t *svc,
-        const axutil_env_t *env,
+    axis2_svc_add_op(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
         struct axis2_op *op);
 
     /**
@@ -103,9 +105,10 @@
      * @return pointer to operation corresponding to given QName
      */
     AXIS2_EXTERN struct axis2_op *AXIS2_CALL
-    axis2_svc_get_op_with_qname(const axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axutil_qname_t *op_qname);
+                axis2_svc_get_op_with_qname(
+                    const axis2_svc_t * svc,
+                    const axutil_env_t * env,
+                    const axutil_qname_t * op_qname);
 
     /**
      * Gets operation corresponding to the name.
@@ -115,9 +118,10 @@
      * @return pointer to operation corresponding to given name
      */
     AXIS2_EXTERN struct axis2_op *AXIS2_CALL
-    axis2_svc_get_op_with_name(const axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *op_name);
+                axis2_svc_get_op_with_name(
+                    const axis2_svc_t * svc,
+                    const axutil_env_t * env,
+                    const axis2_char_t * op_name);
 
     /**
      * Gets all operations of service.
@@ -126,8 +130,9 @@
      * @return pointer to hash map containing all operations of the service
      */
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-    axis2_svc_get_all_ops(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_all_ops(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Sets parent which is of type service group.
@@ -137,8 +142,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_parent(axis2_svc_t *svc,
-        const axutil_env_t *env,
+    axis2_svc_set_parent(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
         struct axis2_svc_grp *svc_grp);
 
     /**
@@ -148,8 +154,9 @@
      * @return pointer to parent service group
      */
     AXIS2_EXTERN struct axis2_svc_grp *AXIS2_CALL
-    axis2_svc_get_parent(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+                axis2_svc_get_parent(
+                    const axis2_svc_t * svc,
+                    const axutil_env_t * env);
 
     /**
      * Sets QName.
@@ -159,9 +166,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_qname(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axutil_qname_t *qname);
+    axis2_svc_set_qname(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axutil_qname_t * qname);
 
     /**
      * Gets QName.
@@ -170,8 +178,9 @@
      * @return pointer to QName
      */
     AXIS2_EXTERN const axutil_qname_t *AXIS2_CALL
-    axis2_svc_get_qname(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_qname(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Adds given parameter to operation.
@@ -182,22 +191,24 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_add_param(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        axutil_param_t *param);
+    axis2_svc_add_param(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        axutil_param_t * param);
 
     /**
-     * Gets named parameter.         
+     * Gets named parameter.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @param name name string
      * @return pointer to named parameter if exists, else NULL. Returns a 
-     * reference, not a cloned copy         
+     * reference, not a cloned copy    
      */
     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
-    axis2_svc_get_param(const axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *name);
+    axis2_svc_get_param(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * name);
 
     /**
      * Gets all parameters stored within service.
@@ -207,8 +218,9 @@
      * not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_svc_get_all_params(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_all_params(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Checks if the named parameter is locked.
@@ -218,9 +230,10 @@
      * @return AXIS2_TRUE if the named parameter is locked, else AXIS2_FALSE
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axis2_svc_is_param_locked(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *param_name);
+    axis2_svc_is_param_locked(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * param_name);
 
     /**
      * Engages given module to service.
@@ -233,8 +246,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_engage_module(axis2_svc_t *svc,
-        const axutil_env_t *env,
+    axis2_svc_engage_module(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
         struct axis2_module_desc *module_desc,
         struct axis2_conf *conf);
 
@@ -249,12 +263,12 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_disengage_module(axis2_svc_t *svc,
-        const axutil_env_t *env,
+    axis2_svc_disengage_module(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
         struct axis2_module_desc *module_desc,
         struct axis2_conf *conf);
 
-        
     /**
      * Check whether a given module is engaged to the service.
      * @param svc pointer to service struct
@@ -262,10 +276,11 @@
      * @param  module_qname pointer to module qname to be engaged, 
      * @return AXIS2_TRUE if module is engaged, else AXIS2_FALSE 
      */
-    AXIS2_EXTERN axis2_bool_t AXIS2_CALL 
-    axis2_svc_is_module_engaged (axis2_svc_t *svc,
-        const axutil_env_t *env,
-        axutil_qname_t *module_qname);
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    axis2_svc_is_module_engaged(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        axutil_qname_t * module_qname);
 
     /**
      * Adds operations defined in a module to this service. It is possible 
@@ -282,9 +297,10 @@
      * the modules
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axis2_svc_add_module_ops(axis2_svc_t *svc,
-        const axutil_env_t *env,
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_add_module_ops(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
         struct axis2_module_desc *module_desc,
         struct axis2_conf *axis2_config);
 
@@ -297,9 +313,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     /*AXIS2_EXTERN axis2_status_t AXIS2_CALL
-      axis2_svc_add_to_engaged_module_list(axis2_svc_t *svc,
-          const axutil_env_t *env,
-          struct axis2_module_desc *module_desc);*/
+
+       axis2_svc_add_to_engaged_module_list(axis2_svc_t *svc,
+       const axutil_env_t *env,
+       struct axis2_module_desc *module_desc); */
 
     /**
      * Gets all engaged modules.
@@ -308,8 +325,9 @@
      * @return pointer to array list containing all engaged modules
      */
     /*AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-      axis2_svc_get_all_engaged_modules(const axis2_svc_t *svc,
-          const axutil_env_t *env);*/
+
+       axis2_svc_get_all_engaged_modules(const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Sets style. Style can be either RPC or document literal.
@@ -319,9 +337,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_style(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *style);
+    axis2_svc_set_style(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * style);
 
     /**
      * Gets style. Style can be either RPC or document literal.
@@ -330,110 +349,119 @@
      * @return string representing the style of service
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_get_style(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_style(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Gets in flow. In flow is the list of phases invoked
-     * along in path.         
+     * along in path.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @return pointer to flow representing in flow
      */
     /*AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
-      axis2_svc_get_in_flow(const axis2_svc_t *svc,
-          const axutil_env_t *env);*/
+
+       axis2_svc_get_in_flow(const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Sets in flow. In flow is the list of phases invoked
-     * along in path.         
+     * along in path.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @param in_flow pointer to flow representing in flow
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     /*AXIS2_EXTERN axis2_status_t AXIS2_CALL
-      axis2_svc_set_in_flow(axis2_svc_t *svc,
-          const axutil_env_t *env,
-          struct axis2_flow *in_flow);*/
+
+       axis2_svc_set_in_flow(axis2_svc_t *svc,
+       const axutil_env_t *env,
+       struct axis2_flow *in_flow); */
 
     /**
      * Gets out flow. Out flow is the list of phases invoked
-     * along out path.         
+     * along out path.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @return pointer to flow representing out flow
      */
     /*AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
-            axis2_svc_get_out_flow(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+
+       axis2_svc_get_out_flow(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Sets out flow. Out flow is the list of phases invoked
-     * along out path.         
+     * along out path.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @return out_flow pointer to flow representing out flow
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     /*AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_out_flow(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                struct axis2_flow *out_flow);*/
+
+       axis2_svc_set_out_flow(
+       axis2_svc_t *svc,
+       const axutil_env_t *env,
+       struct axis2_flow *out_flow); */
 
     /**
      * Gets fault in flow. Fault in flow is the list of phases invoked
-     * along in path if a fault happens.         
+     * along in path if a fault happens.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @return pointer to flow representing fault in flow
      */
     /*AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
-            axis2_svc_get_fault_in_flow(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+
+       axis2_svc_get_fault_in_flow(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Sets fault in flow. Fault in flow is the list of phases invoked
-     * along in path if a fault happens.         
+     * along in path if a fault happens.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @param fault_flow pointer to flow representing fault in flow
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     /*AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_fault_in_flow(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                struct axis2_flow *fault_flow);*/
+
+       axis2_svc_set_fault_in_flow(
+       axis2_svc_t *svc,
+       const axutil_env_t *env,
+       struct axis2_flow *fault_flow); */
 
     /**
      * Gets fault out flow. Fault out flow is the list of phases invoked
-     * along out path if a fault happens.         
+     * along out path if a fault happens.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @return pointer to flow representing fault out flow
      */
     /*AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
-            axis2_svc_get_fault_out_flow(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+
+       axis2_svc_get_fault_out_flow(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Sets fault out flow. Fault out flow is the list of phases invoked
-     * along out path if a fault happens.         
+     * along out path if a fault happens.    
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @param fault_flow pointer to flow representing fault out flow
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     /*AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_fault_out_flow(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                struct axis2_flow *fault_flow);*/
+
+       axis2_svc_set_fault_out_flow(
+       axis2_svc_t *svc,
+       const axutil_env_t *env,
+       struct axis2_flow *fault_flow); */
 
     /**
      * Gets operation corresponding to given SOAP Action.
@@ -444,9 +472,10 @@
      * one exists, else NULL. Returns a reference, not a cloned copy
      */
     AXIS2_EXTERN struct axis2_op *AXIS2_CALL
-    axis2_svc_get_op_by_soap_action(const axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *soap_action);
+                axis2_svc_get_op_by_soap_action(
+                    const axis2_svc_t * svc,
+                    const axutil_env_t * env,
+                    const axis2_char_t * soap_action);
 
     /**
      * Gets operation corresponding to given SOAP Action and endpoint QName.
@@ -458,11 +487,12 @@
      * endpoint QName.
      */
     /*AXIS2_EXTERN struct axis2_op *AXIS2_CALL
-            axis2_svc_get_op_by_soap_action_and_endpoint(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env,
-                const axis2_char_t *soap_action,
-                const axutil_qname_t *endpoint);*/
+
+       axis2_svc_get_op_by_soap_action_and_endpoint(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env,
+       const axis2_char_t *soap_action,
+       const axutil_qname_t *endpoint); */
 
     /**
      * Gets service name.
@@ -471,8 +501,9 @@
      * @return service name string
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_get_name(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_name(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Sets service name.
@@ -482,9 +513,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_name(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *svc_name);
+    axis2_svc_set_name(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * svc_name);
 
     /**
      * Sets current time as last update time of the service.
@@ -493,8 +525,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_last_update(axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_set_last_update(
+        axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Gets last update time of the service.
@@ -503,8 +536,9 @@
      * @return last updated time in seconds
      */
     AXIS2_EXTERN long AXIS2_CALL
-    axis2_svc_get_last_update(const axis2_svc_t *svc,
-          const axutil_env_t *env);
+    axis2_svc_get_last_update(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Get the description of the services, which is in the
@@ -514,8 +548,9 @@
      * @return services description string
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_get_svc_desc(const axis2_svc_t *svc,
-          const axutil_env_t *env);
+    axis2_svc_get_svc_desc(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Set the description of the service which is in service.xml
@@ -524,10 +559,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_svc_desc(axis2_svc_t *svc,
-         const axutil_env_t *env,
-         const axis2_char_t *svc_desc);
-
+    axis2_svc_set_svc_desc(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * svc_desc);
 
     /**
      * Get the static wsdl file of the services, which is in the
@@ -537,8 +572,9 @@
      * @return services description string
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_get_svc_wsdl_path(const axis2_svc_t *svc,
-          const axutil_env_t *env);
+    axis2_svc_get_svc_wsdl_path(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Set the wsdl path of the service which is in service.xml
@@ -547,10 +583,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_svc_wsdl_path(axis2_svc_t *svc,
-         const axutil_env_t *env,
-         const axis2_char_t *wsdl_path);
-
+    axis2_svc_set_svc_wsdl_path(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * wsdl_path);
 
     /**
      * Gets the name of the file that holds the implementation of the 
@@ -562,8 +598,9 @@
      * @return file name string
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_get_file_name(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_file_name(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Sets the name of the file that holds the implementation of the 
@@ -576,9 +613,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_file_name(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *file_name);
+    axis2_svc_set_file_name(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * file_name);
 
     /**
      * Gets all endpoints associated with the service.
@@ -587,9 +625,10 @@
      * @return pointer to hash map containing all endpoints
      */
     /*AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-            axis2_svc_get_all_endpoints(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+
+       axis2_svc_get_all_endpoints(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Sets the list of endpoints associated with the service. 
@@ -599,10 +638,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     /*AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_all_endpoints(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                axutil_hash_t *endpoints);*/
+
+       axis2_svc_set_all_endpoints(
+       axis2_svc_t *svc,
+       const axutil_env_t *env,
+       axutil_hash_t *endpoints); */
 
     /**
      * Gets namespace. 
@@ -611,10 +651,11 @@
      * @return namespace URI string
      */
     /*AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-            axis2_svc_get_namespace(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);
-    */
+
+       axis2_svc_get_namespace(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env);
+     */
 
     /**
      * Adds WS-Addressing mapping for a given operation. The services.xml
@@ -630,9 +671,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_add_mapping(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *wsa_action ,
+    axis2_svc_add_mapping(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * wsa_action,
         struct axis2_op *axis2_op);
 
     /**
@@ -644,9 +686,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_add_module_qname(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axutil_qname_t *module_qname);
+    axis2_svc_add_module_qname(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axutil_qname_t * module_qname);
 
     /**
      * Gets all module QNames associated with the service as a list.
@@ -655,8 +698,10 @@
      * @return pointer to array list containing QNames
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_svc_get_all_module_qnames(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+
+    axis2_svc_get_all_module_qnames(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Checks if the XML schema location is adjusted.
@@ -665,10 +710,11 @@
      * @return AXIS2_TRUE if XML schema is adjusted, else AXIS2_FALSE
      */
     /*AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-            axis2_svc_is_schema_location_adjusted(
-                axis2_svc_t *svc,
-                const axutil_env_t *env);
-    */
+
+       axis2_svc_is_schema_location_adjusted(
+       axis2_svc_t *svc,
+       const axutil_env_t *env);
+     */
 
     /**
      * Sets the bool value indicating if the XML schema location is adjusted.
@@ -677,12 +723,13 @@
      * @param adjusted AXIS2_TRUE if XML schema is adjusted, else AXIS2_FALSE
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
-     /*
+    /*
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_schema_location_adjusted(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                const axis2_bool_t adjusted);*/
+
+       axis2_svc_set_schema_location_adjusted(
+       axis2_svc_t *svc,
+       const axutil_env_t *env,
+       const axis2_bool_t adjusted); */
 
     /**
      * Gets XML schema mapping table for service. 
@@ -691,11 +738,12 @@
      * @return pointer to hash map with XML schema mappings, returns a 
      * reference, not a cloned copy
      */
-     /*
+    /*
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-            axis2_svc_axis2_svc_get_schema_mapping_table(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+
+       axis2_svc_axis2_svc_get_schema_mapping_table(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Sets XML schema mapping table for service. 
@@ -704,23 +752,25 @@
      * @param table pointer to hash map with XML schema mappings, service 
      * assumes ownership of the map
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-     *//*
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_schema_mapping_table(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                axutil_hash_t *table);*/
+             *//*
+       AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+           axis2_svc_set_schema_mapping_table(
+           axis2_svc_t *svc,
+           const axutil_env_t *env,
+           axutil_hash_t *table); */
 
     /**
      * Gets custom schema prefix.
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @return custom schema prefix string
-     *//*
-    AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-            axis2_svc_get_custom_schema_prefix(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+             *//*
+       AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
+
+           axis2_svc_get_custom_schema_prefix(
+           const axis2_svc_t *svc,
+           const axutil_env_t *env); */
 
     /**
      * Sets custom schema prefix.
@@ -728,12 +778,13 @@
      * @param env pointer to environment struct
      * @param prefix custom schema prefix string
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-     *//*
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_custom_schema_prefix(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                const axis2_char_t *prefix);*/
+             *//*
+       AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+           axis2_svc_set_custom_schema_prefix(
+           axis2_svc_t *svc,
+           const axutil_env_t *env,
+           const axis2_char_t *prefix); */
 
     /**
      * Gets custom schema suffix.
@@ -741,11 +792,12 @@
      * @param env pointer to environment struct
      * @return custom schema suffix string
      */
-     /*
+    /*
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-            axis2_svc_get_custom_schema_suffix(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+
+       axis2_svc_get_custom_schema_suffix(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Sets custom schema suffix.
@@ -754,12 +806,13 @@
      * @param suffix custom schema suffix string
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
-     /*
+    /*
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_custom_schema_suffix(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                const axis2_char_t *suffix);*/
+
+       axis2_svc_set_custom_schema_suffix(
+       axis2_svc_t *svc,
+       const axutil_env_t *env,
+       const axis2_char_t *suffix); */
 
     /**
      * Prints the schema to given stream.
@@ -767,12 +820,13 @@
      * @param env pointer to environment struct
      * @param out_stream stream to print to
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-     *//*
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_print_schema(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                axutil_stream_t *out_stream);*/
+             *//*
+       AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+           axis2_svc_print_schema(
+           axis2_svc_t *svc,
+           const axutil_env_t *env,
+           axutil_stream_t *out_stream); */
 
     /**
      * Gets the XML schema at the given index of XML schema array list.
@@ -782,10 +836,11 @@
      * @return pointer to XML schema, returns a reference, not a cloned copy
      */
     /*AXIS2_EXTERN xml_schema_t *AXIS2_CALL
-            axis2_svc_get_schema(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env,
-                const int index);*/
+
+       axis2_svc_get_schema(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env,
+       const int index); */
 
     /**
      * Adds all namespaces in the namespace map to the XML schema at 
@@ -794,13 +849,15 @@
      * @param env pointer to environment struct
      * @param index index of the XML schema to be processed
      * @return pointer to XML schema with namespaces added, 
-     * returns a reference, not a cloned copy         
+     * returns a reference, not a cloned copy    
      */
-/*        AXIS2_EXTERN xml_schema_t *AXIS2_CALL
-            axis2_svc_add_all_namespaces(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                int index);*/
+
+    /*    AXIS2_EXTERN xml_schema_t *AXIS2_CALL
+
+                axis2_svc_add_all_namespaces(
+                    axis2_svc_t *svc,
+                    const axutil_env_t *env,
+                    int index);*/
 
     /**
      * Gets the list of XML schemas associated with service. 
@@ -809,11 +866,12 @@
      * @return pointer to array list of XML schemas, returns a reference,
      * not a cloned copy
      */
-     /*
+    /*
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-            axis2_svc_get_all_schemas(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+
+       axis2_svc_get_all_schemas(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     /**
      * Adds the given XML schema to the list of XML schemas associated 
@@ -824,12 +882,13 @@
      * ownership of struct
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
-     /*
+    /*
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_add_schema(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                xml_schema_t *schema);*/
+
+       axis2_svc_add_schema(
+       axis2_svc_t *svc,
+       const axutil_env_t *env,
+       xml_schema_t *schema); */
 
     /**
      * Adds the list of all XML schemas to service.
@@ -837,23 +896,25 @@
      * @param env pointer to environment struct
      * @param schemas pointer to array list containing XML schemas
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-     *//*
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_add_all_schemas(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                axutil_array_list_t *schemas);*/
+             *//*
+       AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+           axis2_svc_add_all_schemas(
+           axis2_svc_t *svc,
+           const axutil_env_t *env,
+           axutil_array_list_t *schemas); */
 
     /**
      * Gets XML schema's target namespace.
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @return XML schema target namespace string 
-     *//*
-    AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-            axis2_svc_get_schema_target_ns(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+             *//*
+       AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
+
+           axis2_svc_get_schema_target_ns(
+           const axis2_svc_t *svc,
+           const axutil_env_t *env); */
 
     /**
      * Sets XML schema's target namespace.
@@ -861,23 +922,25 @@
      * @param env pointer to environment struct
      * @param ns namespace string 
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-     *//*
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_schema_target_ns(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                const axis2_char_t *ns);*/
+             *//*
+       AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+           axis2_svc_set_schema_target_ns(
+           axis2_svc_t *svc,
+           const axutil_env_t *env,
+           const axis2_char_t *ns); */
 
     /**
      * Gets XML schema's target namespace prefix.
      * @param svc pointer to service struct
      * @param env pointer to environment struct
      * @return XML schema target namespace prefix string 
-     *//*
-    AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-            axis2_svc_get_schema_target_ns_prefix(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+             *//*
+       AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
+
+           axis2_svc_get_schema_target_ns_prefix(
+           const axis2_svc_t *svc,
+           const axutil_env_t *env); */
 
     /**
      * Sets XML schema's target namespace prefix.
@@ -885,12 +948,13 @@
      * @param env pointer to environment struct
      * @param prefix namespace prefix string 
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-     *//*
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_set_schema_target_ns_prefix(
-                axis2_svc_t *svc,
-                const axutil_env_t *env,
-                const axis2_char_t *prefix);*/
+             *//*
+       AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+           axis2_svc_set_schema_target_ns_prefix(
+           axis2_svc_t *svc,
+           const axutil_env_t *env,
+           const axis2_char_t *prefix); */
 
     /**
      * Gets target namespace.
@@ -899,8 +963,9 @@
      * @return target namespace as a string 
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_get_target_ns(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_target_ns(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Sets target namespace.
@@ -910,9 +975,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    saxis2_svc_et_target_ns(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *ns);
+    saxis2_svc_et_target_ns(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * ns);
 
     /**
      * Gets target namespace prefix.
@@ -921,8 +987,10 @@
      * @return target namespace prefix string
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_get_target_ns_prefix(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+
+    axis2_svc_get_target_ns_prefix(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Sets target namespace prefix.
@@ -932,9 +1000,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_target_ns_prefix(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        const axis2_char_t *prefix);
+    axis2_svc_set_target_ns_prefix(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        const axis2_char_t * prefix);
 
     /**
      * Gets XML schemas element corresponding to the given QName.
@@ -945,10 +1014,11 @@
      * cloned copy
      */
     /*AXIS2_EXTERN xml_schema_element_t *AXIS2_CALL
-            axis2_svc_get_schema_element(
-                const axis2_svc_t *svc,
-                const axutil_env_t *env,
-                const axutil_qname_t *qname);*/
+
+       axis2_svc_get_schema_element(
+       const axis2_svc_t *svc,
+       const axutil_env_t *env,
+       const axutil_qname_t *qname); */
 
     /**
      * Gets the namespace map with all namespaces related to service.
@@ -958,8 +1028,9 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-    gaxis2_svc_et_ns_map(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    gaxis2_svc_et_ns_map(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Sets the namespace map with all namespaces related to service.
@@ -969,9 +1040,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_ns_map(axis2_svc_t *svc,
-        const axutil_env_t *env,
-        axutil_hash_t *ns_map);
+    axis2_svc_set_ns_map(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
+        axutil_hash_t * ns_map);
 
     /**
      * Populates the schema mappings. This method is used in code generation
@@ -982,17 +1054,22 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     /*AXIS2_EXTERN axis2_status_t AXIS2_CALL
-            axis2_svc_populate_schema_mappings(
-                axis2_svc_t *svc,
-                const axutil_env_t *env);*/
+
+       axis2_svc_populate_schema_mappings(
+       axis2_svc_t *svc,
+       const axutil_env_t *env); */
 
     AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
-    axis2_svc_get_param_container(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+
+    axis2_svc_get_param_container(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_flow_container_t *AXIS2_CALL
-    axis2_svc_get_flow_container(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+
+    axis2_svc_get_flow_container(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     /**
      * Creates a service struct instance.
@@ -1000,7 +1077,8 @@
      * @return pointer to newly created service
      */
     AXIS2_EXTERN axis2_svc_t *AXIS2_CALL
-    axis2_svc_create(const axutil_env_t *env);
+    axis2_svc_create(
+        const axutil_env_t * env);
 
     /**
      * Creates a service struct with given QName.
@@ -1009,29 +1087,33 @@
      * @return pointer to newly created service
      */
     AXIS2_EXTERN axis2_svc_t *AXIS2_CALL
-    axis2_svc_create_with_qname(const axutil_env_t *env,
-        const axutil_qname_t *qname);
+    axis2_svc_create_with_qname(
+        const axutil_env_t * env,
+        const axutil_qname_t * qname);
 
     AXIS2_EXTERN void *AXIS2_CALL
-    axis2_svc_get_impl_class(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_impl_class(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_set_impl_class(axis2_svc_t *svc,
-        const axutil_env_t *env,
+    axis2_svc_set_impl_class(
+        axis2_svc_t * svc,
+        const axutil_env_t * env,
         void *impl_class);
 
-    /** 
+    /**
      * Gets base description.
      * @param svc pointer to message
      * @param env pointer to environment struct
      * @return pointer to base description struct
      */
     AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
-    axis2_svc_get_base(const axis2_svc_t *svc,
-        const axutil_env_t *env);
+    axis2_svc_get_base(
+        const axis2_svc_t * svc,
+        const axutil_env_t * env);
 
-/** @} */
+    /** @} */
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/include/axis2_svc_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc_client.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_client.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
 /*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
@@ -35,7 +36,6 @@
  * @{
  */
 
-
 /**
  * @file axis2_svc_client.h
  */
@@ -75,7 +75,6 @@
     /** Type name for struct axis2_svc_client */
     typedef struct axis2_svc_client axis2_svc_client_t;
 
-
     /**
      * Returns the axis2_svc_t this is a client for. This is primarily 
      * useful when the service is created anonymously or from WSDL.
@@ -85,8 +84,9 @@
      * is associated. Returns a reference, not a cloned copy. 
      */
     AXIS2_EXTERN axis2_svc_t *AXIS2_CALL
-    axis2_svc_client_get_svc(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+    axis2_svc_client_get_svc(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Sets the options to be used by service client.
@@ -96,9 +96,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_set_options(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axis2_options_t *options);
+    axis2_svc_client_set_options(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axis2_options_t * options);
 
     /**
      * Gets options used by service client. 
@@ -108,8 +109,10 @@
      * Returns a reference, not a cloned copy.
      */
     AXIS2_EXTERN const axis2_options_t *AXIS2_CALL
-    axis2_svc_client_get_options(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+
+    axis2_svc_client_get_options(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Sets the overriding options. The overriding client options related 
@@ -121,9 +124,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_set_override_options(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axis2_options_t *override_options);
+
+    axis2_svc_client_set_override_options(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axis2_options_t * override_options);
 
     /**
      * Gets the overriding options.
@@ -133,8 +138,10 @@
      * Returns a reference, not a cloned copy.
      */
     AXIS2_EXTERN const axis2_options_t *AXIS2_CALL
-    axis2_svc_client_get_override_options(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+
+    axis2_svc_client_get_override_options(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Engages the named module. The engaged modules extend the message
@@ -148,9 +155,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_engage_module(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axis2_char_t *module_name);
+    axis2_svc_client_engage_module(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axis2_char_t * module_name);
 
     /**
      * Dis-engages the named module. Dis-engaging a module on a service 
@@ -162,9 +170,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_disengage_module(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axis2_char_t *module_name);
+    axis2_svc_client_disengage_module(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axis2_char_t * module_name);
 
     /**
      * Adds an XML element as a header to be sent to the server side.
@@ -177,9 +186,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_add_header(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        axiom_node_t *header);
+    axis2_svc_client_add_header(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        axiom_node_t * header);
 
     /**
      * Removes all the headers added to service client.
@@ -188,8 +198,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_remove_all_headers(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+
+    axis2_svc_client_remove_all_headers(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * This method can be used to send an XML message.
@@ -204,10 +216,12 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_send_robust_with_op_qname(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axutil_qname_t *op_qname,
-        const axiom_node_t *payload);
+
+    axis2_svc_client_send_robust_with_op_qname(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axutil_qname_t * op_qname,
+        const axiom_node_t * payload);
 
     /**
      * This method can be used to send an XML message.
@@ -222,9 +236,10 @@
      */
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_send_robust(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axiom_node_t *payload);
+    axis2_svc_client_send_robust(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axiom_node_t * payload);
 
     /**
      * Sends a message and forget about it. This method is used to interact with
@@ -238,10 +253,12 @@
      * @param payload pointer to OM node representing the XML payload to be sent
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_svc_client_fire_and_forget_with_op_qname(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axutil_qname_t *op_qname,
-        const axiom_node_t *payload);
+
+    axis2_svc_client_fire_and_forget_with_op_qname(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axutil_qname_t * op_qname,
+        const axiom_node_t * payload);
 
     /**
      * Sends a message and forget about it. This method is used to interact with
@@ -253,9 +270,10 @@
      * @param payload pointer to OM node representing the XML payload to be sent
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_svc_client_fire_and_forget(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axiom_node_t *payload);
+    axis2_svc_client_fire_and_forget(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axiom_node_t * payload);
 
     /**
      * Sends XML request and receives XML response.
@@ -269,10 +287,12 @@
      * caller owns the returned node.
      */
     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
-    axis2_svc_client_send_receive_with_op_qname(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axutil_qname_t *op_qname,
-        const axiom_node_t *payload);
+
+    axis2_svc_client_send_receive_with_op_qname(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axutil_qname_t * op_qname,
+        const axiom_node_t * payload);
 
     /**
      * Sends XML request and receives XML response.
@@ -284,9 +304,10 @@
      * caller owns the returned node.
      */
     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
-    axis2_svc_client_send_receive(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axiom_node_t *payload);
+    axis2_svc_client_send_receive(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axiom_node_t * payload);
 
     /**
      * Sends XML request and receives XML response, but does not block for response.
@@ -300,11 +321,13 @@
      * @callback pointer to callback struct used to capture response
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_svc_client_send_receive_non_blocking_with_op_qname(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axutil_qname_t *op_qname,
-        const axiom_node_t *payload,
-        axis2_callback_t *callback);
+
+    axis2_svc_client_send_receive_non_blocking_with_op_qname(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axutil_qname_t * op_qname,
+        const axiom_node_t * payload,
+        axis2_callback_t * callback);
 
     /**
      * Sends XML request and receives XML response, but does not block for response.
@@ -316,10 +339,11 @@
      * @callback pointer to callback struct used to capture response
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_svc_client_send_receive_non_blocking(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axiom_node_t *payload,
-        axis2_callback_t *callback);
+    axis2_svc_client_send_receive_non_blocking(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axiom_node_t * payload,
+        axis2_callback_t * callback);
 
     /**
      * Creates an op_client for a specific operation. This is the way to  
@@ -331,9 +355,11 @@
      * @return pointer to newly created op_client configured for the given operation
      */
     AXIS2_EXTERN axis2_op_client_t *AXIS2_CALL
-    axis2_svc_client_create_op_client(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axutil_qname_t *op_qname);
+
+    axis2_svc_client_create_op_client(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axutil_qname_t * op_qname);
 
     /**
      * Cleans up service client invocation. This will close the output 
@@ -344,8 +370,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_finalize_invoke(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+    axis2_svc_client_finalize_invoke(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Gets the service client's own endpoint_ref, that is the
@@ -357,9 +384,11 @@
      * not a cloned copy.
      */
     AXIS2_EXTERN const axis2_endpoint_ref_t *AXIS2_CALL
-    axis2_svc_client_get_own_endpoint_ref(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        const axis2_char_t *transport);
+
+    axis2_svc_client_get_own_endpoint_ref(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        const axis2_char_t * transport);
 
     /**
      * Gets the target endpoint ref.
@@ -369,8 +398,10 @@
      * not a cloned copy.
      */
     AXIS2_EXTERN const axis2_endpoint_ref_t *AXIS2_CALL
-    axis2_svc_client_get_target_endpoint_ref(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+
+    axis2_svc_client_get_target_endpoint_ref(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Sets the target endpoint ref.
@@ -381,10 +412,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_set_target_endpoint_ref(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        axis2_endpoint_ref_t *target_epr);
 
+    axis2_svc_client_set_target_endpoint_ref(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        axis2_endpoint_ref_t * target_epr);
 
     /**
      * Sets the proxy.
@@ -398,10 +430,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_set_proxy(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        axis2_char_t *proxy_host,
-        axis2_char_t *proxy_port);
+    axis2_svc_client_set_proxy(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        axis2_char_t * proxy_host,
+        axis2_char_t * proxy_port);
 
     /**
      * Gets the service context.
@@ -411,8 +444,9 @@
      * the returned pointer.
      */
     AXIS2_EXTERN axis2_svc_ctx_t *AXIS2_CALL
-    axis2_svc_client_get_svc_ctx(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+    axis2_svc_client_get_svc_ctx(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Frees the service client.
@@ -422,8 +456,9 @@
      */
 
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_svc_client_free(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+    axis2_svc_client_free(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Gets the operation client
@@ -433,8 +468,10 @@
      * the returned pointer
      */
     AXIS2_EXTERN axis2_op_client_t *AXIS2_CALL
-    axis2_svc_client_get_op_client(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+
+    axis2_svc_client_get_op_client(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Creates a service client struct.
@@ -443,9 +480,10 @@
      * @return a pointer to newly created service client struct,
      *         or NULL on error with error code set in environment's error
      */
-    AXIS2_EXTERN axis2_svc_client_t * AXIS2_CALL
-    axis2_svc_client_create(const axutil_env_t *env,
-        const axis2_char_t *client_home);
+    AXIS2_EXTERN axis2_svc_client_t *AXIS2_CALL
+    axis2_svc_client_create(
+        const axutil_env_t * env,
+        const axis2_char_t * client_home);
 
     /**
      * Creates a service client struct for a specified service and configuration
@@ -459,11 +497,13 @@
      * @return a pointer to newly created service client struct,
      *         or NULL on error with error code set in environment's error
      */
-    AXIS2_EXTERN axis2_svc_client_t * AXIS2_CALL
-    axis2_svc_client_create_with_conf_ctx_and_svc(const axutil_env_t *env,
-        const axis2_char_t *client_home,
-        axis2_conf_ctx_t *conf_ctx,
-        axis2_svc_t *svc);
+    AXIS2_EXTERN axis2_svc_client_t *AXIS2_CALL
+
+    axis2_svc_client_create_with_conf_ctx_and_svc(
+        const axutil_env_t * env,
+        const axis2_char_t * client_home,
+        axis2_conf_ctx_t * conf_ctx,
+        axis2_svc_t * svc);
 
     /**
      * Creates a service client struct. This constructor is used in dynamic
@@ -480,13 +520,15 @@
      * @return a pointer to newly created service client struct,
      *         or NULL on error with error code set in environment's error
      */
-    AXIS2_EXTERN axis2_svc_client_t* AXIS2_CALL
-    axis2_svc_client_create_for_dynamic_invocation(const axutil_env_t *env,
-        axis2_conf_ctx_t *conf_ctx,
-        const axutil_uri_t *wsdl_uri,
-        const axutil_qname_t *wsdl_svc_qname,
-        const axis2_char_t *endpoint_name,
-        const axis2_char_t *client_home);
+    AXIS2_EXTERN axis2_svc_client_t *AXIS2_CALL
+
+    axis2_svc_client_create_for_dynamic_invocation(
+        const axutil_env_t * env,
+        axis2_conf_ctx_t * conf_ctx,
+        const axutil_uri_t * wsdl_uri,
+        const axutil_qname_t * wsdl_svc_qname,
+        const axis2_char_t * endpoint_name,
+        const axis2_char_t * client_home);
 
     /**
      * Gets the last respose SOAP envelope. 
@@ -496,8 +538,10 @@
      * when send_receieve was called last time
      */
     AXIS2_EXTERN axiom_soap_envelope_t *AXIS2_CALL
-    axis2_svc_client_get_last_response_soap_envelope(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+
+    axis2_svc_client_get_last_response_soap_envelope(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Gets the boolean value indicating if the last respose had a SOAP fault. 
@@ -506,8 +550,10 @@
      * @return AXIS2_TRUE if there was a fault, else AXIS2_FALSE
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axis2_svc_client_get_last_response_has_fault(const axis2_svc_client_t *svc_client,
-        const axutil_env_t *env);
+
+    axis2_svc_client_get_last_response_has_fault(
+        const axis2_svc_client_t * svc_client,
+        const axutil_env_t * env);
 
     /**
      * Create a policy object and set it to the description hierarchy
@@ -517,11 +563,13 @@
      * @return AXIS2_FAILURE if there was a fault, else AXIS2_SUCCESS
      */
 
-     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-     axis2_svc_client_set_policy_from_om(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        axiom_node_t *root_node);
-       
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+    axis2_svc_client_set_policy_from_om(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        axiom_node_t * root_node);
+
     /**
      * Set the given policy object to the description hierarchy
      * @param svc_client pointer to service_client struct
@@ -531,14 +579,12 @@
      */
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_client_set_policy(axis2_svc_client_t *svc_client,
-        const axutil_env_t *env,
-        neethi_policy_t *policy);
-        
-
-
+    axis2_svc_client_set_policy(
+        axis2_svc_client_t * svc_client,
+        const axutil_env_t * env,
+        neethi_policy_t * policy);
 
-/** @} */
+    /** @} */
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/include/axis2_svc_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc_ctx.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_ctx.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
 /*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
@@ -18,12 +19,12 @@
 #ifndef AXIS2_SVC_CTX_H
 #define AXIS2_SVC_CTX_H
 
-/** 
+/**
  * @defgroup axis2_svc_ctx service context
  * @ingroup axis2_context
  * service context represents a running "instance" of a service.
- * service context allows instance of operations belonging to a service to be 
- * grouped. 
+ * service context allows instance of operations belonging to a service to be
+ * grouped.
  * @{
  */
 
@@ -43,7 +44,7 @@
     /** Type name for struct axis2_svc_ctx */
     typedef struct axis2_svc_ctx axis2_svc_ctx_t;
 
-    /** 
+    /**
      * Creates a service context struct that corresponds to the given service
      * and with the given parent service group context.
      * @param env pointer to environment struct
@@ -54,8 +55,9 @@
      * ownership of parent
      * @return pointer to newly created service context
      */
-    AXIS2_EXTERN axis2_svc_ctx_t *AXIS2_CALL 
-    axis2_svc_ctx_create(const axutil_env_t *env,
+    AXIS2_EXTERN axis2_svc_ctx_t *AXIS2_CALL
+    axis2_svc_ctx_create(
+        const axutil_env_t * env,
         struct axis2_svc *svc,
         struct axis2_svc_grp_ctx *svc_grp_ctx);
 
@@ -66,9 +68,9 @@
      * @return pointer to context, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
-    axis2_svc_ctx_get_base(const axis2_svc_ctx_t *svc_ctx,
-        const axutil_env_t *env);
-
+    axis2_svc_ctx_get_base(
+        const axis2_svc_ctx_t * svc_ctx,
+        const axutil_env_t * env);
 
     /**
      * Gets parent which is of type service group context.
@@ -77,9 +79,11 @@
      * @return pointer to parent service group context
      */
     AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL
-    axis2_svc_ctx_get_parent(const axis2_svc_ctx_t *svc_ctx,
-        const axutil_env_t *env);
-        
+
+                axis2_svc_ctx_get_parent(
+                    const axis2_svc_ctx_t * svc_ctx,
+                    const axutil_env_t * env);
+
     /**
      * Sets parent which is of type service group context.
      * @param svc_ctx pointer to service context
@@ -89,11 +93,10 @@
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axis2_svc_ctx_set_parent(
-        axis2_svc_ctx_t *svc_ctx,
-        const axutil_env_t *env,
+        axis2_svc_ctx_t * svc_ctx,
+        const axutil_env_t * env,
         struct axis2_svc_grp_ctx *parent);
 
-
     /**
      * Frees service context instance.
      * @param svc_ctx pointer to service context
@@ -101,9 +104,9 @@
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_svc_ctx_free(struct axis2_svc_ctx *svc_ctx,
-        const axutil_env_t *env);
-
+    axis2_svc_ctx_free(
+        struct axis2_svc_ctx *svc_ctx,
+        const axutil_env_t * env);
 
     /**
      * Initializes service context. This method locates the corresponding 
@@ -115,8 +118,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_ctx_init(struct axis2_svc_ctx *svc_ctx,
-        const axutil_env_t *env,
+    axis2_svc_ctx_init(
+        struct axis2_svc_ctx *svc_ctx,
+        const axutil_env_t * env,
         struct axis2_conf *conf);
 
     /**
@@ -127,9 +131,9 @@
      * @return service ID string.
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_ctx_get_svc_id(const axis2_svc_ctx_t *svc_ctx,
-        const axutil_env_t *env);
-
+    axis2_svc_ctx_get_svc_id(
+        const axis2_svc_ctx_t * svc_ctx,
+        const axutil_env_t * env);
 
     /**
      * Gets the service that this service context represents.
@@ -138,8 +142,9 @@
      * @return pointer to service, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
-    axis2_svc_ctx_get_svc(const axis2_svc_ctx_t *svc_ctx,
-        const axutil_env_t *env);
+                axis2_svc_ctx_get_svc(
+                    const axis2_svc_ctx_t * svc_ctx,
+                    const axutil_env_t * env);
 
     /**
      * Sets the service that this service context represents.
@@ -150,11 +155,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_ctx_set_svc(axis2_svc_ctx_t *svc_ctx,
-        const axutil_env_t *env,
+    axis2_svc_ctx_set_svc(
+        axis2_svc_ctx_t * svc_ctx,
+        const axutil_env_t * env,
         struct axis2_svc *svc);
 
-
     /**
      * Gets configuration context which is the super root (super most parent)
      * of the context hierarchy to which this service context belongs.
@@ -163,9 +168,10 @@
      * @return pointer to configuration context
      */
     AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL
-    axis2_svc_ctx_get_conf_ctx(const axis2_svc_ctx_t *svc_ctx,
-        const axutil_env_t *env);
 
+                axis2_svc_ctx_get_conf_ctx(
+                    const axis2_svc_ctx_t * svc_ctx,
+                    const axutil_env_t * env);
 
     /**
      * Creates an operation context for the named operation. The named 
@@ -177,9 +183,10 @@
      * @return pointer to operation context
      */
     AXIS2_EXTERN struct axis2_op_ctx *AXIS2_CALL
-    axis2_svc_ctx_create_op_ctx(struct axis2_svc_ctx *svc_ctx,
-        const axutil_env_t *env,
-        const axutil_qname_t *qname);
+                axis2_svc_ctx_create_op_ctx(
+                    struct axis2_svc_ctx *svc_ctx,
+                    const axutil_env_t * env,
+                    const axutil_qname_t * qname);
 
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/axis2_svc_grp.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc_grp.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_grp.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_grp.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -18,24 +19,24 @@
 #ifndef AXIS2_SVC_GRP_H
 #define AXIS2_SVC_GRP_H
 
-/** 
+/**
  * @defgroup axis2_svc_grp service group
  * @ingroup axis2_desc
- * service group represents the static structure of a service group in 
- * the Axis2 configuration. 
- * In Axis2 description hierarchy, a service group lives inside the 
- * configuration. service groups are configured in services.xml files located 
- * in the respective service group folders of the services folder in the repository. 
+ * service group represents the static structure of a service group in
+ * the Axis2 configuration.
+ * In Axis2 description hierarchy, a service group lives inside the
+ * configuration. service groups are configured in services.xml files located
+ * in the respective service group folders of the services folder in the repository.
  * In services.xml file, services groups are declared at top level.
  * A service group can have one or more services associated with it.
- * Sometimes services.xml would not have a service group defined, but only a 
- * service. In such cases a service group with the same name as that of the 
- * service mentioned in services.xml would be created by the deployment 
- * engine and the service would be associated with that newly created service 
- * group. The deployment engine would create service group instances to represent 
- * those configured service groups in services.xml files and would store 
+ * Sometimes services.xml would not have a service group defined, but only a
+ * service. In such cases a service group with the same name as that of the
+ * service mentioned in services.xml would be created by the deployment
+ * engine and the service would be associated with that newly created service
+ * group. The deployment engine would create service group instances to represent
+ * those configured service groups in services.xml files and would store
  * them in the configuration.
- * service group encapsulates data on engaged module information and the 
+ * service group encapsulates data on engaged module information and the
  * service associated with service group.
  * @{
  */
@@ -67,8 +68,9 @@
       * @return void
       */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_svc_grp_free(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env);
+    axis2_svc_grp_free(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env);
 
     /**
      * Sets service group name.
@@ -78,9 +80,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_grp_set_name(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        const axis2_char_t *svc_grp_name);
+    axis2_svc_grp_set_name(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        const axis2_char_t * svc_grp_name);
 
     /**
      * Gets service group name.
@@ -89,8 +92,9 @@
      * @return service group name string 
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_svc_grp_get_name(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env) ;
+    axis2_svc_grp_get_name(
+        const axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env);
 
     /**
      * Adds given service to service group.
@@ -101,9 +105,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_grp_add_svc(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        struct axis2_svc *svc) ;
+    axis2_svc_grp_add_svc(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        struct axis2_svc *svc);
 
     /**
      * Gets named service from service group.
@@ -114,9 +119,10 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
-    axis2_svc_grp_get_svc(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        const axutil_qname_t *svc_qname);
+                axis2_svc_grp_get_svc(
+                    const axis2_svc_grp_t * svc_grp,
+                    const axutil_env_t * env,
+                    const axutil_qname_t * svc_qname);
 
     /**
      * Gets all services associated with service group. 
@@ -126,8 +132,9 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-    axis2_svc_grp_get_all_svcs(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env);
+    axis2_svc_grp_get_all_svcs(
+        const axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env);
 
     /**
      * Removes named service from service group.
@@ -137,9 +144,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_grp_remove_svc(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        const axutil_qname_t *svc_qname);
+    axis2_svc_grp_remove_svc(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        const axutil_qname_t * svc_qname);
 
     /**
      * Adds parameter.
@@ -150,9 +158,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_grp_add_param(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        axutil_param_t *param);
+    axis2_svc_grp_add_param(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        axutil_param_t * param);
 
     /**
      * Gets named parameter.
@@ -163,9 +172,10 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
-    axis2_svc_grp_get_param(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        const axis2_char_t *name);
+    axis2_svc_grp_get_param(
+        const axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        const axis2_char_t * name);
 
     /**
      * Gets all parameters set on service group.
@@ -175,8 +185,10 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_svc_grp_get_all_params(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env);
+
+    axis2_svc_grp_get_all_params(
+        const axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env);
 
     /**
      * Checks if the named parameter is locked.
@@ -186,9 +198,10 @@
      * @return AXIS2_TRUE if the named parameter is locked, else AXIS2_FALSE
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axis2_svc_grp_is_param_locked(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        const axis2_char_t *param_name);
+    axis2_svc_grp_is_param_locked(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        const axis2_char_t * param_name);
 
     /**
      * Adds given module QName to list of module QNames.
@@ -198,9 +211,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_grp_add_module_qname(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        const axutil_qname_t *module_qname);
+    axis2_svc_grp_add_module_qname(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        const axutil_qname_t * module_qname);
 
     /**
      * Gets parent which is of type configuration.
@@ -210,8 +224,9 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN struct axis2_conf *AXIS2_CALL
-    axis2_svc_grp_get_parent(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env);
+                axis2_svc_grp_get_parent(
+                    const axis2_svc_grp_t * svc_grp,
+                    const axutil_env_t * env);
 
     /**
      * Sets parent which is of type configuration.
@@ -222,8 +237,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_grp_set_parent(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
+    axis2_svc_grp_set_parent(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
         struct axis2_conf *parent);
 
     /**
@@ -236,9 +252,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_grp_engage_module(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        const axutil_qname_t *module_qname);
+    axis2_svc_grp_engage_module(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        const axutil_qname_t * module_qname);
 
     /**
      * Gets all module QNames associated with service group.
@@ -248,8 +265,10 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_svc_grp_get_all_module_qnames(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env);
+
+    axis2_svc_grp_get_all_module_qnames(
+        const axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env);
 
     /**
      * Adds module reference.
@@ -259,9 +278,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_svc_grp_add_module_ref(axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        const axutil_qname_t *moduleref);
+    axis2_svc_grp_add_module_ref(
+        axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env,
+        const axutil_qname_t * moduleref);
 
     /**
      * Gets all module references.
@@ -271,8 +291,10 @@
      * a reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_svc_grp_get_all_module_refs(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env);
+
+    axis2_svc_grp_get_all_module_refs(
+        const axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env);
 
     /**
      * Gets service group context related to this service group.
@@ -284,13 +306,17 @@
      * group, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL
-    axis2_svc_grp_get_svc_grp_ctx(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env,
-        struct axis2_conf_ctx *parent);
+
+                axis2_svc_grp_get_svc_grp_ctx(
+                    const axis2_svc_grp_t * svc_grp,
+                    const axutil_env_t * env,
+                    struct axis2_conf_ctx *parent);
 
     AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
-    axis2_svc_grp_get_param_container(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env);
+
+    axis2_svc_grp_get_param_container(
+        const axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env);
 
     /**
      * Creates a service group struct instance.
@@ -298,7 +324,8 @@
      * @return pointer to newly created service group
      */
     AXIS2_EXTERN axis2_svc_grp_t *AXIS2_CALL
-    axis2_svc_grp_create(const axutil_env_t *env);
+    axis2_svc_grp_create(
+        const axutil_env_t * env);
 
     /**
      * Creates service group with given configuration as the parent.
@@ -308,18 +335,20 @@
      * @return pointer to newly created service group
      */
     AXIS2_EXTERN axis2_svc_grp_t *AXIS2_CALL
-    axis2_svc_grp_create_with_conf(const axutil_env_t *env,
+    axis2_svc_grp_create_with_conf(
+        const axutil_env_t * env,
         struct axis2_conf *conf);
 
-    /** 
+    /**
      * Gets base description.
      * @param svc_grp pointer to message
      * @param env pointer to environment struct
      * @return pointer to base description struct
      */
     AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
-    axis2_svc_grp_get_base(const axis2_svc_grp_t *svc_grp,
-        const axutil_env_t *env);
+    axis2_svc_grp_get_base(
+        const axis2_svc_grp_t * svc_grp,
+        const axutil_env_t * env);
 
 #ifdef __cplusplus
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org