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/04 14:44:12 UTC

svn commit: r428711 - in /webservices/axis2/trunk/c: include/axis2_phase.h modules/core/engine/phase.c

Author: pini
Date: Fri Aug  4 05:44:12 2006
New Revision: 428711

URL: http://svn.apache.org/viewvc?rev=428711&view=rev
Log:
Fixed fomatting

Modified:
    webservices/axis2/trunk/c/include/axis2_phase.h
    webservices/axis2/trunk/c/modules/core/engine/phase.c

Modified: webservices/axis2/trunk/c/include/axis2_phase.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_phase.h?rev=428711&r1=428710&r2=428711&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phase.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phase.h Fri Aug  4 05:44:12 2006
@@ -52,15 +52,15 @@
 {
 #endif
 
-    struct axis2_phase_ops;
-    struct axis2_phase;
+    typedef struct axis2_phase_ops axis2_phase_ops_t;
+    typedef struct axis2_phase axis2_phase_t;
     struct axis2_msg_ctx;
 
     /**
      * phase ops struct
      * Encapsulator struct for operations of axis2_phase
      */
-    AXIS2_DECLARE_DATA typedef struct axis2_phase_ops
+    struct axis2_phase_ops
     {
         /**
          * Adds given handler to the specified position in the phase array list.
@@ -105,7 +105,7 @@
          */
         axis2_char_t* (AXIS2_CALL *
                 get_name)(
-                    struct axis2_phase *phase,
+                    const axis2_phase_t *phase,
                     const axis2_env_t *env);
 
         /**
@@ -114,7 +114,7 @@
          */
         int (AXIS2_CALL *
                 get_handler_count)( 
-                    struct axis2_phase *phase,
+                    const axis2_phase_t *phase,
                     const axis2_env_t *env);
 
         /**
@@ -201,7 +201,7 @@
          */
         axis2_array_list_t* (AXIS2_CALL *
                 get_handlers)(
-                    struct axis2_phase *phase,
+                    const axis2_phase_t *phase,
                     const axis2_env_t *env);
 
         /**
@@ -227,18 +227,16 @@
                     struct axis2_phase *phase,
                     const axis2_env_t *env);
 
-    }
-    axis2_phase_ops_t;
+    };
 
     /**
      * phase struct
      */
-    typedef struct axis2_phase
+    struct axis2_phase
     {
         /** operations of phase */
         axis2_phase_ops_t *ops;
-    }
-    axis2_phase_t;
+    };
 
 
     /**

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=428711&r1=428710&r2=428711&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/phase.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/phase.c Fri Aug  4 05:44:12 2006
@@ -70,12 +70,12 @@
 
 axis2_char_t* AXIS2_CALL 
 axis2_phase_get_name(
-    struct axis2_phase *phase, 
+    const axis2_phase_t *phase, 
     const axis2_env_t *env);
 
 int AXIS2_CALL 
 axis2_phase_get_handler_count(
-    struct axis2_phase *phase, 
+    const axis2_phase_t *phase, 
     const axis2_env_t *env); 
 
 int AXIS2_CALL 
@@ -139,7 +139,7 @@
 
 axis2_array_list_t* AXIS2_CALL 
 axis2_phase_get_handlers(
-    axis2_phase_t *phase, 
+    const axis2_phase_t *phase, 
     const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
@@ -386,7 +386,7 @@
 
 axis2_char_t* AXIS2_CALL 
 axis2_phase_get_name(
-    struct axis2_phase *phase, 
+    const axis2_phase_t *phase, 
     const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);    
@@ -395,7 +395,7 @@
 
 int AXIS2_CALL 
 axis2_phase_get_handler_count(
-    struct axis2_phase *phase, 
+    const axis2_phase_t *phase, 
     const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);    
@@ -1107,7 +1107,7 @@
 
 axis2_array_list_t* AXIS2_CALL 
 axis2_phase_get_handlers(
-    axis2_phase_t *phase, 
+    const axis2_phase_t *phase, 
     const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);    



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