axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r580274 [2/8] - /webservices/axis2/trunk/c/include/
Date Fri, 28 Sep 2007 09:47:13 GMT
Modified: webservices/axis2/trunk/c/include/axis2_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_ctx.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_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
@@ -25,13 +26,13 @@
  * @}
  */
 
-/** 
+/**
  * @defgroup axis2_ctx context
  * @ingroup axis2_context
- * context is the base struct of all the context related structs. This struct 
- * encapsulates the common operations and data for all context types. All the 
+ * context is the base struct of all the context related structs. This struct
+ * encapsulates the common operations and data for all context types. All the
  * context types, configuration, service group, service and operation has the
- * base of type context. 
+ * base of type context.
  * @{
  */
 
@@ -53,8 +54,9 @@
      * @param env pointer to environment struct
      * @return pointer to newly created context
      */
-    AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL 
-    axis2_ctx_create(const axutil_env_t *env);
+    AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
+    axis2_ctx_create(
+        const axutil_env_t * env);
 
     /**
      * Sets a property with the given key.
@@ -68,11 +70,12 @@
      * in the non-persistent store
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t  AXIS2_CALL
-    axis2_ctx_set_property(struct axis2_ctx *ctx,
-        const axutil_env_t *env,
-        const axis2_char_t *key,
-        axutil_property_t *value);
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_ctx_set_property(
+        struct axis2_ctx *ctx,
+        const axutil_env_t * env,
+        const axis2_char_t * key,
+        axutil_property_t * value);
 
     /**
      * Gets the property with the given key.
@@ -85,9 +88,10 @@
      * @return pointer to property struct corresponding to the given key
      */
     AXIS2_EXTERN axutil_property_t *AXIS2_CALL
-    axis2_ctx_get_property(const axis2_ctx_t *ctx,
-        const axutil_env_t *env,
-        const axis2_char_t *key);
+    axis2_ctx_get_property(
+        const axis2_ctx_t * ctx,
+        const axutil_env_t * env,
+        const axis2_char_t * key);
 
     /**
      * Gets the non-persistent map of properties.
@@ -97,8 +101,9 @@
      * properties
      */
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-    axis2_ctx_get_property_map(const axis2_ctx_t *ctx,
-        const axutil_env_t *env);
+    axis2_ctx_get_property_map(
+        const axis2_ctx_t * ctx,
+        const axutil_env_t * env);
 
     /**
      * Gets all properties stored within context. 
@@ -107,9 +112,9 @@
      * @return pointer to hash table containing all properties
      */
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-    axis2_ctx_get_all_properties(const axis2_ctx_t *ctx,
-        const axutil_env_t *env);
-
+    axis2_ctx_get_all_properties(
+        const axis2_ctx_t * ctx,
+        const axutil_env_t * env);
 
     /**
      * Frees context struct.
@@ -118,8 +123,9 @@
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_ctx_free(axis2_ctx_t *ctx,
-        const axutil_env_t *env);
+    axis2_ctx_free(
+        axis2_ctx_t * ctx,
+        const axutil_env_t * env);
 
     /**
      * Sets non-persistent map of properties.
@@ -127,11 +133,12 @@
      * @param env pointer to environment struct
      * @param map pointer to hash map, context assumes ownership of the map
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-     */ 
+     */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_ctx_set_property_map(struct axis2_ctx *ctx,
-        const axutil_env_t *env,
-        axutil_hash_t *map);
+    axis2_ctx_set_property_map(
+        struct axis2_ctx *ctx,
+        const axutil_env_t * env,
+        axutil_hash_t * map);
 
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/axis2_defines.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_defines.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_defines.h (original)
+++ webservices/axis2/trunk/c/include/axis2_defines.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
@@ -31,13 +32,16 @@
 {
 #endif
 
-/** Axis2 in flow */
+    /** Axis2 in flow */
 #define  AXIS2_IN_FLOW  1
-/** Axis2 out flow */
+
+    /** Axis2 out flow */
 #define  AXIS2_OUT_FLOW 2
-/** Axis2 fault in flow */
+
+    /** Axis2 fault in flow */
 #define  AXIS2_FAULT_IN_FLOW 3
-/** Axis2 fault out flow */
+
+    /** Axis2 fault out flow */
 #define  AXIS2_FAULT_OUT_FLOW 4
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/axis2_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_desc.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_desc.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,7 +19,7 @@
 #ifndef AXIS2_DESC_H
 #define AXIS2_DESC_H
 
-/** 
+/**
  * @defgroup axis2_description description
  * @ingroup axis2_desc
  * Base struct of description hierarchy. Encapsulates common data and functions
@@ -37,26 +38,28 @@
 
     /** Type name of struct axis2_desc */
     typedef struct axis2_desc axis2_desc_t;
-    
+
     struct axis2_policy_include;
 
-	/**
+    /**
      * Creates a description struct instance.    
      * @param env pointer to environment struct
      * @return pointer to newly created description
      */
     AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
-    axis2_desc_create (const axutil_env_t *env);
+    axis2_desc_create(
+        const axutil_env_t * env);
 
-    /** 
+    /**
      * Frees description struct.
      * @param desc pointer to description
      * @param env pointer to environment struct
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_desc_free(axis2_desc_t *desc,
-        const axutil_env_t *env);
+    axis2_desc_free(
+        axis2_desc_t * desc,
+        const axutil_env_t * env);
 
     /**
      * Adds given parameter to the list of parameters.
@@ -66,9 +69,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_desc_add_param(axis2_desc_t *desc,
-        const axutil_env_t *env,
-        axutil_param_t *param);
+    axis2_desc_add_param(
+        axis2_desc_t * desc,
+        const axutil_env_t * env,
+        axutil_param_t * param);
 
     /**
      * Gets named parameter.
@@ -78,9 +82,10 @@
      * @return pointer to named parameter, NULL if it does not exist
      */
     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
-    axis2_desc_get_param(const axis2_desc_t *desc,
-        const axutil_env_t *env,
-        const axis2_char_t *param_name);
+    axis2_desc_get_param(
+        const axis2_desc_t * desc,
+        const axutil_env_t * env,
+        const axis2_char_t * param_name);
 
     /**
      * Gets all parameters stored in description.
@@ -89,8 +94,9 @@
      * @return pointer to array list containing the list of parameters
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_desc_get_all_params(const axis2_desc_t *desc,
-        const axutil_env_t *env);
+    axis2_desc_get_all_params(
+        const axis2_desc_t * desc,
+        const axutil_env_t * env);
 
     /**
      * Checks if a named parameter is locked.
@@ -100,9 +106,10 @@
      * @return AXIS2_TRUE if parameter is locked, else AXIS2_FALSE
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axis2_desc_is_param_locked(const axis2_desc_t *desc,
-        const axutil_env_t *env,
-        const axis2_char_t *param_name);
+    axis2_desc_is_param_locked(
+        const axis2_desc_t * desc,
+        const axutil_env_t * env,
+        const axis2_char_t * param_name);
 
     /**
      * Adds child to the description. The type of children is based on the
@@ -116,9 +123,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_desc_add_child(const axis2_desc_t *desc,
-        const axutil_env_t *env,
-        const axis2_char_t *key,
+    axis2_desc_add_child(
+        const axis2_desc_t * desc,
+        const axutil_env_t * env,
+        const axis2_char_t * key,
         const void *child);
 
     /**
@@ -128,8 +136,9 @@
      * @return pointer to hash map containing children
      */
     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
-    axis2_desc_get_all_children(const axis2_desc_t *desc,
-        const axutil_env_t *env);
+    axis2_desc_get_all_children(
+        const axis2_desc_t * desc,
+        const axutil_env_t * env);
 
     /**
      * Gets child with given key.
@@ -140,9 +149,10 @@
      * correct type
      */
     AXIS2_EXTERN void *AXIS2_CALL
-    axis2_desc_get_child(const axis2_desc_t *desc,
-        const axutil_env_t *env,
-        const axis2_char_t *key);
+    axis2_desc_get_child(
+        const axis2_desc_t * desc,
+        const axutil_env_t * env,
+        const axis2_char_t * key);
 
     /**
      * Removes the name child.
@@ -152,10 +162,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_desc_remove_child(const axis2_desc_t *desc,
-        const axutil_env_t *env,
-        const axis2_char_t *key);
-    
+    axis2_desc_remove_child(
+        const axis2_desc_t * desc,
+        const axutil_env_t * env,
+        const axis2_char_t * key);
+
     /**
      * Sets parent description.
      * @param desc pointer to description
@@ -164,9 +175,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_desc_set_parent(axis2_desc_t *desc,
-        const axutil_env_t *env,
-        axis2_desc_t *parent);
+    axis2_desc_set_parent(
+        axis2_desc_t * desc,
+        const axutil_env_t * env,
+        axis2_desc_t * parent);
 
     /**
      * Gets parent description.
@@ -175,20 +187,24 @@
      * @return parent pointer to parent description 
      */
     AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
-    axis2_desc_get_parent(const axis2_desc_t *desc,
-        const axutil_env_t *env);
+    axis2_desc_get_parent(
+        const axis2_desc_t * desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_desc_set_policy_include(axis2_desc_t *desc,
-        const axutil_env_t *env,
+    axis2_desc_set_policy_include(
+        axis2_desc_t * desc,
+        const axutil_env_t * env,
         struct axis2_policy_include *policy_include);
 
     AXIS2_EXTERN struct axis2_policy_include *AXIS2_CALL
-    axis2_desc_get_policy_include(axis2_desc_t *desc,
-        const axutil_env_t *env);
 
-/** @} */
+                axis2_desc_get_policy_include(
+                    axis2_desc_t * desc,
+                    const axutil_env_t * env);
+
+    /** @} */
 #ifdef __cplusplus
 }
 #endif
-#endif  /* AXIS2_DESC_H */
+#endif                          /* AXIS2_DESC_H */

Modified: webservices/axis2/trunk/c/include/axis2_description.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_description.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_description.h (original)
+++ webservices/axis2/trunk/c/include/axis2_description.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,106 +37,104 @@
 {
 #endif
 
-/**
- * @defgroup axis2_desc description
- * @ingroup axis2
- * @{
- * @}
- */
-
-/*********************************** Constansts********************************/
-
-/**
- * Field EXECUTION_CHAIN_KEY
- */
+    /**
+     * @defgroup axis2_desc description
+     * @ingroup axis2
+     * @{
+     * @}
+     */
+
+    /*********************************** Constansts********************************/
+
+    /**
+     * Field EXECUTION_CHAIN_KEY
+     */
 #define AXIS2_EXECUTION_CHAIN_KEY  "EXECUTION_CHAIN_KEY"
 
-/**
- * Field EXECUTION_OUT_CHAIN_KEY
- */
+    /**
+     * Field EXECUTION_OUT_CHAIN_KEY
+     */
 #define AXIS2_EXECUTION_OUT_CHAIN_KEY "EXECUTION_OUT_CHAIN_KEY"
 
-/**
- * Field EXECUTION_FAULT_CHAIN_KEY
- */
+    /**
+     * Field EXECUTION_FAULT_CHAIN_KEY
+     */
 #define AXIS2_EXECUTION_FAULT_CHAIN_KEY "EXECUTION_FAULT_CHAIN_KEY"
 
-/**
- * Field MODULEREF_KEY
- */
+    /**
+     * Field MODULEREF_KEY
+     */
 #define AXIS2_MODULEREF_KEY  "MODULEREF_KEY"
 
-/**
- * Field OP_KEY
- */
+    /**
+     * Field OP_KEY
+     */
 #define AXIS2_OP_KEY  "OP_KEY"
 
-/**
- * Field CLASSLOADER_KEY
- */
+    /**
+     * Field CLASSLOADER_KEY
+     */
 #define AXIS2_CLASSLOADER_KEY  "CLASSLOADER_KEY"
 
-/**
- * Field CONTEXTPATH_KEY
- */
+    /**
+     * Field CONTEXTPATH_KEY
+     */
 #define AXIS2_CONTEXTPATH_KEY  "CONTEXTPATH_KEY"
 
-/**
- * Field PROVIDER_KEY
- */
+    /**
+     * Field PROVIDER_KEY
+     */
 #define AXIS2_MESSAGE_RECEIVER_KEY  "PROVIDER_KEY"
 
-/**
- * Field STYLE_KEY
- */
+    /**
+     * Field STYLE_KEY
+     */
 #define AXIS2_STYLE_KEY  "STYLE_KEY"
 
-/**
- * Field PARAMETER_KEY
- */
+    /**
+     * Field PARAMETER_KEY
+     */
 #define AXIS2_PARAMETER_KEY  "PARAMETER_KEY"
 
-/**
- * Field IN_FLOW_KEY
- */
+    /**
+     * Field IN_FLOW_KEY
+     */
 #define AXIS2_IN_FLOW_KEY  "IN_FLOW_KEY"
 
-/**
- * Field OUT_FLOW_KEY
- */
+    /**
+     * Field OUT_FLOW_KEY
+     */
 #define AXIS2_OUT_FLOW_KEY  "OUT_FLOW_KEY"
 
-/**
- * Field IN_FAULTFLOW_KEY
- */
+    /**
+     * Field IN_FAULTFLOW_KEY
+     */
 #define AXIS2_IN_FAULTFLOW_KEY  "IN_FAULTFLOW_KEY"
 
-/**
- * Field OUT_FAULTFLOW_KEY
- */
+    /**
+     * Field OUT_FAULTFLOW_KEY
+     */
 #define AXIS2_OUT_FAULTFLOW_KEY  "OUT_FAULTFLOW_KEY"
 
-/**
- * Field PHASES_KEY
- */
+    /**
+     * Field PHASES_KEY
+     */
 #define AXIS2_PHASES_KEY  "PHASES_KEY"
 
-/**
- * Field SERVICE_CLASS
- */
+    /**
+     * Field SERVICE_CLASS
+     */
 #define AXIS2_SERVICE_CLASS  "ServiceClass"
 
-/**
- * Field SERVICE_CLASS_NAME
- */
+    /**
+     * Field SERVICE_CLASS_NAME
+     */
 #define AXIS2_SERVICE_CLASS_NAME "SERVICE_CLASS_NAME"
 
-
-/*********************************** Constants*********************************/
-
+    /*********************************** Constants*********************************/
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* AXIS2_DESCRIPTION_H */
+#endif                          /* AXIS2_DESCRIPTION_H */

Modified: webservices/axis2/trunk/c/include/axis2_disp.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_disp.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_disp.h (original)
+++ webservices/axis2/trunk/c/include/axis2_disp.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
@@ -22,11 +23,11 @@
  * @defgroup axis2_disp dispatcher
  * @ingroup axis2_engine
  * dispatcher is responsible for finding the service and operation for a given
- * invocation. A Web service request would contain information that help 
+ * invocation. A Web service request would contain information that help
  * locate the service and the operation serving the request. This information
  * could be in various formats, and hence the mechanism to find the requested
  * service and operation based on the available information could too vary.
- * Hence there can be various types on dispatches involved in a dispatching 
+ * Hence there can be various types on dispatches involved in a dispatching
  * phase of the engine, that implements the API given in this header.
  * @{
  */
@@ -58,8 +59,9 @@
      * cloned copy
      */
     AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
-    axis2_disp_get_base(const axis2_disp_t *disp,
-        const axutil_env_t *env);
+    axis2_disp_get_base(
+        const axis2_disp_t * disp,
+        const axutil_env_t * env);
 
     /**
      * Gets the name of the dispatcher.
@@ -69,8 +71,9 @@
      * cloned copy
      */
     AXIS2_EXTERN axutil_string_t *AXIS2_CALL
-    axis2_disp_get_name(const axis2_disp_t *disp,
-        const axutil_env_t *env);
+    axis2_disp_get_name(
+        const axis2_disp_t * disp,
+        const axutil_env_t * env);
 
     /**
      * Sets the name of the dispatcher.
@@ -81,9 +84,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_disp_set_name(axis2_disp_t *disp,
-        const axutil_env_t *env, 
-        axutil_string_t *name);
+    axis2_disp_set_name(
+        axis2_disp_t * disp,
+        const axutil_env_t * env,
+        axutil_string_t * name);
 
     /**
      * Frees dispatcher struct.
@@ -92,8 +96,9 @@
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_disp_free(axis2_disp_t *disp,
-        const axutil_env_t *env);
+    axis2_disp_free(
+        axis2_disp_t * disp,
+        const axutil_env_t * env);
 
     /**
      * Creates a dispatcher struct instance.
@@ -101,14 +106,15 @@
      * @param name pointer to QName. QName is cloned by create method.
      * @return pointer to newly created dispatcher
      */
-    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL 
-    axis2_disp_create(const axutil_env_t *env, 
-        const axutil_string_t *name);
+    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL
+    axis2_disp_create(
+        const axutil_env_t * env,
+        const axutil_string_t * name);
 
     axis2_status_t AXIS2_CALL
     axis2_disp_find_svc_and_op(
         struct axis2_handler *handler,
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         struct axis2_msg_ctx *msg_ctx);
 
     /**
@@ -117,8 +123,9 @@
      * @return pointer to the newly created dispatcher with find_svc and find_op
      * methods implemented based on WS-Addressing
      */
-    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL 
-    axis2_addr_disp_create(const axutil_env_t *env);
+    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL
+    axis2_addr_disp_create(
+        const axutil_env_t * env);
 
     /**
      * Creates a request URI based dispatcher.
@@ -126,8 +133,9 @@
      * @return pointer to the newly created dispatcher with find_svc and find_op
      * methods implemented based on request URI processing.
      */
-    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL 
-    axis2_req_uri_disp_create(const axutil_env_t *env);
+    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL
+    axis2_req_uri_disp_create(
+        const axutil_env_t * env);
 
     /**
      * Creates a SOAP body based dispatcher.
@@ -135,8 +143,9 @@
      * @return pointer to the newly created dispatcher with find_svc and find_op
      * methods implemented based on SOAP body processing.
      */
-    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL 
-    axiom_soap_body_disp_create(const axutil_env_t *env);
+    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL
+    axiom_soap_body_disp_create(
+        const axutil_env_t * env);
 
     /**
      * Creates a SOAP action based dispatcher.
@@ -144,11 +153,12 @@
      * @return pointer to the newly created dispatcher with find_svc and find_op
      * methods implemented based on SOAP action processing
      */
-    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL 
-    axiom_soap_action_disp_create(const axutil_env_t *env);
+    AXIS2_EXTERN axis2_disp_t *AXIS2_CALL
+    axiom_soap_action_disp_create(
+        const axutil_env_t * env);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_DISP_H */
+#endif                          /* AXIS2_DISP_H */

Modified: webservices/axis2/trunk/c/include/axis2_endpoint_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_endpoint_ref.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_endpoint_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_endpoint_ref.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
@@ -24,8 +25,8 @@
  * endpoint reference represent an endpoint address in WS-Addressing.
  * In addition to the endpoint address, it also encapsulates meta data,
  * reference attributes and the service hosted at the given endpoint.
- * In addition to the addressing related implementation, the endpoint reference 
- * struct is used across core code-base to represent endpoints. 
+ * In addition to the addressing related implementation, the endpoint reference
+ * struct is used across core code-base to represent endpoints.
  * @{
  */
 
@@ -57,8 +58,9 @@
      * @return pointer to newly created endpoint reference
      */
     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
-    axis2_endpoint_ref_create(const axutil_env_t *env,
-        const axis2_char_t *address);
+    axis2_endpoint_ref_create(
+        const axutil_env_t * env,
+        const axis2_char_t * address);
 
     /**
      * Frees the endpoint_ref given as a void pointer. This method would cast the 
@@ -68,8 +70,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     void AXIS2_CALL
-    axis2_endpoint_ref_free_void_arg(void *endpoint_ref,
-        const axutil_env_t *env);
+    axis2_endpoint_ref_free_void_arg(
+        void *endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Gets endpoint address. Address URI identifies the endpoint. 
@@ -79,8 +82,10 @@
      * @return endpoint address string
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_endpoint_ref_get_address(const axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
+
+    axis2_endpoint_ref_get_address(
+        const axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Sets endpoint address. Address URI identifies the endpoint. 
@@ -91,9 +96,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_endpoint_ref_set_address(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env,
-        const axis2_char_t *address);
+    axis2_endpoint_ref_set_address(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env,
+        const axis2_char_t * address);
 
     /**
      * Gets interface QName. QName represents the primary portType of 
@@ -104,8 +110,10 @@
      * copy
      */
     AXIS2_EXTERN const axutil_qname_t *AXIS2_CALL
-    axis2_endpoint_ref_get_interface_qname(const axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
+
+    axis2_endpoint_ref_get_interface_qname(
+        const axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Sets interface QName. QName represents the primary portType of 
@@ -117,9 +125,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_endpoint_ref_set_interface_qname(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env,
-        const axutil_qname_t *interface_qname);
+
+    axis2_endpoint_ref_set_interface_qname(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env,
+        const axutil_qname_t * interface_qname);
 
     /**
      * Gets reference parameter list. A reference may contain a number 
@@ -133,8 +143,10 @@
      * returns a reference, not a cloned copy 
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_endpoint_ref_get_ref_param_list(const axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
+
+    axis2_endpoint_ref_get_ref_param_list(
+        const axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Gets the list of metadata. An endpoint can have different associated 
@@ -145,8 +157,10 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_endpoint_ref_get_metadata_list(const axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
+
+    axis2_endpoint_ref_get_metadata_list(
+        const axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Gets the list of reference attributes. 
@@ -156,8 +170,10 @@
      * returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_endpoint_ref_get_ref_attribute_list(const axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
+
+    axis2_endpoint_ref_get_ref_attribute_list(
+        const axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Gets the list of metadata attributes.
@@ -167,8 +183,10 @@
      * returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_endpoint_ref_get_metadata_attribute_list(const axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
+
+    axis2_endpoint_ref_get_metadata_attribute_list(
+        const axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Gets the list of extensions. Extensions are a mechanism to allow 
@@ -179,8 +197,10 @@
      * returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_endpoint_ref_get_extension_list(const axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
+
+    axis2_endpoint_ref_get_extension_list(
+        const axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Adds a reference parameter in the form of an AXIOM node. 
@@ -192,9 +212,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_endpoint_ref_add_ref_param(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env,
-        axiom_node_t *ref_param_node);
+    axis2_endpoint_ref_add_ref_param(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env,
+        axiom_node_t * ref_param_node);
 
     /**
      * Adds metadata in the form of an AXIOM node. An endpoint can have 
@@ -207,9 +228,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_endpoint_ref_add_metadata(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env,
-        axiom_node_t *metadata_node);
+    axis2_endpoint_ref_add_metadata(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env,
+        axiom_node_t * metadata_node);
 
     /**
      * Adds a reference attribute in the form of an AXIOM attribute.
@@ -220,9 +242,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_endpoint_ref_add_ref_attribute(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env,
-        axiom_attribute_t *attr);
+
+    axis2_endpoint_ref_add_ref_attribute(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env,
+        axiom_attribute_t * attr);
 
     /**
      * Adds a meta attribute in the form of an AXIOM attribute.
@@ -233,9 +257,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_endpoint_ref_add_metadata_attribute(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env,
-        axiom_attribute_t *attr);
+
+    axis2_endpoint_ref_add_metadata_attribute(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env,
+        axiom_attribute_t * attr);
 
     /**
      * Adds an extension in the form of an AXIOM node.
@@ -246,9 +272,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_endpoint_ref_add_extension(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env,
-        axiom_node_t *extension_node);
+    axis2_endpoint_ref_add_extension(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env,
+        axiom_node_t * extension_node);
 
     /**
      * Gets service name. An endpoint in WS-Addressing has a QName 
@@ -261,8 +288,10 @@
      * a cloned copy
      */
     AXIS2_EXTERN axis2_svc_name_t *AXIS2_CALL
-    axis2_endpoint_ref_get_svc_name(const axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
+
+    axis2_endpoint_ref_get_svc_name(
+        const axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
     /**
      * Sets service name. An endpoint in WS-Addressing has a QName 
@@ -276,9 +305,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_endpoint_ref_set_svc_name(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env,
-        axis2_svc_name_t *svc_name);
+    axis2_endpoint_ref_set_svc_name(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env,
+        axis2_svc_name_t * svc_name);
 
     /**
      * Frees endpoint reference struct.
@@ -287,14 +317,14 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_endpoint_ref_free(axis2_endpoint_ref_t *endpoint_ref,
-        const axutil_env_t *env);
-
+    axis2_endpoint_ref_free(
+        axis2_endpoint_ref_t * endpoint_ref,
+        const axutil_env_t * env);
 
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_ENDPOINT_REF_H */
+#endif                          /* AXIS2_ENDPOINT_REF_H */

Modified: webservices/axis2/trunk/c/include/axis2_engine.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_engine.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_engine.h (original)
+++ webservices/axis2/trunk/c/include/axis2_engine.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
@@ -19,13 +20,13 @@
 #define AXIS2_ENGINE_H
 
 /**
- * @defgroup axis2_engine engine 
+ * @defgroup axis2_engine engine
  * @ingroup axis2_engine
- * engine has the send and receive functions that is the heart when providing 
- * and consuming services. In Axis2 SOAP engine architecture, all the others 
- * parts are build around the concept of the engine. There is only one engine 
+ * engine has the send and receive functions that is the heart when providing
+ * and consuming services. In Axis2 SOAP engine architecture, all the others
+ * parts are build around the concept of the engine. There is only one engine
  * for both the server side and the client side, and the engine is not aware of
- * if it is invoked as an client or a service. engine supports both synchronous 
+ * if it is invoked as an client or a service. engine supports both synchronous
  * and asynchronous messaging modes based on send and receive functions.
  * @{
  */
@@ -49,7 +50,6 @@
 
     struct axiom_soap_fault;
 
-
     /**
      * This methods represents the out flow of the Axis engine both at the 
      * server side as well as the client side. In this function, the 
@@ -63,10 +63,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_engine_send(axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axis2_msg_ctx_t *msg_ctx);
-    
+    axis2_engine_send(
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axis2_msg_ctx_t * msg_ctx);
+
     /**
      * This methods represents the in flow of the Axis engine,  both at the 
      * server side as well as the client side. In this function, the 
@@ -80,10 +81,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_engine_receive(axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axis2_msg_ctx_t *msg_ctx);
-    
+    axis2_engine_receive(
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axis2_msg_ctx_t * msg_ctx);
+
     /**
      * Sends a SOAP fault.
      * @param engine pointer to engine
@@ -93,10 +95,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_engine_send_fault(axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axis2_msg_ctx_t *msg_ctx);
-                
+    axis2_engine_send_fault(
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axis2_msg_ctx_t * msg_ctx);
+
     /**
      * This is invoked when a SOAP fault is received.
      * @param engine pointer to engine
@@ -106,10 +109,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_engine_receive_fault(axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axis2_msg_ctx_t *msg_ctx);
-                
+    axis2_engine_receive_fault(
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axis2_msg_ctx_t * msg_ctx);
+
     /**
      * Creates a message context that represents the fault state based on 
      * current processing state.
@@ -121,13 +125,14 @@
      * @param reason_text pointer to a string containing reason of the fault
      * @return pointer to message context representing the fault state
      */
-    AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL                                                              
+    AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
+
     axis2_engine_create_fault_msg_ctx(
-        axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axis2_msg_ctx_t *processing_context,
-        const axis2_char_t *code_value,
-        const axis2_char_t *reason_text);
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axis2_msg_ctx_t * processing_context,
+        const axis2_char_t * code_value,
+        const axis2_char_t * reason_text);
 
     /**
      * Invokes the phases in the given array list of phases. The list of 
@@ -143,10 +148,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_engine_invoke_phases(axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axutil_array_list_t *phases,
-        axis2_msg_ctx_t *msg_ctx);
+    axis2_engine_invoke_phases(
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axutil_array_list_t * phases,
+        axis2_msg_ctx_t * msg_ctx);
 
     /**
      * Resumes phase invocation. While invoking the phases, one of the 
@@ -165,10 +171,12 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_engine_resume_invocation_phases(axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axutil_array_list_t *phases,
-        axis2_msg_ctx_t *msg_ctx);
+
+    axis2_engine_resume_invocation_phases(
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axutil_array_list_t * phases,
+        axis2_msg_ctx_t * msg_ctx);
 
     /**
      * Gets sender's SOAP fault code.
@@ -178,10 +186,11 @@
      * @return pointer to SOAP fault code string
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_engine_get_sender_fault_code(const axis2_engine_t *engine,
-        const axutil_env_t *env,
-        const axis2_char_t *soap_namespace);
 
+    axis2_engine_get_sender_fault_code(
+        const axis2_engine_t * engine,
+        const axutil_env_t * env,
+        const axis2_char_t * soap_namespace);
 
     /**
      * Gets receiver's SOAP fault code.
@@ -190,9 +199,11 @@
      * @param soap_namespace pointer to soap namespace
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_engine_get_receiver_fault_code(const axis2_engine_t *engine,
-        const axutil_env_t *env,
-        const axis2_char_t *soap_namespace);
+
+    axis2_engine_get_receiver_fault_code(
+        const axis2_engine_t * engine,
+        const axutil_env_t * env,
+        const axis2_char_t * soap_namespace);
 
     /**
      * Frees engine struct.
@@ -201,8 +212,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_engine_free(axis2_engine_t *engine,
-        const axutil_env_t *env);
+    axis2_engine_free(
+        axis2_engine_t * engine,
+        const axutil_env_t * env);
 
     /**
      * Resumes receive operation. It could be the case that receive was 
@@ -214,9 +226,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_engine_resume_receive(axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axis2_msg_ctx_t *msg_ctx);
+    axis2_engine_resume_receive(
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axis2_msg_ctx_t * msg_ctx);
 
     /**
      * Resumes send operation. It could be the case that send was 
@@ -228,9 +241,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_engine_resume_send(axis2_engine_t *engine,
-        const axutil_env_t *env,
-        axis2_msg_ctx_t *msg_ctx);
+    axis2_engine_resume_send(
+        axis2_engine_t * engine,
+        const axutil_env_t * env,
+        axis2_msg_ctx_t * msg_ctx);
 
     /**
      * Creates en engine struct instance.
@@ -239,8 +253,9 @@
      * @return pointer to newly created engine struct
      */
     AXIS2_EXTERN axis2_engine_t *AXIS2_CALL
-    axis2_engine_create(const axutil_env_t *env,
-        axis2_conf_ctx_t *conf_ctx);
+    axis2_engine_create(
+        const axutil_env_t * env,
+        axis2_conf_ctx_t * conf_ctx);
 
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/axis2_flow.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_flow.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_flow.h (original)
+++ webservices/axis2/trunk/c/include/axis2_flow.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,7 +19,7 @@
 #ifndef AXIS2_FLOW_H
 #define AXIS2_FLOW_H
 
-/** 
+/**
  * @defgroup axis2_flow flow
  * @ingroup axis2_desc
  * flow is a collection of handlers. This struct encapsulates the concept
@@ -35,7 +36,6 @@
 #include <axutil_array_list.h>
 #include <axis2_handler_desc.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -44,23 +44,25 @@
     /** Type name for struct axis2_flow */
     typedef struct axis2_flow axis2_flow_t;
 
-	/**
+    /**
      * Creates flow struct.
      * @param env pointer to environment struct
      * @return pointer to newly created flow
      */
     AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
-    axis2_flow_create (const axutil_env_t *env);
+    axis2_flow_create(
+        const axutil_env_t * env);
 
-    /** 
+    /**
      * Frees flow struct.
      * @param flow pointer to flow
      * @param env pointer to environment struct
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_flow_free(axis2_flow_t *flow,
-        const axutil_env_t *env);
+    axis2_flow_free(
+        axis2_flow_t * flow,
+        const axutil_env_t * env);
 
     /**
      * Adds a handler description to flow.
@@ -70,9 +72,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_flow_add_handler(axis2_flow_t *flow,
-        const axutil_env_t *env,
-        axis2_handler_desc_t *handler);
+    axis2_flow_add_handler(
+        axis2_flow_t * flow,
+        const axutil_env_t * env,
+        axis2_handler_desc_t * handler);
 
     /**
      * Gets handler description at given index.
@@ -82,8 +85,9 @@
      * @return pointer to handler description
      */
     AXIS2_EXTERN axis2_handler_desc_t *AXIS2_CALL
-    axis2_flow_get_handler(const axis2_flow_t *flow,
-        const axutil_env_t *env,
+    axis2_flow_get_handler(
+        const axis2_flow_t * flow,
+        const axutil_env_t * env,
         const int index);
 
     /**
@@ -93,8 +97,9 @@
      * @return handler count
      */
     AXIS2_EXTERN int AXIS2_CALL
-    axis2_flow_get_handler_count(const axis2_flow_t *flow,
-        const axutil_env_t *env);
+    axis2_flow_get_handler_count(
+        const axis2_flow_t * flow,
+        const axutil_env_t * env);
 
     /**
      * Frees flow passed as void pointer. This method would cast the void 
@@ -104,12 +109,13 @@
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_flow_free_void_arg (void *flow,
-        const axutil_env_t *env);
+    axis2_flow_free_void_arg(
+        void *flow,
+        const axutil_env_t * env);
 
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }
 #endif
-#endif  /* AXIS2_FLOW_H */
+#endif                          /* AXIS2_FLOW_H */

Modified: webservices/axis2/trunk/c/include/axis2_flow_container.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_flow_container.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_flow_container.h (original)
+++ webservices/axis2/trunk/c/include/axis2_flow_container.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,10 +19,10 @@
 #ifndef AXIS2_FLOW_CONTAINER_H
 #define AXIS2_FLOW_CONTAINER_H
 
-/** 
+/**
  * @defgroup axis2_flow_container flow container
  * @ingroup axis2_desc
- * Flow container is the encapsulating struct for all the four flows. The four flows 
+ * Flow container is the encapsulating struct for all the four flows. The four flows
  * possible are in flow, out flow, in fault flow and out fault flow.
  * @{
  */
@@ -39,7 +40,6 @@
 #include <axutil_array_list.h>
 #include <axis2_flow.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -48,16 +48,16 @@
     /** Type name for struct axis2_flow_container */
     typedef struct axis2_flow_container axis2_flow_container_t;
 
-
-    /** 
+    /**
      * Frees flow container.
      * @param flow_container pointer to flow container
      * @param env pointer to environment struct
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_flow_container_free(axis2_flow_container_t *flow_container,
-        const axutil_env_t *env);
+    axis2_flow_container_free(
+        axis2_flow_container_t * flow_container,
+        const axutil_env_t * env);
 
     /**
      * Gets in flow.
@@ -66,8 +66,9 @@
      * @return pointer to in flow, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
-    axis2_flow_container_get_in_flow(const axis2_flow_container_t *flow_container,
-        const axutil_env_t *env);
+    axis2_flow_container_get_in_flow(
+        const axis2_flow_container_t * flow_container,
+        const axutil_env_t * env);
 
     /**
      * Sets in flow.
@@ -78,9 +79,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_flow_container_set_in_flow(axis2_flow_container_t *flow_container,
-        const axutil_env_t *env,
-        axis2_flow_t *in_flow);
+    axis2_flow_container_set_in_flow(
+        axis2_flow_container_t * flow_container,
+        const axutil_env_t * env,
+        axis2_flow_t * in_flow);
 
     /**
      * Gets out flow.
@@ -89,8 +91,9 @@
      * @return out flow, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
-    axis2_flow_container_get_out_flow(const axis2_flow_container_t *flow_container,
-        const axutil_env_t *env);
+    axis2_flow_container_get_out_flow(
+        const axis2_flow_container_t * flow_container,
+        const axutil_env_t * env);
 
     /**
      * Sets out flow.
@@ -101,9 +104,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_flow_container_set_out_flow(axis2_flow_container_t *flow_container,
-        const axutil_env_t *env,
-        axis2_flow_t *out_flow);
+    axis2_flow_container_set_out_flow(
+        axis2_flow_container_t * flow_container,
+        const axutil_env_t * env,
+        axis2_flow_t * out_flow);
 
     /**
      * Gets fault in flow.
@@ -112,8 +116,10 @@
      * @return fault in flow, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
-    axis2_flow_container_get_fault_in_flow(const axis2_flow_container_t *flow_container,
-        const axutil_env_t *env);
+
+    axis2_flow_container_get_fault_in_flow(
+        const axis2_flow_container_t * flow_container,
+        const axutil_env_t * env);
 
     /**
      * Sets fault in flow.
@@ -124,9 +130,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_flow_container_set_fault_in_flow(axis2_flow_container_t *flow_container,
-        const axutil_env_t *env,
-        axis2_flow_t *falut_in_flow);
+
+    axis2_flow_container_set_fault_in_flow(
+        axis2_flow_container_t * flow_container,
+        const axutil_env_t * env,
+        axis2_flow_t * falut_in_flow);
 
     /**
      * Gets fault out flow.
@@ -135,8 +143,10 @@
      * @return fault out flow, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
-    axis2_flow_container_get_fault_out_flow(const axis2_flow_container_t *flow_container,
-        const axutil_env_t *env);
+
+    axis2_flow_container_get_fault_out_flow(
+        const axis2_flow_container_t * flow_container,
+        const axutil_env_t * env);
 
     /**
      * Sets fault out flow.
@@ -147,9 +157,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_flow_container_set_fault_out_flow(axis2_flow_container_t *flow_container,
-        const axutil_env_t *env,
-        axis2_flow_t *fault_out_flow);
+
+    axis2_flow_container_set_fault_out_flow(
+        axis2_flow_container_t * flow_container,
+        const axutil_env_t * env,
+        axis2_flow_t * fault_out_flow);
 
     /**
      * Creates flow container struct.
@@ -157,12 +169,13 @@
      * @return pointer to newly created flow container
      */
     AXIS2_EXTERN axis2_flow_container_t *AXIS2_CALL
-    axis2_flow_container_create (const axutil_env_t *env);
 
+    axis2_flow_container_create(
+        const axutil_env_t * env);
 
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }
 #endif
-#endif  /* AXIS2_FLOW_CONTAINER_H */
+#endif                          /* AXIS2_FLOW_CONTAINER_H */

Modified: webservices/axis2/trunk/c/include/axis2_handler.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_handler.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_handler.h (original)
+++ webservices/axis2/trunk/c/include/axis2_handler.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
@@ -21,15 +22,15 @@
 /**
  * @defgroup axis2_handler handler
  * @ingroup axis2_handler
- * handler is the smallest unit of execution in the Axis2 engine's execution flow. 
- * The engine could have two flows, the in-flow and out-flow. A flow is a 
+ * handler is the smallest unit of execution in the Axis2 engine's execution flow.
+ * The engine could have two flows, the in-flow and out-flow. A flow is a
  * collection of phases and a phase in turn is a collection of handlers.
- * handlers are configured in relation to modules. A module is a point of 
- * extension in the Axis2 engine and a module would have one or more handlers 
- * defined in its configuration. The module configuration defines the phases 
+ * handlers are configured in relation to modules. A module is a point of
+ * extension in the Axis2 engine and a module would have one or more handlers
+ * defined in its configuration. The module configuration defines the phases
  * each handler is attached to. A handler is invoked when the phase within which
  * it lives is invoked. handler is stateless and it is using the message context
- * that the state information is captures across invocations. 
+ * that the state information is captures across invocations.
  * @{
  */
 
@@ -52,7 +53,6 @@
     struct axis2_handler_desc;
     struct axis2_msg_ctx;
 
-
     /**
      * Free handler struct.
      * @param handler pointer to handler
@@ -60,9 +60,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_handler_free(axis2_handler_t *handler,
-        const axutil_env_t *env);
-
+    axis2_handler_free(
+        axis2_handler_t * handler,
+        const axutil_env_t * env);
 
     /**
      * Initializes the handler with the information form handler description.
@@ -72,8 +72,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_init(axis2_handler_t *handler,
-        const axutil_env_t *env,
+    axis2_handler_init(
+        axis2_handler_t * handler,
+        const axutil_env_t * env,
         struct axis2_handler_desc *handler_desc);
 
     /**
@@ -88,8 +89,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_invoke(axis2_handler_t *handler,
-        const axutil_env_t *env,
+    axis2_handler_invoke(
+        axis2_handler_t * handler,
+        const axutil_env_t * env,
         struct axis2_msg_ctx *msg_ctx);
 
     /**
@@ -99,8 +101,9 @@
      * @return pointer to QName of the handler
      */
     AXIS2_EXTERN const axutil_string_t *AXIS2_CALL
-    axis2_handler_get_name(const axis2_handler_t *handler,
-        const axutil_env_t *env);
+    axis2_handler_get_name(
+        const axis2_handler_t * handler,
+        const axutil_env_t * env);
 
     /**
      * Gets the named parameter.
@@ -109,35 +112,40 @@
      * @param name name of the parameter to be accessed
      */
     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
-    axis2_handler_get_param(const axis2_handler_t *handler,
-        const axutil_env_t *env,
-        const axis2_char_t *name);
+    axis2_handler_get_param(
+        const axis2_handler_t * handler,
+        const axutil_env_t * env,
+        const axis2_char_t * name);
 
     /**
       * Gets the handler description related to the handler.
       * @param handler pointer to handler
       * @param env pointer to environment struct
-      * @return pointer to handler description struct related to handler         
+      * @return pointer to handler description struct related to handler    
       */
     AXIS2_EXTERN struct axis2_handler_desc *AXIS2_CALL
-    axis2_handler_get_handler_desc(const axis2_handler_t *handler,
-        const axutil_env_t *env);
-        
+
+                axis2_handler_get_handler_desc(
+                    const axis2_handler_t * handler,
+                    const axutil_env_t * env);
+
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_set_invoke(axis2_handler_t *handler,
-        const axutil_env_t *env, 
+    axis2_handler_set_invoke(
+        axis2_handler_t * handler,
+        const axutil_env_t * env,
         void *func);
 
-
     /**
      * Function pointer defining the creates syntax for a handler struct instance.
      * @param env pointer to environment struct
      * @param pointer to qname
      * @return pointer to newly created handler struct
      */
-    typedef axis2_handler_t *(AXIS2_CALL *
-    AXIS2_HANDLER_CREATE_FUNC)(const axutil_env_t *env,
-        const axutil_string_t *name);
+    typedef axis2_handler_t *(
+        AXIS2_CALL
+        * AXIS2_HANDLER_CREATE_FUNC)(
+            const axutil_env_t * env,
+            const axutil_string_t * name);
 
     /**
      * Creates handler struct instance.
@@ -145,7 +153,8 @@
      * @return pointer to newly created handler struct
      */
     AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
-    axis2_handler_create(const axutil_env_t *env);
+    axis2_handler_create(
+        const axutil_env_t * env);
 
     /**
      * Creates a handler with invoke method implemented to fill in the service 
@@ -155,13 +164,14 @@
      * @return pointer to newly created handler struct
      */
     AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
-    axis2_ctx_handler_create(const axutil_env_t *env, 
-        const axutil_string_t *qname);
+    axis2_ctx_handler_create(
+        const axutil_env_t * env,
+        const axutil_string_t * qname);
 
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_HANDLER_H */
+#endif                          /* AXIS2_HANDLER_H */

Modified: webservices/axis2/trunk/c/include/axis2_handler_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_handler_desc.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_handler_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_handler_desc.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
@@ -21,9 +22,9 @@
 /**
  * @defgroup axis2_handler_desc handler description
  * @ingroup axis2_desc
- * handler description captures information on a handler. Each handler in the 
- * system has an associated handler description. Deployment engine would create 
- * handler descriptions based on configuration information. When handlers are 
+ * handler description captures information on a handler. Each handler in the
+ * system has an associated handler description. Deployment engine would create
+ * handler descriptions based on configuration information. When handlers are
  * loaded from shared libraries, the information captured in handler description
  * would be used.
  * @{
@@ -55,8 +56,10 @@
      * @return pointer to QName, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN const axutil_string_t *AXIS2_CALL
-    axis2_handler_desc_get_name(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env);
+
+    axis2_handler_desc_get_name(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env);
 
     /**
      * Sets QName.
@@ -67,9 +70,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_desc_set_name(axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env,
-        axutil_string_t *name);
+    axis2_handler_desc_set_name(
+        axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env,
+        axutil_string_t * name);
 
     /**
      * Gets phase rules.
@@ -78,8 +82,9 @@
      * @return pointer to phase rule struct containing phase rules
      */
     AXIS2_EXTERN axis2_phase_rule_t *AXIS2_CALL
-    axis2_handler_desc_get_rules(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env);
+    axis2_handler_desc_get_rules(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env);
 
     /**
      * Sets phase rules.
@@ -90,9 +95,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_desc_set_rules(axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env,
-        axis2_phase_rule_t *phase_rule);
+    axis2_handler_desc_set_rules(
+        axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env,
+        axis2_phase_rule_t * phase_rule);
 
     /**
      * Gets named parameter.
@@ -103,9 +109,10 @@
      * not a cloned copy
      */
     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
-    axis2_handler_desc_get_param(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env,
-        const axis2_char_t *name);
+    axis2_handler_desc_get_param(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env,
+        const axis2_char_t * name);
 
     /**
      * Adds given parameter to the parameter list.
@@ -115,9 +122,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_desc_add_param(axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env,
-        axutil_param_t *param);
+    axis2_handler_desc_add_param(
+        axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env,
+        axutil_param_t * param);
 
     /**
      * Gets all parameters stored within handler description.
@@ -127,8 +135,10 @@
      * reference, not a cloned copy
      */
     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
-    axis2_handler_desc_get_all_params(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env);
+
+    axis2_handler_desc_get_all_params(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env);
 
     /**
      * Checks if the named parameter is locked at any level
@@ -138,9 +148,10 @@
      * @return AXIS2_TRUE if the parameter is locked, else AXIS2_FALSE
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axis2_handler_desc_is_param_locked(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env, 
-        const axis2_char_t *param_name);
+    axis2_handler_desc_is_param_locked(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env,
+        const axis2_char_t * param_name);
 
     /**
      * Gets the handler associated with the handler description.
@@ -149,8 +160,9 @@
      * @return pointer to handler, returns a reference, not a cloned copy
      */
     AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
-    axis2_handler_desc_get_handler(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env);
+    axis2_handler_desc_get_handler(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env);
 
     /**
      * Sets the handler associated with the handler description.
@@ -161,9 +173,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_desc_set_handler(axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env,
-        axis2_handler_t *handler);
+    axis2_handler_desc_set_handler(
+        axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env,
+        axis2_handler_t * handler);
 
     /**
      * Gets the class name. Class name is the name of the shared library 
@@ -173,8 +186,10 @@
      * @return class name string
      */
     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axis2_handler_desc_get_class_name(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env);
+
+    axis2_handler_desc_get_class_name(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env);
 
     /**
      * Sets the class name. Class name is the name of the shared library 
@@ -185,9 +200,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_desc_set_class_name(axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env,
-        const axis2_char_t *class_name);
+    axis2_handler_desc_set_class_name(
+        axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env,
+        const axis2_char_t * class_name);
 
     /**
      * Gets the parent. Parent of handler description is of type parameter
@@ -198,8 +214,10 @@
      * not a cloned copy
      */
     AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
-    axis2_handler_desc_get_parent(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env);
+
+    axis2_handler_desc_get_parent(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env);
 
     /**
      * Gets the parent. Parent of handler description is of type parameter
@@ -211,9 +229,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_handler_desc_set_parent(axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env,
-        axutil_param_container_t *parent);
+    axis2_handler_desc_set_parent(
+        axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env,
+        axutil_param_container_t * parent);
 
     /**
      * Frees handler description.
@@ -222,8 +241,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_handler_desc_free(axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env);
+    axis2_handler_desc_free(
+        axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env);
 
     /**
      * Gets the param container.
@@ -233,9 +253,10 @@
      * not a cloned copy
      */
     AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
-    axis2_handler_desc_get_param_container(const axis2_handler_desc_t *handler_desc,
-        const axutil_env_t *env);
 
+    axis2_handler_desc_get_param_container(
+        const axis2_handler_desc_t * handler_desc,
+        const axutil_env_t * env);
 
     /**
      * Creates handler description struct instance.
@@ -245,13 +266,14 @@
      * @return pointer to newly created handler description struct
      */
     AXIS2_EXTERN axis2_handler_desc_t *AXIS2_CALL
-    axis2_handler_desc_create(const axutil_env_t *env, 
-        axutil_string_t *name);
+    axis2_handler_desc_create(
+        const axutil_env_t * env,
+        axutil_string_t * name);
 
-/** @} */
+    /** @} */
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_HANDLER_DESC_H */
+#endif                          /* AXIS2_HANDLER_DESC_H */

Modified: webservices/axis2/trunk/c/include/axis2_http_chunked_stream.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_chunked_stream.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_chunked_stream.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_chunked_stream.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,7 +21,7 @@
 
 /**
  * @defgroup axis2_http_chunked_stream http chunked stream
- * @ingroup axis2_core_trans_http 
+ * @ingroup axis2_core_trans_http
  * Description
  * @{
  */
@@ -35,7 +36,6 @@
 #include <axutil_env.h>
 #include <axutil_stream.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -44,7 +44,6 @@
     /** Type name for struct axis2_http_chunked_stream */
     typedef struct axis2_http_chunked_stream axis2_http_chunked_stream_t;
 
-
     /**
     * @param chunked_stream pointer to chunked stream
     * @param env pointer to environment struct
@@ -52,8 +51,9 @@
     * @param count
     */
     AXIS2_EXTERN int AXIS2_CALL
-    axis2_http_chunked_stream_read(axis2_http_chunked_stream_t *chunked_stream,
-        const axutil_env_t *env,
+    axis2_http_chunked_stream_read(
+        axis2_http_chunked_stream_t * chunked_stream,
+        const axutil_env_t * env,
         void *buffer,
         size_t count);
 
@@ -63,8 +63,9 @@
     * @param count
     */
     AXIS2_EXTERN int AXIS2_CALL
-    axis2_http_chunked_stream_write(axis2_http_chunked_stream_t *chunked_stream,
-        const axutil_env_t *env,
+    axis2_http_chunked_stream_write(
+        axis2_http_chunked_stream_t * chunked_stream,
+        const axutil_env_t * env,
         const void *buffer,
         size_t count);
 
@@ -73,8 +74,10 @@
     * @param env pointer to environment struct
     */
     AXIS2_EXTERN int AXIS2_CALL
-    axis2_http_chunked_stream_get_current_chunk_size(const axis2_http_chunked_stream_t *chunked_stream,
-        const axutil_env_t *env);
+
+    axis2_http_chunked_stream_get_current_chunk_size(
+        const axis2_http_chunked_stream_t * chunked_stream,
+        const axutil_env_t * env);
 
     /**
     * @param chunked_stream pointer to chunked stream
@@ -82,8 +85,10 @@
     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
     */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_chunked_stream_write_last_chunk(axis2_http_chunked_stream_t *chunked_stream,
-        const axutil_env_t *env);
+
+    axis2_http_chunked_stream_write_last_chunk(
+        axis2_http_chunked_stream_t * chunked_stream,
+        const axutil_env_t * env);
 
     /**
     * @param chunked_stream pointer to chunked stream
@@ -91,19 +96,22 @@
     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
     */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_http_chunked_stream_free(axis2_http_chunked_stream_t *chunked_stream,
-        const axutil_env_t *env);
+    axis2_http_chunked_stream_free(
+        axis2_http_chunked_stream_t * chunked_stream,
+        const axutil_env_t * env);
 
     /**
      * @param env pointer to environment struct
      * @param stream pointer to stream
      */
-    AXIS2_EXTERN axis2_http_chunked_stream_t * AXIS2_CALL
-    axis2_http_chunked_stream_create(const axutil_env_t *env,
-        axutil_stream_t* stream);
+    AXIS2_EXTERN axis2_http_chunked_stream_t *AXIS2_CALL
+
+    axis2_http_chunked_stream_create(
+        const axutil_env_t * env,
+        axutil_stream_t * stream);
 
-/** @} */
+    /** @} */
 #ifdef __cplusplus
 }
 #endif
-#endif /* AXIS2_HTTP_CHUNKED_STREAM_H */
+#endif                          /* AXIS2_HTTP_CHUNKED_STREAM_H */

Modified: webservices/axis2/trunk/c/include/axis2_http_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_client.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_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
@@ -45,7 +46,6 @@
     /** Type name for struct axis2_http_client */
     typedef struct axis2_http_client axis2_http_client_t;
 
-
     /**
      * @param client pointer to client
      * @param env pointer to environment struct
@@ -53,26 +53,30 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_client_send(axis2_http_client_t *client,
-        const axutil_env_t *env,
-        axis2_http_simple_request_t *request,
-        axis2_char_t *ssl_pp);
+    axis2_http_client_send(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
+        axis2_http_simple_request_t * request,
+        axis2_char_t * ssl_pp);
 
     /**
      * @param client pointer to client
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN int AXIS2_CALL
-    axis2_http_client_recieve_header(axis2_http_client_t *client,
-        const axutil_env_t *env);
+    axis2_http_client_recieve_header(
+        axis2_http_client_t * client,
+        const axutil_env_t * env);
 
     /**
      * @param client pointer to client
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_http_simple_response_t *AXIS2_CALL
-    axis2_http_client_get_response(const axis2_http_client_t *client,
-        const axutil_env_t *env);
+
+    axis2_http_client_get_response(
+        const axis2_http_client_t * client,
+        const axutil_env_t * env);
 
     /**
      * @param client pointer to client
@@ -81,17 +85,19 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_client_set_url(axis2_http_client_t *client,
-        const axutil_env_t *env,
-        axutil_url_t *url);
+    axis2_http_client_set_url(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
+        axutil_url_t * url);
 
     /**
      * @param client pointer to client
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axutil_url_t *AXIS2_CALL
-    axis2_http_client_get_url(const axis2_http_client_t *client,
-        const axutil_env_t *env);
+    axis2_http_client_get_url(
+        const axis2_http_client_t * client,
+        const axutil_env_t * env);
 
     /**
      * @param client pointer to client
@@ -100,8 +106,9 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_client_set_timeout(axis2_http_client_t *client,
-        const axutil_env_t *env,
+    axis2_http_client_set_timeout(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
         int timeout_ms);
 
     /**
@@ -109,8 +116,9 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN int AXIS2_CALL
-    axis2_http_client_get_timeout(const axis2_http_client_t *client,
-        const axutil_env_t *env);
+    axis2_http_client_get_timeout(
+        const axis2_http_client_t * client,
+        const axutil_env_t * env);
 
     /**
      * @param client pointer to client
@@ -120,9 +128,10 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_client_set_proxy(axis2_http_client_t *client,
-        const axutil_env_t *env,
-        axis2_char_t *proxy_host,
+    axis2_http_client_set_proxy(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
+        axis2_char_t * proxy_host,
         int proxy_port);
 
     /**
@@ -130,18 +139,23 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_http_client_get_proxy(const axis2_http_client_t *client,
-        const axutil_env_t *env);
+    axis2_http_client_get_proxy(
+        const axis2_http_client_t * client,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
 
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_client_connect_ssl_host(axis2_http_client_t *client,
-        const axutil_env_t *env,
-        axis2_char_t *host,
+    axis2_http_client_connect_ssl_host(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
+        axis2_char_t * host,
         int port);
-    
+
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_client_set_dump_input_msg(axis2_http_client_t *client,
-        const axutil_env_t *env,
+
+    axis2_http_client_set_dump_input_msg(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
         axis2_bool_t dump_input_msg);
 
     /**
@@ -151,17 +165,19 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_client_set_server_cert(axis2_http_client_t *client,
-        const axutil_env_t *env,
-        axis2_char_t *server_cert);
+    axis2_http_client_set_server_cert(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
+        axis2_char_t * server_cert);
 
     /**
      * @param client pointer to client
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_http_client_get_server_cert(const axis2_http_client_t *client,
-        const axutil_env_t *env);
+    axis2_http_client_get_server_cert(
+        const axis2_http_client_t * client,
+        const axutil_env_t * env);
 
     /**
      * @param client pointer to client
@@ -170,18 +186,19 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_client_set_key_file(axis2_http_client_t *client,
-        const axutil_env_t *env,
-        axis2_char_t *key_file);
+    axis2_http_client_set_key_file(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
+        axis2_char_t * key_file);
 
     /**
      * @param client pointer to client
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_http_client_get_key_file(const axis2_http_client_t *client,
-        const axutil_env_t *env);
-
+    axis2_http_client_get_key_file(
+        const axis2_http_client_t * client,
+        const axutil_env_t * env);
 
     /**
      * @param client pointer to client
@@ -189,16 +206,18 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_http_client_free(axis2_http_client_t *client,
-        const axutil_env_t *env);
+    axis2_http_client_free(
+        axis2_http_client_t * client,
+        const axutil_env_t * env);
 
     /**
      * @param env pointer to environment struct
      * @param url pointer to url
      */
     AXIS2_EXTERN axis2_http_client_t *AXIS2_CALL
-    axis2_http_client_create (const axutil_env_t *env,
-        axutil_url_t *url);
+    axis2_http_client_create(
+        const axutil_env_t * env,
+        axutil_url_t * url);
 
     /**
      * Free http_client passed as void pointer. This will be
@@ -208,10 +227,11 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_http_client_free_void_arg (void *client,
-        const axutil_env_t *env);
+    axis2_http_client_free_void_arg(
+        void *client,
+        const axutil_env_t * env);
 
-/** @} */
+    /** @} */
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/include/axis2_http_header.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_header.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_header.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_header.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
@@ -25,7 +26,6 @@
  * @{
  */
 
-
 /**
  * @file axis2_http_header.h
  * @brief axis2 HTTP Header name:value pair implementation
@@ -48,24 +48,27 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_http_header_to_external_form(axis2_http_header_t *header,
-        const axutil_env_t *env);
+    axis2_http_header_to_external_form(
+        axis2_http_header_t * header,
+        const axutil_env_t * env);
 
     /**
      * @param header pointer to header
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_http_header_get_name(const axis2_http_header_t *header,
-        const axutil_env_t *env);
+    axis2_http_header_get_name(
+        const axis2_http_header_t * header,
+        const axutil_env_t * env);
 
     /**
      * @param header pointer to header
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_http_header_get_value(const axis2_http_header_t *header,
-        const axutil_env_t *env);
+    axis2_http_header_get_value(
+        const axis2_http_header_t * header,
+        const axutil_env_t * env);
 
     /**
      * @param header pointer to header
@@ -73,8 +76,9 @@
      * @return void
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_http_header_free(axis2_http_header_t *header,
-        const axutil_env_t *env);
+    axis2_http_header_free(
+        axis2_http_header_t * header,
+        const axutil_env_t * env);
 
     /**
      * @param env pointer to environment struct
@@ -82,20 +86,22 @@
      * @param value pointer to value
      */
     AXIS2_EXTERN axis2_http_header_t *AXIS2_CALL
-    axis2_http_header_create (const axutil_env_t *env,
-        const axis2_char_t *name,
-        const axis2_char_t *value);
+    axis2_http_header_create(
+        const axutil_env_t * env,
+        const axis2_char_t * name,
+        const axis2_char_t * value);
 
     /**
      * @param env pointer to environment struct
      * @param str pointer to str
      */
     AXIS2_EXTERN axis2_http_header_t *AXIS2_CALL
-    axis2_http_header_create_by_str (const axutil_env_t *env,
-        const axis2_char_t *str);
 
+    axis2_http_header_create_by_str(
+        const axutil_env_t * env,
+        const axis2_char_t * str);
 
-/** @} */
+    /** @} */
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_out_transport_info.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,43 +36,52 @@
 #include <axutil_env.h>
 #include <axis2_http_simple_response.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
     /** Type name for struct axis2_http_out_transport_info */
-    typedef struct axis2_http_out_transport_info axis2_http_out_transport_info_t;
+    typedef struct axis2_http_out_transport_info
+                axis2_http_out_transport_info_t;
+
+    struct axis2_http_out_transport_info
+    {
+        axis2_http_simple_response_t *response;
+        axis2_char_t *encoding;
+
+        axis2_status_t(
+            AXIS2_CALL
+            * set_content_type)(
+                axis2_http_out_transport_info_t * info,
+                const axutil_env_t * env,
+                const axis2_char_t * content_type);
+
+        axis2_status_t(
+            AXIS2_CALL
+            * set_char_encoding)(
+                axis2_http_out_transport_info_t * info,
+                const axutil_env_t * env,
+                const axis2_char_t * encoding);
+
+        void(
+            AXIS2_CALL
+            * free_function)(
+                axis2_http_out_transport_info_t * info,
+                const axutil_env_t * env);
+    };
 
-	struct axis2_http_out_transport_info
-	{
-		axis2_http_simple_response_t *response;
-		axis2_char_t *encoding;
-
-		axis2_status_t (AXIS2_CALL *
-        set_content_type)(axis2_http_out_transport_info_t *info,
-			const axutil_env_t *env,
-			const axis2_char_t *content_type);
-
-		axis2_status_t (AXIS2_CALL *
-        set_char_encoding)(axis2_http_out_transport_info_t *info,
-			const axutil_env_t *env,
-			const axis2_char_t *encoding);
-
-		void (AXIS2_CALL *
-        free_function)(axis2_http_out_transport_info_t *info,
-			const axutil_env_t *env);
-	};
     /**
      * @param info pointer to info
      * @param env pointer to environment struct
      * @param content_type pointer to content type
      */
     AXIS2_EXTERN int AXIS2_CALL
-    axis2_http_out_transport_info_set_content_type(axis2_http_out_transport_info_t *info,
-        const axutil_env_t *env,
-        const axis2_char_t *content_type);
+
+    axis2_http_out_transport_info_set_content_type(
+        axis2_http_out_transport_info_t * info,
+        const axutil_env_t * env,
+        const axis2_char_t * content_type);
 
     /**
      * @param info pointer to info
@@ -80,9 +90,11 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_http_out_transport_info_set_char_encoding(axis2_http_out_transport_info_t *info,
-        const axutil_env_t *env,
-        const axis2_char_t *encoding);
+
+    axis2_http_out_transport_info_set_char_encoding(
+        axis2_http_out_transport_info_t * info,
+        const axutil_env_t * env,
+        const axis2_char_t * encoding);
 
     /**
      * @param out_transport_info pointer to out transport info
@@ -90,16 +102,19 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_http_out_transport_info_free(axis2_http_out_transport_info_t *out_transport_info,
-        const axutil_env_t *env);
+    axis2_http_out_transport_info_free(
+        axis2_http_out_transport_info_t * out_transport_info,
+        const axutil_env_t * env);
 
     /**
      * @param env pointer to environment struct
      * @param response pointer to response
      */
     AXIS2_EXTERN axis2_http_out_transport_info_t *AXIS2_CALL
-    axis2_http_out_transport_info_create(const axutil_env_t *env,
-        axis2_http_simple_response_t *response);
+
+    axis2_http_out_transport_info_create(
+        const axutil_env_t * env,
+        axis2_http_simple_response_t * response);
 
     /**
      * Free http_out_transport_info passed as void pointer. This will be
@@ -109,47 +124,54 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_http_out_transport_info_free_void_arg(void *transport_info,
-        const axutil_env_t *env);
+    axis2_http_out_transport_info_free_void_arg(
+        void *transport_info,
+        const axutil_env_t * env);
 
-	AXIS2_EXTERN void AXIS2_CALL
-	axis2_http_out_transport_info_set_char_encoding_func(
-			axis2_http_out_transport_info_t *out_transport_info,
-			const axutil_env_t *env,
-			axis2_status_t (AXIS2_CALL *set_encoding)
-			(axis2_http_out_transport_info_t *,	const axutil_env_t *,const axis2_char_t *));
-
-	AXIS2_EXTERN void AXIS2_CALL
-	axis2_http_out_transport_info_set_content_type_func(
-		axis2_http_out_transport_info_t *out_transport_info,
-		const axutil_env_t *env,
-		    axis2_status_t (AXIS2_CALL *set_content_type)(
-			axis2_http_out_transport_info_t *,
-			const axutil_env_t*, const axis2_char_t *));
-
-	AXIS2_EXTERN void AXIS2_CALL
-	axis2_http_out_transport_info_set_free_func(
-		axis2_http_out_transport_info_t *out_transport_info,
-		const axutil_env_t *env,
-		void (AXIS2_CALL *free_function)(
-		axis2_http_out_transport_info_t *,
-		const axutil_env_t*));
+    AXIS2_EXTERN void AXIS2_CALL
+
+    axis2_http_out_transport_info_set_char_encoding_func(
+        axis2_http_out_transport_info_t * out_transport_info,
+        const axutil_env_t * env,
+        axis2_status_t(AXIS2_CALL
+                * set_encoding)
+        (axis2_http_out_transport_info_t *,
+                const axutil_env_t *,
+                const axis2_char_t *));
+
+    AXIS2_EXTERN void AXIS2_CALL
+
+    axis2_http_out_transport_info_set_content_type_func(
+        axis2_http_out_transport_info_t * out_transport_info,
+        const axutil_env_t * env,
+        axis2_status_t(AXIS2_CALL
+                *
+                set_content_type)(axis2_http_out_transport_info_t *,
+                        const axutil_env_t *,
+                        const axis2_char_t *));
 
+    AXIS2_EXTERN void AXIS2_CALL
+    axis2_http_out_transport_info_set_free_func(
+        axis2_http_out_transport_info_t * out_transport_info,
+        const axutil_env_t * env,
+        void(AXIS2_CALL
+                * free_function)(axis2_http_out_transport_info_t *,
+                        const axutil_env_t *));
 
-/** Set content type. */
+    /** Set content type. */
 #define AXIS2_HTTP_OUT_TRANSPORT_INFO_SET_CONTENT_TYPE(out_transport_info, \
                env, content_type) axis2_http_out_transport_info_set_content_type (out_transport_info, env, content_type)
 
-/** Set cahr encoding. */
+    /** Set cahr encoding. */
 #define AXIS2_HTTP_OUT_TRANSPORT_INFO_SET_CHAR_ENCODING(out_transport_info,\
                env, encoding) axis2_http_out_transport_info_set_char_encoding(out_transport_info, env, encoding)
 
-/** Free. */
+    /** Free. */
 #define AXIS2_HTTP_OUT_TRANSPORT_INFO_FREE(out_transport_info, env)\
                     axis2_http_out_transport_info_free(out_transport_info, env)
 
-/** @} */
+    /** @} */
 #ifdef __cplusplus
 }
 #endif
-#endif /* AXIS2_HTTP_OUT_TRANSPORT_INFO_H */
+#endif                          /* AXIS2_HTTP_OUT_TRANSPORT_INFO_H */



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


Mime
View raw message