axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dushshan...@apache.org
Subject svn commit: r521188 - in /webservices/axis2/trunk/c: include/axis2_phases_info.h modules/core/deployment/axis2_repos_listener.h modules/core/deployment/dep_engine.c modules/core/deployment/repos_listener.c
Date Thu, 22 Mar 2007 10:21:16 GMT
Author: dushshantha
Date: Thu Mar 22 03:21:05 2007
New Revision: 521188

URL: http://svn.apache.org/viewvc?view=rev&rev=521188
Log:
removed macros and corrected indentation.

Modified:
    webservices/axis2/trunk/c/include/axis2_phases_info.h
    webservices/axis2/trunk/c/modules/core/deployment/axis2_repos_listener.h
    webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
    webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c

Modified: webservices/axis2/trunk/c/include/axis2_phases_info.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_phases_info.h?view=diff&rev=521188&r1=521187&r2=521188
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phases_info.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phases_info.h Thu Mar 22 03:21:05 2007
@@ -181,62 +181,6 @@
     axis2_phases_info_copy_flow(const axis2_env_t *env,
         const axis2_array_list_t *flow_to_copy);
 
-/** Frees the phases info.
-#define AXIS2_PHASES_INFO_FREE(phases_info, env) \
-      axis2_phases_info_free (phases_info, env)*/
-
-/** Sets the in phases. 
-#define AXIS2_PHASES_INFO_SET_IN_PHASES(phases_info, env, in_phases) \
-      axis2_phases_info_set_in_phases(phases_info, env, in_phases)*/
-
-/** Sets the out phases. 
-#define AXIS2_PHASES_INFO_SET_OUT_PHASES(phases_info, env, out_phases) \
-      axis2_phases_info_set_out_phases(phases_info, env, out_phases)*/
-
-/** Sets the in fault phases. 
-#define AXIS2_PHASES_INFO_SET_IN_FAULTPHASES(phases_info, env, in_faultphases) \
-      axis2_phases_info_set_in_faultphases(phases_info, env, in_faultphases)*/
-
-/** Sets the out fault phases. 
-#define AXIS2_PHASES_INFO_SET_OUT_FAULTPHASES(phases_info, env, out_faultphases) \
-      axis2_phases_info_set_out_faultphases(phases_info, env, out_faultphases)*/
-
-/** Gets the in phases. 
-#define AXIS2_PHASES_INFO_GET_IN_PHASES(phases_info, env) \
-      axis2_phases_info_get_in_phases(phases_info, env)*/
-
-/** Gets the out phases. 
-#define AXIS2_PHASES_INFO_GET_OUT_PHASES(phases_info, env) \
-      axis2_phases_info_get_out_phases(phases_info, env)*/
-
-/** Gets the in fault phases. 
-#define AXIS2_PHASES_INFO_GET_IN_FAULTPHASES(phases_info, env) \
-      axis2_phases_info_get_in_faultphases(phases_info, env)*/
-
-/** Gets the out fault phases. 
-#define AXIS2_PHASES_INFO_GET_OUT_FAULTPHASES(phases_info, env) \
-      axis2_phases_info_get_out_faultphases(phases_info, env)*/
-
-/** Gets the op in phases. 
-#define AXIS2_PHASES_INFO_GET_OP_IN_PHASES(phases_info, env) \
-      axis2_phases_info_get_op_in_phases(phases_info, env)*/
-
-/** Gets the op out phases. 
-#define AXIS2_PHASES_INFO_GET_OP_OUT_PHASES(phases_info, env) \
-      axis2_phases_info_get_op_out_phases(phases_info, env)*/
-
-/** Gets the op in fault phases. 
-#define AXIS2_PHASES_INFO_GET_OP_IN_FAULTPHASES(phases_info, env) \
-      axis2_phases_info_get_op_in_faultphases(phases_info, env)*/
-
-/** Gets the op out fault phases. 
-#define AXIS2_PHASES_INFO_GET_OP_OUT_FAULTPHASES(phases_info, env) \
-      axis2_phases_info_get_op_out_faultphases(phases_info, env)*/
-
-/** Sets the op phases. 
-#define AXIS2_PHASES_INFO_SET_OP_PHASES(phases_info, env, axis2_opt) \
-      axis2_phases_info_set_op_phases(phases_info, env, axis2_opt)*/
-
 /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/modules/core/deployment/axis2_repos_listener.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/axis2_repos_listener.h?view=diff&rev=521188&r1=521187&r2=521188
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/axis2_repos_listener.h (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/axis2_repos_listener.h Thu Mar 22 03:21:05
2007
@@ -23,11 +23,6 @@
  * @{
  */
 
-/**
- * @file axis2_repos_listener.h
- * @brief Axis2 Repos Listener interface
- */
-
 #include <axis2_const.h>
 #include <axis2_error.h>
 #include <axis2_defines.h>
@@ -130,29 +125,29 @@
         axis2_char_t *folder_name,
         struct axis2_dep_engine *dep_engine);
 
-/** Frees the repos listener. */
+/** Frees the repos listener. 
 #define AXIS2_REPOS_LISTENER_FREE(repos_listener, env) \
-      axis2_repos_listener_free (repos_listener, env)
+      axis2_repos_listener_free (repos_listener, env)*/
 
-/** Check modules. */
+/** Check modules. 
 #define AXIS2_REPOS_LISTENER_CHECK_MODULES(repos_listener, env) \
-      axis2_repos_listener_check_modules (repos_listener, env)
+      axis2_repos_listener_check_modules (repos_listener, env)*/
 
-/** Check the services. */
+/** Check the services. 
 #define AXIS2_REPOS_LISTENER_CHECK_SVCS(repos_listener, env) \
-      axis2_repos_listener_check_svcs (repos_listener, env)
+      axis2_repos_listener_check_svcs (repos_listener, env)*/
 
-/** Update. */
+/** Update. 
 #define AXIS2_REPOS_LISTENER_UPDATE(repos_listener, env) \
-      axis2_repos_listener_update (repos_listener, env)
+      axis2_repos_listener_update (repos_listener, env)*/
 
-/** Initialize the repos listener. */
+/** Initialize the repos listener. 
 #define AXIS2_REPOS_LISTENER_INIT(repos_listener, env) \
-      axis2_repos_listener_init (repos_listener, env)
+      axis2_repos_listener_init (repos_listener, env)*/
 
-/** Start listen. */
+/** Start listen. 
 #define AXIS2_REPOS_LISTENER_START_LISTEN(repos_listener, env) \
-      axis2_repos_listener_start_listen (repos_listener, env)
+      axis2_repos_listener_start_listen (repos_listener, env)*/
 
 /** @} */
 

Modified: webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c?view=diff&rev=521188&r1=521187&r2=521188
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c Thu Mar 22 03:21:05 2007
@@ -443,7 +443,7 @@
 
     if (dep_engine->repos_listener)
     {
-        AXIS2_REPOS_LISTENER_FREE(dep_engine->repos_listener, env);
+        axis2_repos_listener_free(dep_engine->repos_listener, env);
     }
 
     if (dep_engine)
@@ -625,7 +625,7 @@
     */
     if (dep_engine->repos_listener)
     {
-        AXIS2_REPOS_LISTENER_FREE(dep_engine->repos_listener, env);
+        axis2_repos_listener_free(dep_engine->repos_listener, env);
     }
     dep_engine->repos_listener =
         axis2_repos_listener_create_with_folder_name_and_dep_engine(env,
@@ -642,7 +642,7 @@
     status = axis2_dep_engine_validate_system_predefined_phases(dep_engine, env);
     if (AXIS2_SUCCESS != status)
     {
-        AXIS2_REPOS_LISTENER_FREE(dep_engine->repos_listener, env);
+        axis2_repos_listener_free(dep_engine->repos_listener, env);
         axis2_conf_free(dep_engine->conf, env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_MODULE_VALIDATION_FAILED,
             AXIS2_FAILURE);
@@ -661,7 +661,7 @@
     axis2_conf_set_out_fault_phases(dep_engine->conf, env, new_out_fault_phases);
     if (AXIS2_SUCCESS != status)
     {
-        AXIS2_REPOS_LISTENER_FREE(dep_engine->repos_listener, env);
+        axis2_repos_listener_free(dep_engine->repos_listener, env);
         axis2_conf_free(dep_engine->conf, env);
         return NULL;
     }
@@ -669,7 +669,7 @@
     status = axis2_dep_engine_engage_modules(dep_engine, env);
     if (AXIS2_SUCCESS != status)
     {
-        AXIS2_REPOS_LISTENER_FREE(dep_engine->repos_listener, env);
+        axis2_repos_listener_free(dep_engine->repos_listener, env);
         axis2_conf_free(dep_engine->conf, env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_MODULE_VALIDATION_FAILED,
             AXIS2_FAILURE);
@@ -743,7 +743,7 @@
         dep_engine->hot_update = AXIS2_FALSE;
         if (dep_engine->repos_listener)
         {
-            AXIS2_REPOS_LISTENER_FREE(dep_engine->repos_listener, env);
+            axis2_repos_listener_free(dep_engine->repos_listener, env);
         }
         dep_engine->repos_listener =
             axis2_repos_listener_create_with_folder_name_and_dep_engine(env,
@@ -759,7 +759,7 @@
     status = axis2_dep_engine_engage_modules(dep_engine, env);
     if (AXIS2_FAILURE == status)
     {
-        AXIS2_REPOS_LISTENER_FREE(dep_engine->repos_listener, env);
+        axis2_repos_listener_free(dep_engine->repos_listener, env);
         axis2_conf_free(dep_engine->conf, env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_MODULE_VALIDATION_FAILED,
             AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c?view=diff&rev=521188&r1=521187&r2=521188
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c Thu Mar 22 03:21:05
2007
@@ -34,22 +34,20 @@
 };
 
 static axis2_status_t
-axis2_repos_listener_search(
-    axis2_repos_listener_t *repos_listener,
+axis2_repos_listener_search(axis2_repos_listener_t *repos_listener,
     const axis2_env_t *env,
     axis2_char_t *folder_name,
     int type);
 
 AXIS2_EXTERN axis2_repos_listener_t *AXIS2_CALL
-axis2_repos_listener_create(
-    const axis2_env_t *env)
+axis2_repos_listener_create(const axis2_env_t *env)
 {
     axis2_repos_listener_t *repos_listener = NULL;
 
     AXIS2_ENV_CHECK(env, NULL);
 
-    repos_listener = (axis2_repos_listener_t *) AXIS2_MALLOC(env->allocator
-            , sizeof(axis2_repos_listener_t));
+    repos_listener = (axis2_repos_listener_t *) AXIS2_MALLOC(env->allocator,
+        sizeof(axis2_repos_listener_t));
 
     if (! repos_listener)
     {
@@ -73,8 +71,7 @@
  */
 
 AXIS2_EXTERN axis2_repos_listener_t *AXIS2_CALL
-axis2_repos_listener_create_with_folder_name_and_dep_engine(
-    const axis2_env_t *env,
+axis2_repos_listener_create_with_folder_name_and_dep_engine(const axis2_env_t *env,
     axis2_char_t *folder_name,
     axis2_dep_engine_t *dep_engine)
 {
@@ -95,8 +92,8 @@
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
-    repos_listener->info_list = axis2_ws_info_list_create_with_dep_engine(
-                env, dep_engine);
+    repos_listener->info_list = 
+        axis2_ws_info_list_create_with_dep_engine(env, dep_engine);
     if (!repos_listener->info_list)
     {
         return NULL;
@@ -105,7 +102,7 @@
     if (AXIS2_SUCCESS != status)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_REPOS_LISTENER_INIT_FAILED,
-                AXIS2_FAILURE);
+            AXIS2_FAILURE);
         return NULL;
     }
 
@@ -113,8 +110,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_repos_listener_free(
-    axis2_repos_listener_t *repos_listener,
+axis2_repos_listener_free(axis2_repos_listener_t *repos_listener,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -135,8 +131,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_repos_listener_check_modules(
-    axis2_repos_listener_t *repos_listener,
+axis2_repos_listener_check_modules(axis2_repos_listener_t *repos_listener,
     const axis2_env_t *env)
 {
     axis2_char_t *module_path = NULL;
@@ -146,7 +141,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
     temp_path = axis2_stracat(repos_listener->folder_name, AXIS2_PATH_SEP_STR,
-            env);
+        env);
     module_path = axis2_stracat(temp_path, AXIS2_MODULE_PATH, env);
     AXIS2_FREE(env->allocator, temp_path);
     status = axis2_repos_listener_search(repos_listener, env, module_path, AXIS2_MODULE);
@@ -155,8 +150,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_repos_listener_check_svcs(
-    axis2_repos_listener_t *repos_listener,
+axis2_repos_listener_check_svcs(axis2_repos_listener_t *repos_listener,
     const axis2_env_t *env)
 {
     axis2_char_t *svc_path = NULL;
@@ -166,7 +160,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
     temp_path = axis2_stracat(repos_listener->folder_name, AXIS2_PATH_SEP_STR,
-            env);
+        env);
     svc_path = axis2_stracat(temp_path, AXIS2_SVC_PATH, env);
     AXIS2_FREE(env->allocator, temp_path);
     status = axis2_repos_listener_search(repos_listener, env, svc_path, AXIS2_SVC);
@@ -175,16 +169,14 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_repos_listener_update(
-    axis2_repos_listener_t *repos_listener,
+axis2_repos_listener_update(axis2_repos_listener_t *repos_listener,
     const axis2_env_t *env)
 {
     return AXIS2_WS_INFO_LIST_UPDATE(repos_listener->info_list, env);
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_repos_listener_init(
-    axis2_repos_listener_t *repos_listener,
+axis2_repos_listener_init(axis2_repos_listener_t *repos_listener,
     const axis2_env_t *env)
 {
     axis2_status_t status = AXIS2_FAILURE;
@@ -210,8 +202,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_repos_listener_start_listen(
-    axis2_repos_listener_t *repos_listener,
+axis2_repos_listener_start_listen(axis2_repos_listener_t *repos_listener,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -224,8 +215,7 @@
 }
 
 static axis2_status_t
-axis2_repos_listener_search(
-    axis2_repos_listener_t *repos_listener,
+axis2_repos_listener_search(axis2_repos_listener_t *repos_listener,
     const axis2_env_t *env,
     axis2_char_t *folder_name,
     int type)
@@ -239,7 +229,7 @@
     AXIS2_PARAM_CHECK(env->error, folder_name, AXIS2_FAILURE);
 
     current_info_list = axis2_dir_handler_list_service_or_module_dirs(env,
-            folder_name);
+        folder_name);
     if (!current_info_list)
     {
         axis2_status_t status_code = AXIS2_FAILURE;
@@ -258,7 +248,7 @@
         axis2_file_t *file = NULL;
         file = axis2_array_list_get(current_info_list, env, i);
         status = AXIS2_WS_INFO_LIST_ADD_WS_INFO_ITEM(repos_listener->info_list, env,
-                file, type);
+            file, type);
         if (AXIS2_SUCCESS != status)
         {
             int size_j = 0;
@@ -289,3 +279,4 @@
     current_info_list = NULL;
     return AXIS2_SUCCESS;
 }
+



---------------------------------------------------------------------
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