You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pi...@apache.org on 2006/08/07 07:46:58 UTC
svn commit: r429244 - in /webservices/axis2/trunk/c: include/axis2_desc.h
include/axis2_flow.h modules/core/description/desc.c
modules/core/description/flow.c
Author: pini
Date: Sun Aug 6 22:46:58 2006
New Revision: 429244
URL: http://svn.apache.org/viewvc?rev=429244&view=rev
Log:
Fixed formatting
Modified:
webservices/axis2/trunk/c/include/axis2_desc.h
webservices/axis2/trunk/c/include/axis2_flow.h
webservices/axis2/trunk/c/modules/core/description/desc.c
webservices/axis2/trunk/c/modules/core/description/flow.c
Modified: webservices/axis2/trunk/c/include/axis2_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_desc.h?rev=429244&r1=429243&r2=429244&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_desc.h Sun Aug 6 22:46:58 2006
@@ -123,7 +123,7 @@
const axis2_desc_t *desc,
const axis2_env_t *env,
const axis2_char_t *key,
- const void* child);
+ const void *child);
/**
* @param desc pointer to desc
Modified: webservices/axis2/trunk/c/include/axis2_flow.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_flow.h?rev=429244&r1=429243&r2=429244&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_flow.h (original)
+++ webservices/axis2/trunk/c/include/axis2_flow.h Sun Aug 6 22:46:58 2006
@@ -56,9 +56,9 @@
struct axis2_flow_ops
{
/** Deallocate memory
- * @param flow pointer to flow
- * @param env pointer to environment struct
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * @param flow pointer to flow
+ * @param env pointer to environment struct
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
free)(
@@ -67,10 +67,10 @@
/**
* Add handler description
- * @param flow pointer to flow
- * @param env pointer to environment struct
+ * @param flow pointer to flow
+ * @param env pointer to environment struct
* @param handler handler description
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
add_handler)(
@@ -80,12 +80,12 @@
/**
* Get handler
- * @param flow pointer to flow
- * @param env pointer to environment struct
+ * @param flow pointer to flow
+ * @param env pointer to environment struct
* @param index index of the handler
* @return handler description
*/
- axis2_handler_desc_t * (AXIS2_CALL *
+ axis2_handler_desc_t *(AXIS2_CALL *
get_handler)(
const axis2_flow_t *flow,
const axis2_env_t *env,
@@ -93,8 +93,8 @@
/**
* Get handler count
- * @param flow pointer to flow
- * @param env pointer to environment struct
+ * @param flow pointer to flow
+ * @param env pointer to environment struct
* @return handler count
*/
int (AXIS2_CALL *
@@ -117,7 +117,7 @@
* @param env pointer to environment struct
* @return pointer to newly created flow
*/
- AXIS2_EXTERN axis2_flow_t * AXIS2_CALL
+ AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
axis2_flow_create (
const axis2_env_t *env);
Modified: webservices/axis2/trunk/c/modules/core/description/desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/desc.c?rev=429244&r1=429243&r2=429244&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/desc.c Sun Aug 6 22:46:58 2006
@@ -52,13 +52,13 @@
const axis2_env_t *env,
axis2_param_t *param);
-axis2_param_t * AXIS2_CALL
+axis2_param_t *AXIS2_CALL
axis2_desc_get_param(
const axis2_desc_t *desc,
const axis2_env_t *env,
const axis2_char_t *param_name);
-axis2_array_list_t * AXIS2_CALL
+axis2_array_list_t *AXIS2_CALL
axis2_desc_get_all_params(
const axis2_desc_t *desc,
const axis2_env_t *env);
@@ -75,7 +75,7 @@
const axis2_env_t *env,
axis2_policy_container_t *policy_container);
-axis2_policy_container_t * AXIS2_CALL
+axis2_policy_container_t *AXIS2_CALL
axis2_desc_get_policy_container(
const axis2_desc_t *desc,
const axis2_env_t *env);
@@ -88,12 +88,12 @@
const axis2_char_t *key,
const void* child);
-axis2_hash_t * AXIS2_CALL
+axis2_hash_t *AXIS2_CALL
axis2_desc_get_all_children(
const axis2_desc_t *desc,
const axis2_env_t *env);
-void * AXIS2_CALL
+void *AXIS2_CALL
axis2_desc_get_child(
const axis2_desc_t *desc,
const axis2_env_t *env,
@@ -107,7 +107,7 @@
/************************* End of function headers ****************************/
-AXIS2_EXTERN axis2_desc_t * AXIS2_CALL
+AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
axis2_desc_create(
const axis2_env_t *env)
{
@@ -222,7 +222,7 @@
return AXIS2_PARAM_CONTAINER_ADD_PARAM(desc_impl->param_container, env, param);
}
-axis2_param_t * AXIS2_CALL
+axis2_param_t *AXIS2_CALL
axis2_desc_get_param (
const axis2_desc_t *desc,
const axis2_env_t *env,
@@ -235,7 +235,7 @@
return AXIS2_PARAM_CONTAINER_GET_PARAM(desc_impl->param_container, env, param_name);
}
-axis2_array_list_t * AXIS2_CALL
+axis2_array_list_t *AXIS2_CALL
axis2_desc_get_all_params(
const axis2_desc_t *desc,
const axis2_env_t *env)
@@ -279,7 +279,7 @@
return AXIS2_SUCCESS;
}
-axis2_policy_container_t * AXIS2_CALL
+axis2_policy_container_t *AXIS2_CALL
axis2_desc_get_policy_container(
const axis2_desc_t *desc,
const axis2_env_t *env)
@@ -302,7 +302,7 @@
const axis2_desc_t *desc,
const axis2_env_t *env,
const axis2_char_t *key,
- const void* child)
+ const void *child)
{
axis2_desc_impl_t *desc_impl = NULL;
@@ -318,7 +318,7 @@
return AXIS2_FAILURE;
}
-axis2_hash_t * AXIS2_CALL
+axis2_hash_t *AXIS2_CALL
axis2_desc_get_all_children(
const axis2_desc_t *desc,
const axis2_env_t *env)
@@ -327,7 +327,7 @@
return AXIS2_INTF_TO_IMPL(desc)->children;
}
-void * AXIS2_CALL
+void *AXIS2_CALL
axis2_desc_get_child(
const axis2_desc_t *desc,
const axis2_env_t *env,
Modified: webservices/axis2/trunk/c/modules/core/description/flow.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/flow.c?rev=429244&r1=429243&r2=429244&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/flow.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/flow.c Sun Aug 6 22:46:58 2006
@@ -22,39 +22,46 @@
*/
typedef struct axis2_flow_impl
{
- axis2_flow_t flow;
+ axis2_flow_t flow;
/**
* Field list
*/
axis2_array_list_t *list;
-} axis2_flow_impl_t;
+}
+axis2_flow_impl_t;
#define AXIS2_INTF_TO_IMPL(flow) ((axis2_flow_impl_t *)(flow))
/***************************** Function headers *******************************/
axis2_status_t AXIS2_CALL
-axis2_flow_free (axis2_flow_t *flow, const axis2_env_t *env);
+axis2_flow_free(
+ axis2_flow_t *flow,
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
-axis2_flow_add_handler (axis2_flow_t *flow,
- const axis2_env_t *env,
- axis2_handler_desc_t *handler);
-
-axis2_handler_desc_t * AXIS2_CALL
-axis2_flow_get_handler (const axis2_flow_t *flow,
- const axis2_env_t *env,
- int index);
+axis2_flow_add_handler(
+ axis2_flow_t *flow,
+ const axis2_env_t *env,
+ axis2_handler_desc_t *handler);
+
+axis2_handler_desc_t *AXIS2_CALL
+axis2_flow_get_handler(
+ const axis2_flow_t *flow,
+ const axis2_env_t *env,
+ int index);
int AXIS2_CALL
-axis2_flow_get_handler_count(const axis2_flow_t *flow,
- const axis2_env_t *env);
+axis2_flow_get_handler_count(
+ const axis2_flow_t *flow,
+ const axis2_env_t *env);
/************************** End of Function headers ************************/
-AXIS2_EXTERN axis2_flow_t * AXIS2_CALL
-axis2_flow_create (const axis2_env_t *env)
+AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
+axis2_flow_create (
+ const axis2_env_t *env)
{
axis2_flow_impl_t *flow_impl = NULL;
@@ -100,7 +107,9 @@
/*************************** Start of op impls *************************/
axis2_status_t AXIS2_CALL
-axis2_flow_free (axis2_flow_t *flow, const axis2_env_t *env)
+axis2_flow_free(
+ axis2_flow_t *flow,
+ const axis2_env_t *env)
{
axis2_flow_impl_t *flow_impl = NULL;
@@ -141,8 +150,9 @@
}
axis2_status_t AXIS2_CALL
-axis2_flow_free_void_arg (void *flow,
- const axis2_env_t *env)
+axis2_flow_free_void_arg(
+ void *flow,
+ const axis2_env_t *env)
{
axis2_flow_t *flow_l = NULL;
@@ -152,9 +162,10 @@
}
axis2_status_t AXIS2_CALL
-axis2_flow_add_handler (axis2_flow_t *flow,
- const axis2_env_t *env,
- axis2_handler_desc_t *handler)
+axis2_flow_add_handler(
+ axis2_flow_t *flow,
+ const axis2_env_t *env,
+ axis2_handler_desc_t *handler)
{
axis2_flow_impl_t *flow_impl = NULL;
@@ -176,10 +187,11 @@
return AXIS2_ARRAY_LIST_ADD(AXIS2_INTF_TO_IMPL(flow)->list, env, handler);
}
-axis2_handler_desc_t * AXIS2_CALL
-axis2_flow_get_handler (const axis2_flow_t *flow,
- const axis2_env_t *env,
- int index)
+axis2_handler_desc_t *AXIS2_CALL
+axis2_flow_get_handler(
+ const axis2_flow_t *flow,
+ const axis2_env_t *env,
+ int index)
{
AXIS2_ENV_CHECK(env, NULL);
@@ -187,8 +199,9 @@
}
int AXIS2_CALL
-axis2_flow_get_handler_count(const axis2_flow_t *flow,
- const axis2_env_t *env)
+axis2_flow_get_handler_count(
+ const axis2_flow_t *flow,
+ const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org