axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r431279 - in /webservices/axis2/trunk/c/modules/core/engine: phase.c req_uri_disp.c soap_action_disp.c soap_body_disp.c
Date Mon, 14 Aug 2006 01:40:31 GMT
Author: samisa
Date: Sun Aug 13 18:40:31 2006
New Revision: 431279

URL: http://svn.apache.org/viewvc?rev=431279&view=rev
Log:
More code style fixes

Modified:
    webservices/axis2/trunk/c/modules/core/engine/phase.c
    webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
    webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c
    webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c

Modified: webservices/axis2/trunk/c/modules/core/engine/phase.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/phase.c?rev=431279&r1=431278&r2=431279&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/phase.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/phase.c Sun Aug 13 18:40:31 2006
@@ -51,20 +51,20 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_add_handler_at(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env,
     int index, 
     axis2_handler_t *handler);
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_add_handler(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env,
     axis2_handler_t *handler);
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_invoke(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env,
     axis2_msg_ctx_t *msg_ctx);
 
@@ -85,19 +85,19 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_set_first_handler(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env, 
     axis2_handler_t *handler);
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_set_last_handler(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env, 
     axis2_handler_t *handler);
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_add_handler_desc(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env, 
     axis2_handler_desc_t *handler_desc);
 
@@ -151,7 +151,7 @@
                                       
 axis2_status_t AXIS2_CALL 
 axis2_phase_free (
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env);
 
 axis2_phase_t *AXIS2_CALL 
@@ -257,7 +257,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_add_handler_at(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env,
     int index, 
     axis2_handler_t *handler) 
@@ -279,7 +279,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_add_handler(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env,
     axis2_handler_t *handler) 
 {
@@ -298,7 +298,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_invoke(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env,
     axis2_msg_ctx_t *msg_ctx)
 {
@@ -454,7 +454,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_set_first_handler(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env, 
     axis2_handler_t *handler)
 {
@@ -485,7 +485,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_set_last_handler(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env, 
     axis2_handler_t *handler)
 {
@@ -516,7 +516,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_add_handler_desc(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env, 
     axis2_handler_desc_t *handler_desc)
 {
@@ -1147,7 +1147,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_phase_free(
-    struct axis2_phase *phase, 
+    axis2_phase_t *phase, 
     const axis2_env_t *env)
 {
     axis2_phase_impl_t *phase_impl = NULL;

Modified: webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c?rev=431279&r1=431278&r2=431279&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c Sun Aug 13 18:40:31 2006
@@ -25,23 +25,26 @@
 #include <axis2_utils.h>
 
 axis2_status_t AXIS2_CALL 
-axis2_req_uri_disp_invoke (struct axis2_handler * handler, 
-                           const axis2_env_t *env,
-                           struct axis2_msg_ctx *msg_ctx);
+axis2_req_uri_disp_invoke (
+    axis2_handler_t * handler, 
+    const axis2_env_t *env,
+    struct axis2_msg_ctx *msg_ctx);
                            
-axis2_svc_t* AXIS2_CALL 
-axis2_req_uri_disp_find_svc(axis2_msg_ctx_t *msg_ctx,
-                            const axis2_env_t *env);
-
+axis2_svc_t *AXIS2_CALL 
+axis2_req_uri_disp_find_svc(
+    axis2_msg_ctx_t *msg_ctx,
+    const axis2_env_t *env);
                             
-axis2_op_t* AXIS2_CALL 
-axis2_req_uri_disp_find_op(axis2_msg_ctx_t *msg_ctx, 
-                           const axis2_env_t *env,
-                           axis2_svc_t *svc);
+axis2_op_t *AXIS2_CALL 
+axis2_req_uri_disp_find_op(
+    axis2_msg_ctx_t *msg_ctx, 
+    const axis2_env_t *env,
+    axis2_svc_t *svc);
 
 
-axis2_disp_t* AXIS2_CALL 
-axis2_req_uri_disp_create(const axis2_env_t *env) 
+axis2_disp_t *AXIS2_CALL 
+axis2_req_uri_disp_create(
+    const axis2_env_t *env) 
 {
     axis2_disp_t *disp = NULL;
     axis2_handler_t *handler = NULL;
@@ -75,23 +78,10 @@
     return disp;
 }
 
-    
-/** The struct that inherits from this struct
-    should implement the find_service and find_op methods and assing the 
-    respective function pointers in the base struct.
-    Here we have only the dummy implementation to gauard against erros due to 
-    the failure to provide an impl version by mistake.
- */
-    
-/**
- * finds the service
- *
- * @param messageContext
- * @return
- */
-axis2_svc_t* AXIS2_CALL 
-axis2_req_uri_disp_find_svc(axis2_msg_ctx_t *msg_ctx, 
-                            const axis2_env_t *env) 
+axis2_svc_t *AXIS2_CALL 
+axis2_req_uri_disp_find_svc(
+    axis2_msg_ctx_t *msg_ctx, 
+    const axis2_env_t *env) 
 {    
     axis2_endpoint_ref_t *endpoint_ref = NULL;
     axis2_svc_t *svc = NULL;
@@ -142,17 +132,11 @@
     return svc;
 }
 
-/**
- * finds the op
- *
- * @param service
- * @param msg_ctx
- * @return
- */
-axis2_op_t* AXIS2_CALL 
-axis2_req_uri_disp_find_op(axis2_msg_ctx_t *msg_ctx, 
-                           const axis2_env_t *env,
-                           axis2_svc_t *svc)
+axis2_op_t *AXIS2_CALL 
+axis2_req_uri_disp_find_op(
+    axis2_msg_ctx_t *msg_ctx, 
+    const axis2_env_t *env,
+    axis2_svc_t *svc)
 {
     axis2_endpoint_ref_t *endpoint_ref = NULL;
     axis2_op_t *op = NULL;
@@ -200,9 +184,10 @@
 }
             
 axis2_status_t AXIS2_CALL 
-axis2_req_uri_disp_invoke(struct axis2_handler * handler, 
-                          const axis2_env_t *env,
-                          struct axis2_msg_ctx *msg_ctx)
+axis2_req_uri_disp_invoke(
+    axis2_handler_t * handler, 
+    const axis2_env_t *env,
+    struct axis2_msg_ctx *msg_ctx)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);    
     

Modified: webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c?rev=431279&r1=431278&r2=431279&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c Sun Aug 13 18:40:31 2006
@@ -25,24 +25,25 @@
 #include <axis2_utils.h>
 
 axis2_status_t AXIS2_CALL 
-axiom_soap_action_disp_invoke (struct axis2_handler * handler, 
-                               const axis2_env_t *env,
-                               struct axis2_msg_ctx *msg_ctx);
-
+axiom_soap_action_disp_invoke (
+    axis2_handler_t *handler, 
+    const axis2_env_t *env,
+    struct axis2_msg_ctx *msg_ctx);
                                
-axis2_svc_t* AXIS2_CALL 
-axiom_soap_action_disp_find_svc(axis2_msg_ctx_t *msg_ctx,
-                                const axis2_env_t *env);
-
+axis2_svc_t *AXIS2_CALL 
+axiom_soap_action_disp_find_svc(
+    axis2_msg_ctx_t *msg_ctx,
+    const axis2_env_t *env);
                                 
-axis2_op_t* AXIS2_CALL 
-axiom_soap_action_disp_find_op(axis2_msg_ctx_t *msg_ctx, 
-                                const axis2_env_t *env,
-                                axis2_svc_t *svc);
-
-
-axis2_disp_t* AXIS2_CALL 
-axiom_soap_action_disp_create(const axis2_env_t *env) 
+axis2_op_t *AXIS2_CALL 
+axiom_soap_action_disp_find_op(
+    axis2_msg_ctx_t *msg_ctx, 
+    const axis2_env_t *env,
+    axis2_svc_t *svc);
+
+axis2_disp_t *AXIS2_CALL 
+axiom_soap_action_disp_create(
+    const axis2_env_t *env) 
 {
     axis2_disp_t *disp = NULL;
     axis2_handler_t *handler = NULL;
@@ -75,21 +76,7 @@
     return disp;
 }
 
-    
-/** The struct that inherits from this struct
-    should implement the find_service and find_op methods and assing the 
-    respective function pointers in the base struct.
-    Here we have only the dummy implementation to gauard against erros due to 
-    the failure to provide an impl version by mistake.
- */
-    
-/**
- * finds the service
- *
- * @param messageContext
- * @return
- */
-axis2_svc_t* AXIS2_CALL 
+axis2_svc_t *AXIS2_CALL 
 axiom_soap_action_disp_find_svc(axis2_msg_ctx_t *msg_ctx, 
                                 const axis2_env_t *env) 
 {    
@@ -100,17 +87,11 @@
     return NULL;
 }
 
-/**
- * finds the op
- *
- * @param service
- * @param msg_ctx
- * @return
- */
-axis2_op_t* AXIS2_CALL 
-axiom_soap_action_disp_find_op(axis2_msg_ctx_t *msg_ctx, 
-                                const axis2_env_t *env,
-                                axis2_svc_t *svc)
+axis2_op_t *AXIS2_CALL 
+axiom_soap_action_disp_find_op(
+    axis2_msg_ctx_t *msg_ctx, 
+    const axis2_env_t *env,
+    axis2_svc_t *svc)
 {
     axis2_char_t *action = NULL;
     axis2_op_t *op = NULL;        
@@ -159,9 +140,10 @@
 }
     
 axis2_status_t AXIS2_CALL 
-axiom_soap_action_disp_invoke(struct axis2_handler * handler, 
-                              const axis2_env_t *env,
-                              struct axis2_msg_ctx *msg_ctx)
+axiom_soap_action_disp_invoke(
+    axis2_handler_t * handler, 
+    const axis2_env_t *env,
+    struct axis2_msg_ctx *msg_ctx)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);    
     

Modified: webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c?rev=431279&r1=431278&r2=431279&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c Sun Aug 13 18:40:31 2006
@@ -25,23 +25,27 @@
 #include <axiom_soap_body.h>
 
 axis2_status_t AXIS2_CALL 
-axiom_soap_body_disp_invoke (struct axis2_handler * handler, 
-                             const axis2_env_t *env,
-                             struct axis2_msg_ctx *msg_ctx);
+axiom_soap_body_disp_invoke (
+    axis2_handler_t *handler, 
+    const axis2_env_t *env,
+    struct axis2_msg_ctx *msg_ctx);
                              
-axis2_svc_t* AXIS2_CALL 
-axiom_soap_body_disp_find_svc(axis2_msg_ctx_t *msg_ctx,
-                              const axis2_env_t *env);
+axis2_svc_t *AXIS2_CALL 
+axiom_soap_body_disp_find_svc(
+    axis2_msg_ctx_t *msg_ctx,
+    const axis2_env_t *env);
 
                               
-axis2_op_t* AXIS2_CALL 
-axiom_soap_body_disp_find_op(axis2_msg_ctx_t *msg_ctx, 
-                             const axis2_env_t *env,
-                             axis2_svc_t *svc);
+axis2_op_t *AXIS2_CALL 
+axiom_soap_body_disp_find_op(
+    axis2_msg_ctx_t *msg_ctx, 
+    const axis2_env_t *env,
+    axis2_svc_t *svc);
 
 
-axis2_disp_t* AXIS2_CALL 
-axiom_soap_body_disp_create(const axis2_env_t *env) 
+axis2_disp_t *AXIS2_CALL 
+axiom_soap_body_disp_create(
+    const axis2_env_t *env) 
 {
     axis2_disp_t *disp = NULL;
     axis2_handler_t *handler = NULL;
@@ -76,23 +80,10 @@
     return disp;
 }
 
-    
-/** The struct that inherits from this struct
-    should implement the find_service and find_op methods and assing the 
-    respective function pointers in the base struct.
-    Here we have only the dummy implementation to gauard against erros due to 
-    the failure to provide an impl version by mistake.
- */
-    
-/**
- * finds the service
- *
- * @param messageContext
- * @return
- */
-axis2_svc_t* AXIS2_CALL 
-axiom_soap_body_disp_find_svc(axis2_msg_ctx_t *msg_ctx, 
-                              const axis2_env_t *env) 
+axis2_svc_t *AXIS2_CALL 
+axiom_soap_body_disp_find_svc(
+    axis2_msg_ctx_t *msg_ctx, 
+    const axis2_env_t *env) 
 {    
     axiom_soap_envelope_t *soap_envelope = NULL;
     axis2_svc_t *svc = NULL;
@@ -167,17 +158,11 @@
     return svc;
 }
 
-/**
- * finds the op
- *
- * @param service
- * @param msg_ctx
- * @return
- */
-axis2_op_t* AXIS2_CALL 
-axiom_soap_body_disp_find_op(axis2_msg_ctx_t *msg_ctx, 
-                             const axis2_env_t *env,
-                             axis2_svc_t *svc)
+axis2_op_t *AXIS2_CALL 
+axiom_soap_body_disp_find_op(
+    axis2_msg_ctx_t *msg_ctx, 
+    const axis2_env_t *env,
+    axis2_svc_t *svc)
 {
     axiom_soap_envelope_t *soap_envelope = NULL;
     axis2_op_t *op = NULL;
@@ -231,9 +216,10 @@
 }
             
 axis2_status_t AXIS2_CALL 
-axiom_soap_body_disp_invoke(struct axis2_handler * handler, 
-                            const axis2_env_t *env,
-                            struct axis2_msg_ctx *msg_ctx)
+axiom_soap_body_disp_invoke(
+    axis2_handler_t * handler, 
+    const axis2_env_t *env,
+    struct axis2_msg_ctx *msg_ctx)
 {
     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


Mime
View raw message