You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/06/04 05:09:41 UTC
svn commit: r411506 [10/27] - in /webservices/axis2/trunk/c: axiom/include/
axiom/src/attachments/ axiom/src/om/ axiom/src/parser/guththila/
axiom/src/parser/libxml2/ axiom/src/soap/ axiom/test/om/ axiom/test/soap/
guththila/src/ include/ modules/core/...
Modified: webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c Sat Jun 3 20:09:08 2006
@@ -27,9 +27,9 @@
*/
typedef struct axis2_conf_builder_impl
{
- axis2_conf_builder_t conf_builder;
+ axis2_conf_builder_t conf_builder;
axis2_conf_t *conf;
-
+
} axis2_conf_builder_impl_t;
#define AXIS2_INTF_TO_IMPL(conf_builder) \
@@ -84,13 +84,13 @@
{
axis2_conf_builder_impl_t *conf_builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- conf_builder_impl = (axis2_conf_builder_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ conf_builder_impl = (axis2_conf_builder_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_conf_builder_impl_t));
-
-
- if(NULL == conf_builder_impl)
+
+
+ if(NULL == conf_builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -99,22 +99,22 @@
conf_builder_impl->conf = NULL;
conf_builder_impl->conf_builder.ops = NULL;
- conf_builder_impl->conf_builder.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_conf_builder_ops_t));
- if(NULL == conf_builder_impl->conf_builder.ops)
+ conf_builder_impl->conf_builder.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_conf_builder_ops_t));
+ if(NULL == conf_builder_impl->conf_builder.ops)
{
axis2_conf_builder_free(&(conf_builder_impl->conf_builder), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- conf_builder_impl->conf_builder.ops->free = axis2_conf_builder_free;
+ conf_builder_impl->conf_builder.ops->free = axis2_conf_builder_free;
conf_builder_impl->conf_builder.ops->populate_conf =
axis2_conf_builder_populate_conf;
conf_builder_impl->conf_builder.ops->process_module_refs =
axis2_conf_builder_process_module_refs;
- return &(conf_builder_impl->conf_builder);
+ return &(conf_builder_impl->conf_builder);
}
AXIS2_EXTERN axis2_conf_builder_t * AXIS2_CALL
@@ -125,11 +125,11 @@
{
axis2_conf_builder_impl_t *builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- builder_impl = (axis2_conf_builder_impl_t *) axis2_conf_builder_create(
+ AXIS2_ENV_CHECK(env, NULL);
+
+ builder_impl = (axis2_conf_builder_impl_t *) axis2_conf_builder_create(
env);
- if(NULL == builder_impl)
+ if(NULL == builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -159,7 +159,7 @@
conf_builder->desc_builder = NULL;
}
- if(NULL != conf_builder->ops)
+ if(NULL != conf_builder->ops)
{
AXIS2_FREE(env->allocator, conf_builder->ops);
conf_builder->ops = NULL;
@@ -171,7 +171,7 @@
conf_builder_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
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?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c Sat Jun 3 20:09:08 2006
@@ -75,7 +75,7 @@
} axis2_dep_engine_impl_t;
#define AXIS2_INTF_TO_IMPL(dep_engine) ((axis2_dep_engine_impl_t *) dep_engine)
-
+
/*************************** Function headers *********************************/
axis2_status_t AXIS2_CALL
@@ -280,7 +280,7 @@
axis2_dep_engine_get_repos_path(axis2_dep_engine_t *dep_engine,
const axis2_env_t *env);
-/************************* End of function headers ****************************/
+/************************* End of function headers ****************************/
axis2_dep_engine_t *AXIS2_CALL
axis2_dep_engine_create(const axis2_env_t *env)
@@ -290,9 +290,9 @@
AXIS2_ENV_CHECK(env, NULL);
dep_engine_impl = (axis2_dep_engine_impl_t *) AXIS2_MALLOC (env->allocator
- , sizeof (axis2_dep_engine_impl_t));
+ , sizeof (axis2_dep_engine_impl_t));
- if(NULL == dep_engine_impl)
+ if(NULL == dep_engine_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -364,7 +364,7 @@
dep_engine_impl->dep_engine.ops->set_current_file_item =
axis2_dep_engine_set_current_file_item;
dep_engine_impl->dep_engine.ops->set_arch_reader =
- axis2_dep_engine_set_arch_reader;
+ axis2_dep_engine_set_arch_reader;
return &(dep_engine_impl->dep_engine);
}
@@ -377,15 +377,15 @@
AXIS2_ENV_CHECK(env, NULL);
- dep_engine_impl = (axis2_dep_engine_impl_t *)
+ dep_engine_impl = (axis2_dep_engine_impl_t *)
axis2_dep_engine_create_with_repos_name_and_svr_xml_file(env,
repos_path, AXIS2_SERVER_XML_FILE);
if(!dep_engine_impl)
{
return NULL;
}
-
- return &(dep_engine_impl->dep_engine);
+
+ return &(dep_engine_impl->dep_engine);
}
axis2_dep_engine_t *AXIS2_CALL
@@ -409,7 +409,7 @@
dep_engine_impl = (axis2_dep_engine_impl_t *) axis2_dep_engine_create(env);
- if(NULL == dep_engine_impl)
+ if(NULL == dep_engine_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -426,19 +426,19 @@
dep_engine_impl->folder_name = AXIS2_STRDUP(repos_path, env);
if(NULL == dep_engine_impl->folder_name)
- {
+ {
axis2_dep_engine_free(&(dep_engine_impl->dep_engine), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
dep_engine_impl->axis2_repos = AXIS2_STRDUP(repos_path, env);
if(NULL == dep_engine_impl->axis2_repos)
- {
+ {
axis2_dep_engine_free(&(dep_engine_impl->dep_engine), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
conf_file_l = AXIS2_STRACAT(repos_path, AXIS2_PATH_SEP_STR, env);
dep_engine_impl->conf_name = AXIS2_STRACAT(conf_file_l, svr_xml_file, env);
@@ -578,9 +578,9 @@
dep_engine_impl->repos_listener = NULL;
}
- if(NULL != dep_engine->ops)
+ if(NULL != dep_engine->ops)
{
- AXIS2_FREE(env->allocator, dep_engine->ops);
+ AXIS2_FREE(env->allocator, dep_engine->ops);
dep_engine->ops = NULL;
}
@@ -590,7 +590,7 @@
dep_engine_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
@@ -1520,8 +1520,8 @@
file_name = AXIS2_ARCH_FILE_DATA_GET_NAME(dep_engine_impl->
curr_file, env);
status = AXIS2_ARCH_READER_READ_MODULE_ARCH(
- dep_engine_impl->arch_reader, env, file_name, dep_engine,
- meta_data);
+ dep_engine_impl->arch_reader, env, file_name, dep_engine,
+ meta_data);
if(AXIS2_SUCCESS != status)
{
AXIS2_ARCH_READER_FREE(arch_reader, env);
Modified: webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c Sat Jun 3 20:09:08 2006
@@ -27,14 +27,14 @@
*/
typedef struct axis2_desc_builder_impl
{
- axis2_desc_builder_t desc_builder;
+ axis2_desc_builder_t desc_builder;
/**
* Store the full path to configuration file.
*/
axis2_char_t *file_name;
axis2_om_stax_builder_t *builder;
-
+
} axis2_desc_builder_impl_t;
#define AXIS2_INTF_TO_IMPL(desc_builder) \
@@ -119,13 +119,13 @@
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- desc_builder_impl = (axis2_desc_builder_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ desc_builder_impl = (axis2_desc_builder_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_desc_builder_impl_t));
-
-
- if(NULL == desc_builder_impl)
+
+
+ if(NULL == desc_builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -135,16 +135,16 @@
desc_builder_impl->builder = NULL;
desc_builder_impl->desc_builder.ops = NULL;
- desc_builder_impl->desc_builder.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_desc_builder_ops_t));
- if(NULL == desc_builder_impl->desc_builder.ops)
+ desc_builder_impl->desc_builder.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_desc_builder_ops_t));
+ if(NULL == desc_builder_impl->desc_builder.ops)
{
axis2_desc_builder_free(&(desc_builder_impl->desc_builder), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- desc_builder_impl->desc_builder.ops->free = axis2_desc_builder_free;
+ desc_builder_impl->desc_builder.ops->free = axis2_desc_builder_free;
desc_builder_impl->desc_builder.ops->build_OM = axis2_build_OM;
desc_builder_impl->desc_builder.ops->process_flow =
axis2_desc_builder_process_flow;
@@ -164,8 +164,8 @@
axis2_desc_builder_get_file_name_without_prefix;
desc_builder_impl->desc_builder.ops->get_value =
axis2_desc_builder_get_value;
-
- return &(desc_builder_impl->desc_builder);
+
+ return &(desc_builder_impl->desc_builder);
}
axis2_desc_builder_t * AXIS2_CALL
@@ -176,13 +176,13 @@
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, file_name, NULL);
AXIS2_PARAM_CHECK(env->error, engine, NULL);
-
- desc_builder_impl = (axis2_desc_builder_impl_t *)
+
+ desc_builder_impl = (axis2_desc_builder_impl_t *)
axis2_desc_builder_create(env);
- if(NULL == desc_builder_impl)
+ if(NULL == desc_builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -196,7 +196,7 @@
}
desc_builder_impl->desc_builder.engine = engine;
- return &(desc_builder_impl->desc_builder);
+ return &(desc_builder_impl->desc_builder);
}
axis2_desc_builder_t * AXIS2_CALL
@@ -206,12 +206,12 @@
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, engine, NULL);
-
- desc_builder_impl = (axis2_desc_builder_impl_t *)
+
+ desc_builder_impl = (axis2_desc_builder_impl_t *)
axis2_desc_builder_create(env);
- if(NULL == desc_builder_impl)
+ if(NULL == desc_builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -219,7 +219,7 @@
desc_builder_impl->desc_builder.engine = engine;
- return &(desc_builder_impl->desc_builder);
+ return &(desc_builder_impl->desc_builder);
}
/***************************Function implementation****************************/
@@ -249,7 +249,7 @@
/* we cannot free deployment engine here */
desc_builder->engine = NULL;
- if(NULL != desc_builder->ops)
+ if(NULL != desc_builder->ops)
AXIS2_FREE(env->allocator, desc_builder->ops);
if(desc_builder_impl)
@@ -257,7 +257,7 @@
AXIS2_FREE(env->allocator, desc_builder_impl);
desc_builder_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_om_node_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/deployment/module_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/module_builder.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/module_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/module_builder.c Sat Jun 3 20:09:08 2006
@@ -23,9 +23,9 @@
*/
typedef struct axis2_module_builder_impl
{
- axis2_module_builder_t module_builder;
+ axis2_module_builder_t module_builder;
axis2_module_desc_t *module_desc;
-
+
} axis2_module_builder_impl_t;
#define AXIS2_INTF_TO_IMPL(module_builder) \
@@ -54,13 +54,13 @@
{
axis2_module_builder_impl_t *module_builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- module_builder_impl = (axis2_module_builder_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ module_builder_impl = (axis2_module_builder_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_module_builder_impl_t));
-
-
- if(NULL == module_builder_impl)
+
+
+ if(NULL == module_builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -68,20 +68,20 @@
module_builder_impl->module_builder.ops = NULL;
- module_builder_impl->module_builder.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_module_builder_ops_t));
- if(NULL == module_builder_impl->module_builder.ops)
+ module_builder_impl->module_builder.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_module_builder_ops_t));
+ if(NULL == module_builder_impl->module_builder.ops)
{
axis2_module_builder_free(&(module_builder_impl->module_builder), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- module_builder_impl->module_builder.ops->free = axis2_module_builder_free;
+ module_builder_impl->module_builder.ops->free = axis2_module_builder_free;
module_builder_impl->module_builder.ops->populate_module =
axis2_module_builder_populate_module;
- return &(module_builder_impl->module_builder);
+ return &(module_builder_impl->module_builder);
}
axis2_module_builder_t * AXIS2_CALL
@@ -92,10 +92,10 @@
{
axis2_module_builder_impl_t *builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- builder_impl = (axis2_module_builder_impl_t *) axis2_module_builder_create(env);
- if(NULL == builder_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ builder_impl = (axis2_module_builder_impl_t *) axis2_module_builder_create(env);
+ if(NULL == builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -130,7 +130,7 @@
module_builder->desc_builder = NULL;
}
- if(NULL != module_builder->ops)
+ if(NULL != module_builder->ops)
{
AXIS2_FREE(env->allocator, module_builder->ops);
module_builder->ops = NULL;
@@ -142,7 +142,7 @@
module_builder_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/deployment/phases_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/phases_info.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/phases_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/phases_info.c Sat Jun 3 20:09:08 2006
@@ -2,11 +2,11 @@
/**
* @brief Phases Info struct impl
- * Axis2 Phases Info impl
+ * Axis2 Phases Info impl
*/
typedef struct axis2_phases_info_impl
{
- axis2_phases_info_t phases_info;
+ axis2_phases_info_t phases_info;
axis2_array_list_t *in_phases;
axis2_array_list_t *out_phases;
axis2_array_list_t *in_faultphases;
@@ -88,34 +88,34 @@
axis2_phases_info_impl_t *phases_info_impl = NULL;
AXIS2_ENV_CHECK(env, NULL);
- phases_info_impl = (axis2_phases_info_impl_t *) AXIS2_MALLOC (env->allocator,
+ phases_info_impl = (axis2_phases_info_impl_t *) AXIS2_MALLOC (env->allocator,
sizeof(axis2_phases_info_impl_t));
- if(NULL == phases_info_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == phases_info_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
phases_info_impl->in_phases = NULL;
phases_info_impl->out_phases = NULL;
phases_info_impl->in_faultphases = NULL;
phases_info_impl->out_faultphases = NULL;
-
- phases_info_impl->phases_info.ops = (axis2_phases_info_ops_t *)
- AXIS2_MALLOC (env->allocator, sizeof(axis2_phases_info_ops_t));
-
- if(NULL == phases_info_impl->phases_info.ops)
- {
- AXIS2_FREE (env->allocator, phases_info_impl);
+
+ phases_info_impl->phases_info.ops = (axis2_phases_info_ops_t *)
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_phases_info_ops_t));
+
+ if(NULL == phases_info_impl->phases_info.ops)
+ {
+ AXIS2_FREE (env->allocator, phases_info_impl);
phases_info_impl = NULL;
- AXIS2_ERROR_SET (env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET (env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
- phases_info_impl->phases_info.ops->free = axis2_phases_info_free;
+ phases_info_impl->phases_info.ops->free = axis2_phases_info_free;
- phases_info_impl->phases_info.ops->set_in_phases =
+ phases_info_impl->phases_info.ops->set_in_phases =
axis2_phases_info_set_in_phases;
phases_info_impl->phases_info.ops->set_out_phases =
@@ -132,7 +132,7 @@
phases_info_impl->phases_info.ops->get_out_phases =
axis2_phases_info_get_out_phases;
-
+
phases_info_impl->phases_info.ops->get_in_faultphases =
axis2_phases_info_get_in_faultphases;
@@ -154,7 +154,7 @@
phases_info_impl->phases_info.ops->set_op_phases =
axis2_phases_info_set_op_phases;
- return &(phases_info_impl->phases_info);
+ return &(phases_info_impl->phases_info);
}
/******************************************************************************/
@@ -191,7 +191,7 @@
phases_info_impl->out_faultphases = NULL;
}
- if(NULL != phases_info->ops)
+ if(NULL != phases_info->ops)
{
AXIS2_FREE(env->allocator, phases_info->ops);
phases_info->ops = NULL;
@@ -203,7 +203,7 @@
phases_info_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
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?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c Sat Jun 3 20:09:08 2006
@@ -24,7 +24,7 @@
*/
typedef struct axis2_repos_listener_impl
{
- axis2_repos_listener_t repos_listener;
+ axis2_repos_listener_t repos_listener;
/**
* Referance to a WSInfoList
*/
@@ -44,7 +44,7 @@
#define AXIS2_INTF_TO_IMPL(repos_listener) \
((axis2_repos_listener_impl_t *) repos_listener)
-
+
/*************************** Function headers *********************************/
axis2_status_t AXIS2_CALL
@@ -84,7 +84,7 @@
axis2_char_t *folder_name,
int type);
-/************************* End of function headers ****************************/
+/************************* End of function headers ****************************/
axis2_repos_listener_t *AXIS2_CALL
axis2_repos_listener_create(const axis2_env_t *env)
@@ -94,9 +94,9 @@
AXIS2_ENV_CHECK(env, NULL);
listener_impl = (axis2_repos_listener_impl_t *) AXIS2_MALLOC (env->allocator
- , sizeof (axis2_repos_listener_impl_t));
+ , sizeof (axis2_repos_listener_impl_t));
- if(NULL == listener_impl)
+ if(NULL == listener_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -109,11 +109,11 @@
listener_impl->repos_listener.ops = (axis2_repos_listener_ops_t *)
AXIS2_MALLOC(env->allocator, sizeof(axis2_repos_listener_ops_t));
- if(NULL == listener_impl->repos_listener.ops)
- {
+ if(NULL == listener_impl->repos_listener.ops)
+ {
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
listener_impl->repos_listener.ops->free = axis2_repos_listener_free;
listener_impl->repos_listener.ops->check_modules =
@@ -151,7 +151,7 @@
listener_impl = (axis2_repos_listener_impl_t *) axis2_repos_listener_create(env);
- if(NULL == listener_impl)
+ if(NULL == listener_impl)
{
return NULL;
}
@@ -202,16 +202,16 @@
listener_impl->info_list = NULL;
}
- if(NULL != repos_listener->ops)
+ if(NULL != repos_listener->ops)
{
- AXIS2_FREE(env->allocator, repos_listener->ops);
+ AXIS2_FREE(env->allocator, repos_listener->ops);
repos_listener->ops = NULL;
}
AXIS2_FREE(env->allocator, listener_impl);
listener_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c Sat Jun 3 20:09:08 2006
@@ -25,10 +25,10 @@
*/
typedef struct axis2_svc_builder_impl
{
- axis2_svc_builder_t svc_builder;
+ axis2_svc_builder_t svc_builder;
axis2_svc_t *svc;
-
+
} axis2_svc_builder_impl_t;
#define AXIS2_INTF_TO_IMPL(svc_builder) \
@@ -77,13 +77,13 @@
{
axis2_svc_builder_impl_t *svc_builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- svc_builder_impl = (axis2_svc_builder_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ svc_builder_impl = (axis2_svc_builder_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_svc_builder_impl_t));
-
-
- if(NULL == svc_builder_impl)
+
+
+ if(NULL == svc_builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -93,22 +93,22 @@
svc_builder_impl->svc = NULL;
svc_builder_impl->svc_builder.ops = NULL;
- svc_builder_impl->svc_builder.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_svc_builder_ops_t));
- if(NULL == svc_builder_impl->svc_builder.ops)
+ svc_builder_impl->svc_builder.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_svc_builder_ops_t));
+ if(NULL == svc_builder_impl->svc_builder.ops)
{
axis2_svc_builder_free(&(svc_builder_impl->svc_builder), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- svc_builder_impl->svc_builder.ops->free = axis2_svc_builder_free;
+ svc_builder_impl->svc_builder.ops->free = axis2_svc_builder_free;
svc_builder_impl->svc_builder.ops->populate_svc =
axis2_svc_builder_populate_svc;
svc_builder_impl->svc_builder.ops->process_module_refs =
axis2_svc_builder_process_module_refs;
- return &(svc_builder_impl->svc_builder);
+ return &(svc_builder_impl->svc_builder);
}
axis2_svc_builder_t * AXIS2_CALL
@@ -186,7 +186,7 @@
svc_builder_impl->svc = NULL;
- if(NULL != svc_builder->ops)
+ if(NULL != svc_builder->ops)
{
AXIS2_FREE(env->allocator, svc_builder->ops);
svc_builder->ops = NULL;
@@ -198,7 +198,7 @@
svc_builder_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c Sat Jun 3 20:09:08 2006
@@ -21,9 +21,9 @@
*/
typedef struct axis2_svc_grp_builder_impl
{
- axis2_svc_grp_builder_t svc_grp_builder;
+ axis2_svc_grp_builder_t svc_grp_builder;
axis2_om_node_t *svc_grp;
-
+
} axis2_svc_grp_builder_impl_t;
#define AXIS2_INTF_TO_IMPL(svc_grp_builder) \
@@ -58,13 +58,13 @@
{
axis2_svc_grp_builder_impl_t *svc_grp_builder_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- svc_grp_builder_impl = (axis2_svc_grp_builder_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ svc_grp_builder_impl = (axis2_svc_grp_builder_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_svc_grp_builder_impl_t));
-
-
- if(NULL == svc_grp_builder_impl)
+
+
+ if(NULL == svc_grp_builder_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -74,22 +74,22 @@
svc_grp_builder_impl->svc_grp = NULL;
svc_grp_builder_impl->svc_grp_builder.desc_builder = NULL;
- svc_grp_builder_impl->svc_grp_builder.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_svc_grp_builder_ops_t));
- if(NULL == svc_grp_builder_impl->svc_grp_builder.ops)
+ svc_grp_builder_impl->svc_grp_builder.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_svc_grp_builder_ops_t));
+ if(NULL == svc_grp_builder_impl->svc_grp_builder.ops)
{
axis2_svc_grp_builder_free(&(svc_grp_builder_impl->svc_grp_builder), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- svc_grp_builder_impl->svc_grp_builder.ops->free = axis2_svc_grp_builder_free;
+ svc_grp_builder_impl->svc_grp_builder.ops->free = axis2_svc_grp_builder_free;
svc_grp_builder_impl->svc_grp_builder.ops->populate_svc_grp =
axis2_svc_grp_builder_populate_svc_grp;
svc_grp_builder_impl->svc_grp_builder.ops->process_module_refs =
axis2_svc_grp_builder_process_module_refs;
- return &(svc_grp_builder_impl->svc_grp_builder);
+ return &(svc_grp_builder_impl->svc_grp_builder);
}
axis2_svc_grp_builder_t * AXIS2_CALL
@@ -136,7 +136,7 @@
env);
grp_builder_impl->svc_grp_builder.desc_builder = NULL;
}
- if(NULL != svc_grp_builder->ops)
+ if(NULL != svc_grp_builder->ops)
{
AXIS2_FREE(env->allocator, svc_grp_builder->ops);
svc_grp_builder->ops = NULL;
@@ -148,7 +148,7 @@
grp_builder_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/deployment/ws_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/ws_info.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/ws_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/ws_info.c Sat Jun 3 20:09:08 2006
@@ -22,7 +22,7 @@
*/
typedef struct axis2_ws_info_impl
{
- axis2_ws_info_t ws_info;
+ axis2_ws_info_t ws_info;
axis2_char_t *file_name;
long last_modified_date;
@@ -31,7 +31,7 @@
*/
int type;
-
+
} axis2_ws_info_impl_t;
#define AXIS2_INTF_TO_IMPL(ws_info) \
@@ -76,14 +76,14 @@
{
axis2_ws_info_impl_t *ws_info_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, file_name, NULL);
-
- ws_info_impl = (axis2_ws_info_impl_t *) AXIS2_MALLOC(env->
+
+ ws_info_impl = (axis2_ws_info_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_ws_info_impl_t));
-
-
- if(NULL == ws_info_impl)
+
+
+ if(NULL == ws_info_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -98,22 +98,22 @@
if(!ws_info_impl->file_name)
{
axis2_ws_info_free(&(ws_info_impl->ws_info), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
ws_info_impl->last_modified_date = last_modified_date;
- ws_info_impl->ws_info.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_ws_info_ops_t));
- if(NULL == ws_info_impl->ws_info.ops)
+ ws_info_impl->ws_info.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_ws_info_ops_t));
+ if(NULL == ws_info_impl->ws_info.ops)
{
axis2_ws_info_free(&(ws_info_impl->ws_info), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- ws_info_impl->ws_info.ops->free = axis2_ws_info_free;
+ ws_info_impl->ws_info.ops->free = axis2_ws_info_free;
ws_info_impl->ws_info.ops->get_file_name = axis2_ws_info_get_file_name;
ws_info_impl->ws_info.ops->set_file_name = axis2_ws_info_set_file_name;
ws_info_impl->ws_info.ops->get_last_modified_date =
@@ -121,8 +121,8 @@
ws_info_impl->ws_info.ops->set_last_modified_date =
axis2_ws_info_set_last_modified_date;
ws_info_impl->ws_info.ops->get_type = axis2_ws_info_get_type;
-
- return &(ws_info_impl->ws_info);
+
+ return &(ws_info_impl->ws_info);
}
axis2_ws_info_t * AXIS2_CALL
@@ -134,7 +134,7 @@
{
axis2_ws_info_impl_t *ws_info_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, file_name, NULL);
ws_info_impl = (axis2_ws_info_impl_t *)
@@ -143,7 +143,7 @@
if(!ws_info_impl)
{
axis2_ws_info_free(&(ws_info_impl->ws_info), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
ws_info_impl->type = type;
@@ -162,7 +162,7 @@
ws_info_impl = AXIS2_INTF_TO_IMPL(ws_info);
- if(NULL != ws_info->ops)
+ if(NULL != ws_info->ops)
{
AXIS2_FREE(env->allocator, ws_info->ops);
ws_info->ops = NULL;
@@ -180,7 +180,7 @@
ws_info_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c Sat Jun 3 20:09:08 2006
@@ -25,7 +25,7 @@
*/
typedef struct axis2_ws_info_list_impl
{
- axis2_ws_info_list_t ws_info_list;
+ axis2_ws_info_list_t ws_info_list;
/**
* This is to store all the jar files in a specified folder (WEB_INF)
*/
@@ -39,7 +39,7 @@
* Referance to DeploymentEngine to make update
*/
struct axis2_dep_engine *deployer;
-
+
} axis2_ws_info_list_impl_t;
#define AXIS2_INTF_TO_IMPL(ws_info_list) \
@@ -96,13 +96,13 @@
{
axis2_ws_info_list_impl_t *ws_info_list_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- ws_info_list_impl = (axis2_ws_info_list_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ ws_info_list_impl = (axis2_ws_info_list_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_ws_info_list_impl_t));
-
-
- if(NULL == ws_info_list_impl)
+
+
+ if(NULL == ws_info_list_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -131,16 +131,16 @@
return NULL;
}
- ws_info_list_impl->ws_info_list.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_ws_info_list_ops_t));
- if(NULL == ws_info_list_impl->ws_info_list.ops)
+ ws_info_list_impl->ws_info_list.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_ws_info_list_ops_t));
+ if(NULL == ws_info_list_impl->ws_info_list.ops)
{
axis2_ws_info_list_free(&(ws_info_list_impl->ws_info_list), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- ws_info_list_impl->ws_info_list.ops->free = axis2_ws_info_list_free;
+ ws_info_list_impl->ws_info_list.ops->free = axis2_ws_info_list_free;
ws_info_list_impl->ws_info_list.ops->init = axis2_ws_info_list_init;
ws_info_list_impl->ws_info_list.ops->add_ws_info_item =
axis2_ws_info_list_add_ws_info_item;
@@ -153,8 +153,8 @@
ws_info_list_impl->ws_info_list.ops->check_for_undeploy =
axis2_ws_info_list_check_for_undeploy;
ws_info_list_impl->ws_info_list.ops->update = axis2_ws_info_list_update;
-
- return &(ws_info_list_impl->ws_info_list);
+
+ return &(ws_info_list_impl->ws_info_list);
}
/***************************Function implementation****************************/
@@ -202,7 +202,7 @@
AXIS2_ARRAY_LIST_FREE(info_list_impl->info_list, env);
info_list_impl->info_list = NULL;
}
- if(NULL != ws_info_list->ops)
+ if(NULL != ws_info_list->ops)
AXIS2_FREE(env->allocator, ws_info_list->ops);
if(info_list_impl)
@@ -211,7 +211,7 @@
info_list_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
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=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/flow.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/flow.c Sat Jun 3 20:09:08 2006
@@ -18,11 +18,11 @@
/**
* @brief Flow struct impl
- * Axis2 Flow impl
+ * Axis2 Flow impl
*/
typedef struct axis2_flow_impl
{
- axis2_flow_t flow;
+ axis2_flow_t flow;
/**
* Field list
*/
@@ -58,21 +58,21 @@
{
axis2_flow_impl_t *flow_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
- flow_impl = (axis2_flow_impl_t *) AXIS2_MALLOC(env->allocator,
+ AXIS2_ENV_CHECK(env, NULL);
+ flow_impl = (axis2_flow_impl_t *) AXIS2_MALLOC(env->allocator,
sizeof(axis2_flow_impl_t));
-
- if(NULL == flow_impl)
+
+ if(NULL == flow_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
-
+
flow_impl->list = NULL;
flow_impl->flow.ops = NULL;
/*Create the list with the default size of 16 */
- flow_impl->list = axis2_array_list_create (env, 20);
+ flow_impl->list = axis2_array_list_create (env, 20);
if(NULL == flow_impl->list)
{
axis2_flow_free(&(flow_impl->flow), env);
@@ -80,21 +80,21 @@
return NULL;
}
- flow_impl->flow.ops = AXIS2_MALLOC (env->allocator,
+ flow_impl->flow.ops = AXIS2_MALLOC (env->allocator,
sizeof(axis2_flow_ops_t));
- if(NULL == flow_impl->flow.ops)
+ if(NULL == flow_impl->flow.ops)
{
axis2_flow_free(&(flow_impl->flow), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- flow_impl->flow.ops->free = axis2_flow_free;
+ flow_impl->flow.ops->free = axis2_flow_free;
flow_impl->flow.ops->add_handler = axis2_flow_add_handler;
flow_impl->flow.ops->get_handler = axis2_flow_get_handler;
flow_impl->flow.ops->get_handler_count = axis2_flow_get_handler_count;
-
- return &(flow_impl->flow);
+
+ return &(flow_impl->flow);
}
/*************************** Start of op impls *************************/
Modified: webservices/axis2/trunk/c/modules/core/description/flow_container.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/flow_container.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/flow_container.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/flow_container.c Sat Jun 3 20:09:08 2006
@@ -18,11 +18,11 @@
/**
* @brief Flow container struct impl
- * Container for flows
+ * Container for flows
*/
typedef struct axis2_flow_container_impl
{
- axis2_flow_container_t flow_container;
+ axis2_flow_container_t flow_container;
/**
* Field in
*/
@@ -41,7 +41,7 @@
} axis2_flow_container_impl_t;
#define AXIS2_INTF_TO_IMPL(flow_container) \
- ((axis2_flow_container_impl_t *)flow_container)
+ ((axis2_flow_container_impl_t *)flow_container)
/************************* Function prototypes ********************************/
@@ -92,35 +92,35 @@
{
axis2_flow_container_impl_t *flow_container_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- flow_container_impl = (axis2_flow_container_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ flow_container_impl = (axis2_flow_container_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_flow_container_impl_t));
-
-
- if(NULL == flow_container_impl)
+
+
+ if(NULL == flow_container_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
flow_container_impl->flow_container.ops = NULL;
- flow_container_impl->in = NULL;
+ flow_container_impl->in = NULL;
flow_container_impl->out = NULL;
flow_container_impl->in_fault = NULL;
flow_container_impl->out_fault = NULL;
- flow_container_impl->flow_container.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_flow_container_ops_t));
- if(NULL == flow_container_impl->flow_container.ops)
+ flow_container_impl->flow_container.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_flow_container_ops_t));
+ if(NULL == flow_container_impl->flow_container.ops)
{
axis2_flow_container_free(&(flow_container_impl->flow_container), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- flow_container_impl->flow_container.ops->free = axis2_flow_container_free;
- flow_container_impl->flow_container.ops->get_inflow =
+ flow_container_impl->flow_container.ops->free = axis2_flow_container_free;
+ flow_container_impl->flow_container.ops->get_inflow =
axis2_flow_container_get_inflow;
flow_container_impl->flow_container.ops->set_inflow =
axis2_flow_container_set_inflow;
@@ -136,8 +136,8 @@
axis2_flow_container_get_fault_outflow;
flow_container_impl->flow_container.ops->set_fault_outflow =
axis2_flow_container_set_fault_outflow;
-
- return &(flow_container_impl->flow_container);
+
+ return &(flow_container_impl->flow_container);
}
/*************************** Start of op impls *************************/
Modified: webservices/axis2/trunk/c/modules/core/description/handler_desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/handler_desc.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/handler_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/handler_desc.c Sat Jun 3 20:09:08 2006
@@ -21,8 +21,8 @@
typedef struct axis2_handler_desc_impl
{
- /** handler description */
- axis2_handler_desc_t handler_desc;
+ /** handler description */
+ axis2_handler_desc_t handler_desc;
/** name */
axis2_qname_t *qname;
@@ -32,7 +32,7 @@
axis2_handler_t *handler;
/** class qname */
axis2_char_t *class_name;
- /** parent param container */
+ /** parent param container */
axis2_param_container_t *parent;
} axis2_handler_desc_impl_t;
@@ -117,10 +117,10 @@
handler_desc_impl->rules = NULL;
handler_desc_impl->handler = NULL;
handler_desc_impl->class_name = NULL;
- handler_desc_impl->parent = NULL;
+ handler_desc_impl->parent = NULL;
handler_desc_impl->handler_desc.ops = NULL;
-
- handler_desc_impl->handler_desc.param_container =
+
+ handler_desc_impl->handler_desc.param_container =
axis2_param_container_create(env);
if (!handler_desc_impl->handler_desc.param_container)
{
@@ -381,12 +381,12 @@
handler_desc_impl->handler_desc.param_container = NULL;
}
- if (handler_desc_impl->qname)
+ if (handler_desc_impl->qname)
{
AXIS2_QNAME_FREE(handler_desc_impl->qname, env);
handler_desc_impl->qname = NULL;
}
-
+
if (handler_desc_impl->rules)
{
AXIS2_PHASE_RULE_FREE(handler_desc_impl->rules, env);
Modified: webservices/axis2/trunk/c/modules/core/description/module_desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/module_desc.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/module_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/module_desc.c Sat Jun 3 20:09:08 2006
@@ -18,11 +18,11 @@
/**
* @brief Module Descripton struct impl
- * Module Descripton
+ * Module Descripton
*/
typedef struct axis2_module_desc_impl
{
- axis2_module_desc_t module_desc;
+ axis2_module_desc_t module_desc;
axis2_module_t *module;
axis2_qname_t *qname;
axis2_conf_t *parent;
@@ -140,12 +140,12 @@
{
axis2_module_desc_impl_t *module_desc_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- module_desc_impl = (axis2_module_desc_impl_t *) AXIS2_MALLOC(env->allocator,
- sizeof(axis2_module_desc_impl_t));
-
- if(NULL == module_desc_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ module_desc_impl = (axis2_module_desc_impl_t *) AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_module_desc_impl_t));
+
+ if(NULL == module_desc_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -153,7 +153,7 @@
module_desc_impl->qname = NULL;
module_desc_impl->module = NULL;
- module_desc_impl->parent = NULL;
+ module_desc_impl->parent = NULL;
module_desc_impl->module_desc.params = NULL;
module_desc_impl->module_desc.flow_container = NULL;
module_desc_impl->ops = NULL;
@@ -182,16 +182,16 @@
return NULL;
}
- module_desc_impl->module_desc.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_module_desc_ops_t));
- if(NULL == module_desc_impl->module_desc.ops)
+ module_desc_impl->module_desc.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_module_desc_ops_t));
+ if(NULL == module_desc_impl->module_desc.ops)
{
axis2_module_desc_free(&(module_desc_impl->module_desc), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- module_desc_impl->module_desc.ops->free = axis2_module_desc_free;
+ module_desc_impl->module_desc.ops->free = axis2_module_desc_free;
module_desc_impl->module_desc.ops->get_inflow = axis2_module_desc_get_inflow;
module_desc_impl->module_desc.ops->set_inflow = axis2_module_desc_set_inflow;
module_desc_impl->module_desc.ops->get_outflow = axis2_module_desc_get_outflow;
@@ -229,17 +229,17 @@
module_desc_impl->module_desc.ops->is_param_locked =
axis2_module_desc_is_param_locked;
- return &(module_desc_impl->module_desc);
+ return &(module_desc_impl->module_desc);
}
AXIS2_EXTERN axis2_module_desc_t * AXIS2_CALL
axis2_module_desc_create_with_qname (const axis2_env_t *env, axis2_qname_t *qname)
{
- axis2_module_desc_impl_t *module_desc_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
+ axis2_module_desc_impl_t *module_desc_impl = NULL;
+ AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, qname, NULL);
-
- module_desc_impl = AXIS2_INTF_TO_IMPL(axis2_module_desc_create(env));
+
+ module_desc_impl = AXIS2_INTF_TO_IMPL(axis2_module_desc_create(env));
if(NULL == module_desc_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -247,8 +247,8 @@
}
module_desc_impl->qname = qname;
-
- return &(module_desc_impl->module_desc);
+
+ return &(module_desc_impl->module_desc);
}
@@ -465,11 +465,11 @@
module_desc_impl = AXIS2_INTF_TO_IMPL(module_desc);
if (NULL == (module_desc_impl->ops))
- {
- module_desc_impl->ops = axis2_hash_make (env);
+ {
+ module_desc_impl->ops = axis2_hash_make (env);
if(!module_desc_impl->ops)
return AXIS2_FAILURE;
- }
+ }
op_qname = AXIS2_OP_GET_QNAME(op, env);
Modified: webservices/axis2/trunk/c/modules/core/description/msg.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/msg.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/msg.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/msg.c Sat Jun 3 20:09:08 2006
@@ -19,13 +19,13 @@
/**
* @brief Message struct impl
- * Axis2 Messages
+ * Axis2 Messages
*/
typedef struct axis2_msg_impl
{
- axis2_msg_t msg;
+ axis2_msg_t msg;
/** parent operation */
- axis2_op_t *parent;
+ axis2_op_t *parent;
/** list of phases that represnt the flow */
axis2_array_list_t *flow;
/** name of the message */
@@ -39,12 +39,12 @@
} axis2_msg_impl_t;
#define AXIS2_INTF_TO_IMPL(msg) ((axis2_msg_impl_t *)msg)
-
+
/*************************** Function headers *********************************/
axis2_status_t AXIS2_CALL
axis2_msg_free (axis2_msg_t *msg,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
axis2_msg_add_param (axis2_msg_t *msg,
@@ -111,7 +111,7 @@
const axis2_char_t *name);
-/************************* End of function headers ****************************/
+/************************* End of function headers ****************************/
AXIS2_EXTERN axis2_msg_t * AXIS2_CALL
axis2_msg_create (const axis2_env_t *env)
@@ -119,19 +119,19 @@
axis2_msg_impl_t *msg_impl = NULL;
AXIS2_ENV_CHECK(env, NULL);
-
- msg_impl = (axis2_msg_impl_t *) AXIS2_MALLOC (env->allocator,
- sizeof (axis2_msg_impl_t));
+
+ msg_impl = (axis2_msg_impl_t *) AXIS2_MALLOC (env->allocator,
+ sizeof (axis2_msg_impl_t));
- if(NULL == msg_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == msg_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
msg_impl->msg.param_container = NULL;
msg_impl->parent = NULL;
- msg_impl->flow = NULL;
+ msg_impl->flow = NULL;
msg_impl->name = NULL;
msg_impl->soap_headers = NULL;
msg_impl->element_qname = NULL;
@@ -139,52 +139,52 @@
msg_impl->msg.ops = NULL;
msg_impl->msg.param_container = (axis2_param_container_t *)
- axis2_param_container_create(env);
- if(NULL == msg_impl->msg.param_container)
- {
+ axis2_param_container_create(env);
+ if(NULL == msg_impl->msg.param_container)
+ {
axis2_msg_free(&(msg_impl->msg), env);
return NULL;
- }
+ }
msg_impl->soap_headers = axis2_array_list_create(env, 0);
if(NULL == msg_impl->soap_headers)
- {
+ {
axis2_msg_free(&(msg_impl->msg), env);
return NULL;
- }
+ }
msg_impl->flow = axis2_array_list_create(env, 0);
if(NULL == msg_impl->flow)
- {
+ {
axis2_msg_free(&(msg_impl->msg), env);
return NULL;
- }
+ }
msg_impl->msg.ops = AXIS2_MALLOC(env->allocator, sizeof(axis2_msg_ops_t));
- if(NULL == msg_impl->msg.ops)
- {
+ if(NULL == msg_impl->msg.ops)
+ {
axis2_msg_free(&(msg_impl->msg), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
-
- msg_impl->msg.ops->free = axis2_msg_free;
- msg_impl->msg.ops->add_param = axis2_msg_add_param;
- msg_impl->msg.ops->get_param = axis2_msg_get_param;
- msg_impl->msg.ops->get_params = axis2_msg_get_params;
- msg_impl->msg.ops->is_param_locked = axis2_msg_is_param_locked;
- msg_impl->msg.ops->set_parent = axis2_msg_set_parent;
- msg_impl->msg.ops->get_parent = axis2_msg_get_parent;
- msg_impl->msg.ops->get_flow = axis2_msg_get_flow;
- msg_impl->msg.ops->set_flow = axis2_msg_set_flow;
- msg_impl->msg.ops->get_direction = axis2_msg_get_direction;
- msg_impl->msg.ops->set_direction = axis2_msg_set_direction;
- msg_impl->msg.ops->get_element_qname = axis2_msg_get_element_qname;
- msg_impl->msg.ops->set_element_qname = axis2_msg_set_element_qname;
- msg_impl->msg.ops->get_name = axis2_msg_get_name;
- msg_impl->msg.ops->set_name = axis2_msg_set_name;
+ }
+
+ msg_impl->msg.ops->free = axis2_msg_free;
+ msg_impl->msg.ops->add_param = axis2_msg_add_param;
+ msg_impl->msg.ops->get_param = axis2_msg_get_param;
+ msg_impl->msg.ops->get_params = axis2_msg_get_params;
+ msg_impl->msg.ops->is_param_locked = axis2_msg_is_param_locked;
+ msg_impl->msg.ops->set_parent = axis2_msg_set_parent;
+ msg_impl->msg.ops->get_parent = axis2_msg_get_parent;
+ msg_impl->msg.ops->get_flow = axis2_msg_get_flow;
+ msg_impl->msg.ops->set_flow = axis2_msg_set_flow;
+ msg_impl->msg.ops->get_direction = axis2_msg_get_direction;
+ msg_impl->msg.ops->set_direction = axis2_msg_set_direction;
+ msg_impl->msg.ops->get_element_qname = axis2_msg_get_element_qname;
+ msg_impl->msg.ops->set_element_qname = axis2_msg_set_element_qname;
+ msg_impl->msg.ops->get_name = axis2_msg_get_name;
+ msg_impl->msg.ops->set_name = axis2_msg_set_name;
- return &(msg_impl->msg);
+ return &(msg_impl->msg);
}
/*************************** Start of msg impls *************************/
@@ -249,7 +249,7 @@
if(msg->param_container)
{
- AXIS2_PARAM_CONTAINER_FREE(msg->param_container, env);
+ AXIS2_PARAM_CONTAINER_FREE(msg->param_container, env);
msg->param_container = NULL;
}
@@ -268,12 +268,12 @@
}
return AXIS2_SUCCESS;
-}
+}
axis2_status_t AXIS2_CALL
axis2_msg_add_param (axis2_msg_t *msg,
const axis2_env_t *env,
- axis2_param_t *param)
+ axis2_param_t *param)
{
axis2_msg_impl_t *msg_impl = NULL;
axis2_char_t *param_name = NULL;
@@ -281,7 +281,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, param, AXIS2_FALSE);
msg_impl = AXIS2_INTF_TO_IMPL(msg);
-
+
param_name = AXIS2_PARAM_GET_NAME(param, env);
if(AXIS2_TRUE == axis2_msg_is_param_locked(msg, env, param_name))
{
@@ -300,12 +300,12 @@
axis2_param_t * AXIS2_CALL
axis2_msg_get_param (axis2_msg_t *msg,
const axis2_env_t *env,
- axis2_char_t *param_name)
+ axis2_char_t *param_name)
{
- AXIS2_ENV_CHECK(env, AXIS2_FALSE);
- AXIS2_PARAM_CHECK(env->error, param_name, NULL);
+ AXIS2_ENV_CHECK(env, AXIS2_FALSE);
+ AXIS2_PARAM_CHECK(env->error, param_name, NULL);
- return AXIS2_PARAM_CONTAINER_GET_PARAM(msg->param_container, env, param_name);
+ return AXIS2_PARAM_CONTAINER_GET_PARAM(msg->param_container, env, param_name);
}
axis2_array_list_t * AXIS2_CALL
@@ -314,7 +314,7 @@
{
axis2_msg_impl_t *msg_impl = NULL;
- AXIS2_ENV_CHECK(env, AXIS2_FALSE);
+ AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, msg->param_container, AXIS2_FALSE);
msg_impl = AXIS2_INTF_TO_IMPL(msg);
@@ -324,20 +324,20 @@
axis2_status_t AXIS2_CALL
axis2_msg_set_parent (axis2_msg_t *msg,
const axis2_env_t *env,
- axis2_op_t *op)
+ axis2_op_t *op)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_INTF_TO_IMPL(msg)->parent = op;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_op_t * AXIS2_CALL
axis2_msg_get_parent (axis2_msg_t *msg,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_ENV_CHECK(env, NULL);
- return AXIS2_INTF_TO_IMPL(msg)->parent;
+ return AXIS2_INTF_TO_IMPL(msg)->parent;
}
axis2_array_list_t *AXIS2_CALL
@@ -374,7 +374,7 @@
{
param_l = axis2_msg_get_param(msg, env, param_name);
}
- return (param_l != NULL && AXIS2_PARAM_IS_LOCKED(param_l, env));
+ return (param_l != NULL && AXIS2_PARAM_IS_LOCKED(param_l, env));
}
axis2_status_t AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/description/op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/op.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/op.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/op.c Sat Jun 3 20:09:08 2006
@@ -20,14 +20,14 @@
/**
* @brief Operaton struct impl
- * Axis2 Operations
+ * Axis2 Operations
*/
typedef struct axis2_op_impl
{
- axis2_op_t op;
+ axis2_op_t op;
- axis2_svc_t *parent;
- axis2_msg_recv_t *msg_recv;
+ axis2_svc_t *parent;
+ axis2_msg_recv_t *msg_recv;
axis2_wsdl_op_t *wsdl_op;
axis2_array_list_t *remaining_phases_inflow;
@@ -41,12 +41,12 @@
} axis2_op_impl_t;
#define AXIS2_INTF_TO_IMPL(op) ((axis2_op_impl_t *)op)
-
+
/*************************** Function headers *********************************/
axis2_status_t AXIS2_CALL
axis2_op_free (axis2_op_t *op,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
axis2_op_add_param (axis2_op_t *op,
@@ -75,7 +75,7 @@
axis2_svc_t * AXIS2_CALL
axis2_op_get_parent (axis2_op_t *op,
const axis2_env_t *env);
-
+
axis2_status_t AXIS2_CALL
axis2_op_set_msg_recv (axis2_op_t *op,
const axis2_env_t *env,
@@ -98,7 +98,7 @@
axis2_op_set_msg_exchange_pattern (axis2_op_t *op,
const axis2_env_t *env,
axis2_char_t *pattern);
-
+
axis2_char_t * AXIS2_CALL
axis2_op_get_msg_exchange_pattern (axis2_op_t *op,
const axis2_env_t *env);
@@ -330,7 +330,7 @@
axis2_msg_ctx_t *msg_ctx,
axis2_op_ctx_t *op_ctx);
-/************************* End of function headers ****************************/
+/************************* End of function headers ****************************/
AXIS2_EXTERN axis2_op_t * AXIS2_CALL
axis2_op_create (const axis2_env_t *env)
@@ -345,18 +345,18 @@
axis2_property_t *property = NULL;
AXIS2_ENV_CHECK(env, NULL);
-
- op_impl = (axis2_op_impl_t *) AXIS2_MALLOC (env->allocator,
- sizeof (axis2_op_impl_t));
+
+ op_impl = (axis2_op_impl_t *) AXIS2_MALLOC (env->allocator,
+ sizeof (axis2_op_impl_t));
- if(NULL == op_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == op_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
op_impl->parent = NULL;
- op_impl->msg_recv = NULL;
+ op_impl->msg_recv = NULL;
op_impl->mep = AXIS2_MEP_CONSTANT_INVALID;
op_impl->op.param_container = NULL;
op_impl->wsdl_op = NULL;
@@ -368,21 +368,21 @@
op_impl->op.ops = NULL;
op_impl->op.param_container = (axis2_param_container_t *)
- axis2_param_container_create(env);
- if(NULL == op_impl->op.param_container)
- {
+ axis2_param_container_create(env);
+ if(NULL == op_impl->op.param_container)
+ {
axis2_op_free(&(op_impl->op), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
- op_impl->wsdl_op = (axis2_wsdl_op_t *) axis2_wsdl_op_create(env);
- if(NULL == op_impl->wsdl_op)
- {
+ op_impl->wsdl_op = (axis2_wsdl_op_t *) axis2_wsdl_op_create(env);
+ if(NULL == op_impl->wsdl_op)
+ {
axis2_op_free(&(op_impl->op), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
- }
+ return NULL;
+ }
/* Set the function pointers of the base */
op_impl->op.base.ops = AXIS2_MALLOC(env->allocator,
sizeof(axis2_wsdl_op_ops_t));
@@ -494,30 +494,30 @@
}
op_impl->op.ops = AXIS2_MALLOC(env->allocator, sizeof(axis2_op_ops_t));
- if(NULL == op_impl->op.ops)
- {
+ if(NULL == op_impl->op.ops)
+ {
axis2_op_free(&(op_impl->op), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
-
- op_impl->op.ops->free = axis2_op_free;
- op_impl->op.ops->free_void_arg = axis2_op_free_void_arg;
- op_impl->op.ops->add_param = axis2_op_add_param;
- op_impl->op.ops->get_param = axis2_op_get_param;
- op_impl->op.ops->get_params = axis2_op_get_params;
- op_impl->op.ops->set_parent = axis2_op_set_parent;
- op_impl->op.ops->get_parent = axis2_op_get_parent;
- op_impl->op.ops->set_msg_recv = axis2_op_set_msg_recv;
- op_impl->op.ops->get_msg_recv = axis2_op_get_msg_recv;
+ }
+
+ op_impl->op.ops->free = axis2_op_free;
+ op_impl->op.ops->free_void_arg = axis2_op_free_void_arg;
+ op_impl->op.ops->add_param = axis2_op_add_param;
+ op_impl->op.ops->get_param = axis2_op_get_param;
+ op_impl->op.ops->get_params = axis2_op_get_params;
+ op_impl->op.ops->set_parent = axis2_op_set_parent;
+ op_impl->op.ops->get_parent = axis2_op_get_parent;
+ op_impl->op.ops->set_msg_recv = axis2_op_set_msg_recv;
+ op_impl->op.ops->get_msg_recv = axis2_op_get_msg_recv;
op_impl->op.ops->set_qname = axis2_op_set_qname;
- op_impl->op.ops->get_qname = axis2_op_get_qname;
- op_impl->op.ops->set_msg_exchange_pattern
- = axis2_op_set_msg_exchange_pattern;
- op_impl->op.ops->get_msg_exchange_pattern
- = axis2_op_get_msg_exchange_pattern;
+ op_impl->op.ops->get_qname = axis2_op_get_qname;
+ op_impl->op.ops->set_msg_exchange_pattern
+ = axis2_op_set_msg_exchange_pattern;
+ op_impl->op.ops->get_msg_exchange_pattern
+ = axis2_op_get_msg_exchange_pattern;
op_impl->op.ops->set_style = axis2_op_set_style;
- op_impl->op.ops->get_style = axis2_op_get_style;
+ op_impl->op.ops->get_style = axis2_op_get_style;
op_impl->op.ops->engage_module = axis2_op_engage_module;
op_impl->op.ops->add_to_engage_module_list = axis2_op_add_to_engage_module_list;
op_impl->op.ops->get_modules = axis2_op_get_modules;
@@ -550,74 +550,74 @@
op_impl->op.ops->add_property = axis2_op_add_property;
op_impl->op.ops->get_Properties = axis2_op_get_Properties;
op_impl->op.ops->set_wsdl_op = axis2_op_set_wsdl_op;
- op_impl->op.ops->find_op_ctx = axis2_op_find_op_ctx;
+ op_impl->op.ops->find_op_ctx = axis2_op_find_op_ctx;
op_impl->op.ops->find_for_existing_op_ctx = axis2_op_find_for_existing_op_ctx;
op_impl->op.ops->register_op_ctx = axis2_op_register_op_ctx;
- return &(op_impl->op);
+ return &(op_impl->op);
}
axis2_op_t * AXIS2_CALL
axis2_op_create_with_qname (const axis2_env_t *env, axis2_qname_t *qname)
{
- axis2_op_impl_t *op_impl = NULL;
+ axis2_op_impl_t *op_impl = NULL;
axis2_status_t status = AXIS2_FAILURE;
AXIS2_ENV_CHECK(env, NULL);
- AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
op_impl = (axis2_op_impl_t *) axis2_op_create(env);
- if(NULL == op_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == op_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
if(!op_impl->wsdl_op)
{
- op_impl->wsdl_op = (axis2_wsdl_op_t *) axis2_wsdl_op_create(env);
+ op_impl->wsdl_op = (axis2_wsdl_op_t *) axis2_wsdl_op_create(env);
if(NULL == op_impl->wsdl_op)
{
axis2_op_free(&(op_impl->op), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
+ return NULL;
}
}
- status = axis2_op_set_qname(&(op_impl->op), env, qname);
+ status = axis2_op_set_qname(&(op_impl->op), env, qname);
if(AXIS2_SUCCESS != status)
{
axis2_op_free(&(op_impl->op), env);
return NULL;
}
- return &(op_impl->op);
+ return &(op_impl->op);
}
axis2_op_t * AXIS2_CALL
axis2_op_create_with_wsdl_op (const axis2_env_t *env,
axis2_wsdl_op_t *wsdl_op)
{
- axis2_op_impl_t *op_impl = NULL;
+ axis2_op_impl_t *op_impl = NULL;
AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, wsdl_op, NULL);
op_impl = (axis2_op_impl_t *) axis2_op_create(env);
- if(NULL == op_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == op_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
- if(NULL != op_impl->wsdl_op)
+ if(NULL != op_impl->wsdl_op)
{
AXIS2_WSDL_OP_FREE(op_impl->wsdl_op, env);
}
op_impl->wsdl_op = wsdl_op;
- return &(op_impl->op);
+ return &(op_impl->op);
}
/*************************** Start of op impls *************************/
@@ -713,7 +713,7 @@
if(NULL != op->param_container)
{
- AXIS2_PARAM_CONTAINER_FREE(op->param_container, env);
+ AXIS2_PARAM_CONTAINER_FREE(op->param_container, env);
op->param_container = NULL;
}
@@ -745,7 +745,7 @@
if(NULL != op_impl->wsdl_op)
{
- AXIS2_WSDL_OP_FREE(op_impl->wsdl_op, env);
+ AXIS2_WSDL_OP_FREE(op_impl->wsdl_op, env);
op_impl->wsdl_op = NULL;
}
@@ -768,7 +768,7 @@
}
return AXIS2_SUCCESS;
-}
+}
axis2_status_t AXIS2_CALL
axis2_op_free_void_arg(void *op,
@@ -785,7 +785,7 @@
axis2_status_t AXIS2_CALL
axis2_op_add_param (axis2_op_t *op,
const axis2_env_t *env,
- axis2_param_t *param)
+ axis2_param_t *param)
{
axis2_op_impl_t *op_impl = NULL;
axis2_param_container_t *param_container_l = NULL;
@@ -795,7 +795,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, param, AXIS2_FALSE);
op_impl = AXIS2_INTF_TO_IMPL(op);
-
+
param_name = AXIS2_PARAM_GET_NAME(param, env);
if(AXIS2_TRUE == axis2_op_is_param_locked(op, env, param_name))
{
@@ -820,14 +820,14 @@
axis2_param_t * AXIS2_CALL
axis2_op_get_param (axis2_op_t *op,
const axis2_env_t *env,
- axis2_char_t *param_name)
+ axis2_char_t *param_name)
{
axis2_op_impl_t *op_impl = NULL;
axis2_param_container_t *param_container_l = NULL;
axis2_property_t *property = NULL;
- AXIS2_ENV_CHECK(env, AXIS2_FALSE);
- AXIS2_PARAM_CHECK(env->error, param_name, NULL);
+ AXIS2_ENV_CHECK(env, AXIS2_FALSE);
+ AXIS2_PARAM_CHECK(env->error, param_name, NULL);
op_impl = AXIS2_INTF_TO_IMPL(op);
property = (axis2_property_t *)
@@ -840,7 +840,7 @@
param_container_l = (axis2_param_container_t *)
AXIS2_PROPERTY_GET_VALUE(property, env);
- return AXIS2_PARAM_CONTAINER_GET_PARAM(param_container_l, env, param_name);
+ return AXIS2_PARAM_CONTAINER_GET_PARAM(param_container_l, env, param_name);
}
axis2_array_list_t * AXIS2_CALL
@@ -850,7 +850,7 @@
axis2_op_impl_t *op_impl = NULL;
/*axis2_param_container_t *param_container_l = NULL; */
- AXIS2_ENV_CHECK(env, AXIS2_FALSE);
+ AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, op->param_container, AXIS2_FALSE);
op_impl = AXIS2_INTF_TO_IMPL(op);
@@ -860,7 +860,7 @@
axis2_bool_t AXIS2_CALL
axis2_op_is_param_locked(axis2_op_t *op,
const axis2_env_t *env,
- axis2_char_t *param_name)
+ axis2_char_t *param_name)
{
axis2_svc_t *parent_l = NULL;
axis2_param_t *param_l = NULL;
@@ -883,13 +883,13 @@
{
param_l = axis2_op_get_param(op, env, param_name);
}
- return (param_l !=NULL && AXIS2_PARAM_IS_LOCKED(param_l, env));
+ return (param_l !=NULL && AXIS2_PARAM_IS_LOCKED(param_l, env));
}
axis2_status_t AXIS2_CALL
axis2_op_set_parent (axis2_op_t *op,
const axis2_env_t *env,
- axis2_svc_t *svc)
+ axis2_svc_t *svc)
{
axis2_op_impl_t *op_impl = NULL;
@@ -903,22 +903,22 @@
op_impl->parent = NULL;
}
op_impl->parent = svc;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_svc_t * AXIS2_CALL
axis2_op_get_parent (axis2_op_t *op,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_ENV_CHECK(env, NULL);
- return AXIS2_INTF_TO_IMPL(op)->parent;
+ return AXIS2_INTF_TO_IMPL(op)->parent;
}
axis2_status_t AXIS2_CALL
axis2_op_set_msg_recv (axis2_op_t *op,
const axis2_env_t *env,
- struct axis2_msg_recv *msg_recv)
+ struct axis2_msg_recv *msg_recv)
{
axis2_op_impl_t *op_impl = NULL;
@@ -932,9 +932,9 @@
op_impl->msg_recv = NULL;
}
- op_impl->msg_recv = msg_recv;
-
- return AXIS2_SUCCESS;
+ op_impl->msg_recv = msg_recv;
+
+ return AXIS2_SUCCESS;
}
struct axis2_msg_recv * AXIS2_CALL
@@ -953,7 +953,7 @@
axis2_op_impl_t *op_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- op_impl = AXIS2_INTF_TO_IMPL(op);
+ op_impl = AXIS2_INTF_TO_IMPL(op);
return AXIS2_WSDL_OP_SET_QNAME(op_impl->wsdl_op, env, qname);
}
@@ -966,7 +966,7 @@
AXIS2_ENV_CHECK(env, NULL);
op_impl = AXIS2_INTF_TO_IMPL(op);
-
+
return AXIS2_WSDL_OP_GET_QNAME(op_impl->wsdl_op,
env);
}
@@ -974,7 +974,7 @@
axis2_status_t AXIS2_CALL
axis2_op_set_msg_exchange_pattern (axis2_op_t *op,
const axis2_env_t *env,
- axis2_char_t *pattern)
+ axis2_char_t *pattern)
{
axis2_op_impl_t *op_impl = NULL;
@@ -1710,7 +1710,7 @@
axis2_char_t *value = NULL;
/* So this message is part of an ongoing MEP
- opContext = */
+ opContext = */
conf_ctx = AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env);
value = AXIS2_RELATES_TO_GET_VALUE(relates_to, env);
op_ctx = AXIS2_CONF_CTX_GET_OP_CTX(conf_ctx, env, value);
@@ -1759,7 +1759,7 @@
axis2_conf_ctx_t *conf_ctx = NULL;
axis2_char_t *value = NULL;
/* So this message is part of an ongoing MEP
- opContext = */
+ opContext = */
conf_ctx = AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env);
op_ctx = AXIS2_CONF_CTX_GET_OP_CTX(conf_ctx, env, value);
Modified: webservices/axis2/trunk/c/modules/core/description/phase_rule.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/phase_rule.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/phase_rule.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/phase_rule.c Sat Jun 3 20:09:08 2006
@@ -20,19 +20,19 @@
typedef struct axis2_phase_rule_impl
{
- /** Phase Rule related ops */
- axis2_phase_rule_t phase_rule;
- /** name of phase or handler before */
- axis2_char_t *before;
- /** name of phase or handler after */
- axis2_char_t *after;
- /** phase name */
- axis2_char_t *name;
- /** Is this first phase? */
- axis2_bool_t phase_first;
- /** Is this last phase? */
- axis2_bool_t phase_last;
-
+ /** Phase Rule related ops */
+ axis2_phase_rule_t phase_rule;
+ /** name of phase or handler before */
+ axis2_char_t *before;
+ /** name of phase or handler after */
+ axis2_char_t *after;
+ /** phase name */
+ axis2_char_t *name;
+ /** Is this first phase? */
+ axis2_bool_t phase_first;
+ /** Is this last phase? */
+ axis2_bool_t phase_last;
+
} axis2_phase_rule_impl_t;
/** Interface to implementation conversion macro */
@@ -115,15 +115,15 @@
}
phase_rule_impl->before = NULL;
- phase_rule_impl->after = NULL;
- phase_rule_impl->name = NULL;
- phase_rule_impl->phase_first = AXIS2_FALSE;
- phase_rule_impl->phase_last = AXIS2_FALSE;
-
- if (name)
- {
- phase_rule_impl->name = AXIS2_STRDUP(name, env);
- }
+ phase_rule_impl->after = NULL;
+ phase_rule_impl->name = NULL;
+ phase_rule_impl->phase_first = AXIS2_FALSE;
+ phase_rule_impl->phase_last = AXIS2_FALSE;
+
+ if (name)
+ {
+ phase_rule_impl->name = AXIS2_STRDUP(name, env);
+ }
/* initialize ops */
phase_rule_impl->phase_rule.ops = NULL;
@@ -350,12 +350,12 @@
phase_rule_impl->before = NULL;
}
- if (phase_rule_impl->after)
+ if (phase_rule_impl->after)
{
AXIS2_FREE(env->allocator, phase_rule_impl->after);
phase_rule_impl->after = NULL;
}
-
+
if (phase_rule_impl->name)
{
AXIS2_FREE(env->allocator, phase_rule_impl->name);
Modified: webservices/axis2/trunk/c/modules/core/description/svc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/svc.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/svc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/svc.c Sat Jun 3 20:09:08 2006
@@ -19,16 +19,16 @@
#include <axis2_property.h>
typedef struct axis2_svc_impl axis2_svc_impl_t;
-
+
/**
* @brief Service struct impl
- * Axis2 Service impl
+ * Axis2 Service impl
*/
struct axis2_svc_impl
{
- axis2_svc_t svc;
- axis2_svc_grp_t *parent;
- axis2_hash_t *wasaction_op_map;
+ axis2_svc_t svc;
+ axis2_svc_grp_t *parent;
+ axis2_hash_t *wasaction_op_map;
axis2_char_t *axis_svc_name;
/** to keep the time that last update time of the service */
long last_update;
@@ -48,19 +48,19 @@
axis2_status_t AXIS2_CALL
axis2_svc_add_op (axis2_svc_t *svc, const axis2_env_t *env
- , axis2_op_t *op);
+ , axis2_op_t *op);
axis2_op_t * AXIS2_CALL
axis2_svc_get_op_with_qname (axis2_svc_t *svc, const axis2_env_t *env,
- axis2_qname_t *op_name);
-
+ axis2_qname_t *op_name);
+
axis2_op_t * AXIS2_CALL
axis2_svc_get_op_with_name (axis2_svc_t *svc, const axis2_env_t *env,
- const axis2_char_t* op_name);
+ const axis2_char_t* op_name);
axis2_hash_t * AXIS2_CALL
axis2_svc_get_ops (axis2_svc_t *svc, const axis2_env_t *env);
-
+
axis2_status_t AXIS2_CALL
axis2_svc_set_parent (axis2_svc_t *svc, const axis2_env_t *env,
axis2_svc_grp_t *svc_grp);
@@ -75,7 +75,7 @@
axis2_qname_t * AXIS2_CALL
axis2_svc_get_qname (const axis2_svc_t *svc,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
axis2_svc_add_param (axis2_svc_t *svc,
@@ -85,7 +85,7 @@
axis2_param_t * AXIS2_CALL
axis2_svc_get_param (axis2_svc_t *svc,
const axis2_env_t *env,
- const axis2_char_t *name);
+ const axis2_char_t *name);
axis2_array_list_t * AXIS2_CALL
axis2_svc_get_params (axis2_svc_t *svc,
@@ -94,7 +94,7 @@
axis2_bool_t AXIS2_CALL
axis2_svc_is_param_locked (axis2_svc_t *svc,
const axis2_env_t *env,
- axis2_char_t *param_name);
+ axis2_char_t *param_name);
axis2_status_t AXIS2_CALL
axis2_svc_set_svc_interface(axis2_svc_t *svc,
@@ -276,13 +276,13 @@
AXIS2_ENV_CHECK(env, NULL);
- svc_impl = (axis2_svc_impl_t *)
- AXIS2_MALLOC (env->allocator, sizeof(axis2_svc_impl_t));
+ svc_impl = (axis2_svc_impl_t *)
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_svc_impl_t));
if(NULL == svc_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
svc_impl->parent = NULL;
svc_impl->axis_svc_name = NULL;
@@ -294,54 +294,54 @@
svc_impl->wasaction_op_map = NULL;
svc_impl->module_list = NULL;
- svc_impl->svc.param_container = axis2_param_container_create(env);
- if(NULL == svc_impl->svc.param_container)
- {
+ svc_impl->svc.param_container = axis2_param_container_create(env);
+ if(NULL == svc_impl->svc.param_container)
+ {
axis2_svc_free(&(svc_impl->svc), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
- }
+ return NULL;
+ }
- svc_impl->svc.flow_container = axis2_flow_container_create(env);
- if(NULL == svc_impl->svc.flow_container)
- {
+ svc_impl->svc.flow_container = axis2_flow_container_create(env);
+ if(NULL == svc_impl->svc.flow_container)
+ {
axis2_svc_free(&(svc_impl->svc), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
- svc_impl->svc.wsdl_svc = axis2_wsdl_svc_create(env);
- if(NULL == svc_impl->svc.wsdl_svc)
- {
+ svc_impl->svc.wsdl_svc = axis2_wsdl_svc_create(env);
+ if(NULL == svc_impl->svc.wsdl_svc)
+ {
axis2_svc_free(&(svc_impl->svc), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
- svc_impl->wasaction_op_map = axis2_hash_make (env);
- if(NULL == svc_impl->wasaction_op_map)
- {
+ svc_impl->wasaction_op_map = axis2_hash_make (env);
+ if(NULL == svc_impl->wasaction_op_map)
+ {
axis2_svc_free(&(svc_impl->svc), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
/** Create modle list of default size */
svc_impl->module_list = axis2_array_list_create(env, 0);
if(NULL == svc_impl->module_list)
{
axis2_svc_free(&(svc_impl->svc), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
svc_impl->svc.ops = AXIS2_MALLOC(env->allocator, sizeof(axis2_svc_ops_t));
- if(NULL == svc_impl->svc.ops)
- {
+ if(NULL == svc_impl->svc.ops)
+ {
axis2_svc_free(&(svc_impl->svc), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
wsdl_interface_l = axis2_wsdl_interface_create(env);
if(NULL == wsdl_interface_l)
@@ -397,18 +397,18 @@
return NULL;
}
- svc_impl->svc.ops->free = axis2_svc_free;
- svc_impl->svc.ops->add_op = axis2_svc_add_op;
- svc_impl->svc.ops->get_op_with_qname = axis2_svc_get_op_with_qname;
- svc_impl->svc.ops->get_op_with_name = axis2_svc_get_op_with_name;
- svc_impl->svc.ops->get_ops = axis2_svc_get_ops;
- svc_impl->svc.ops->set_parent = axis2_svc_set_parent;
- svc_impl->svc.ops->get_parent = axis2_svc_get_parent;
+ svc_impl->svc.ops->free = axis2_svc_free;
+ svc_impl->svc.ops->add_op = axis2_svc_add_op;
+ svc_impl->svc.ops->get_op_with_qname = axis2_svc_get_op_with_qname;
+ svc_impl->svc.ops->get_op_with_name = axis2_svc_get_op_with_name;
+ svc_impl->svc.ops->get_ops = axis2_svc_get_ops;
+ svc_impl->svc.ops->set_parent = axis2_svc_set_parent;
+ svc_impl->svc.ops->get_parent = axis2_svc_get_parent;
svc_impl->svc.ops->set_qname = axis2_svc_set_qname;
- svc_impl->svc.ops->get_qname = axis2_svc_get_qname;
- svc_impl->svc.ops->add_param = axis2_svc_add_param;
- svc_impl->svc.ops->get_param = axis2_svc_get_param;
- svc_impl->svc.ops->get_params = axis2_svc_get_params;
+ svc_impl->svc.ops->get_qname = axis2_svc_get_qname;
+ svc_impl->svc.ops->add_param = axis2_svc_add_param;
+ svc_impl->svc.ops->get_param = axis2_svc_get_param;
+ svc_impl->svc.ops->get_params = axis2_svc_get_params;
svc_impl->svc.ops->is_param_locked = axis2_svc_is_param_locked;
svc_impl->svc.ops->set_svc_interface = axis2_svc_set_svc_interface;
svc_impl->svc.ops->get_svc_interface = axis2_svc_get_svc_interface;
@@ -448,7 +448,7 @@
svc_impl->svc.ops->add_module_ref = axis2_svc_add_module_ref;
svc_impl->svc.ops->get_modules = axis2_svc_get_modules;
- return &(svc_impl->svc);
+ return &(svc_impl->svc);
}
axis2_svc_t * AXIS2_CALL
@@ -460,21 +460,21 @@
AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
- svc_impl = AXIS2_INTF_TO_IMPL(axis2_svc_create(env));
- if(NULL == svc_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ svc_impl = AXIS2_INTF_TO_IMPL(axis2_svc_create(env));
+ if(NULL == svc_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
- status = axis2_svc_set_qname(&(svc_impl->svc), env, qname);
+ status = axis2_svc_set_qname(&(svc_impl->svc), env, qname);
if(AXIS2_FAILURE == status)
{
axis2_svc_free(&(svc_impl->svc), env);
return NULL;
}
-
- return &(svc_impl->svc);
+
+ return &(svc_impl->svc);
}
AXIS2_EXTERN axis2_svc_t * AXIS2_CALL
@@ -485,13 +485,13 @@
AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, wsdl_svc, NULL);
- svc_impl = AXIS2_INTF_TO_IMPL(axis2_svc_create(env));
+ svc_impl = AXIS2_INTF_TO_IMPL(axis2_svc_create(env));
- if(NULL == svc_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == svc_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
if(NULL != svc_impl->svc.wsdl_svc)
{
AXIS2_WSDL_SVC_FREE(svc_impl->svc.wsdl_svc, env);
@@ -499,7 +499,7 @@
svc_impl->svc.wsdl_svc = wsdl_svc;
- return &(svc_impl->svc);
+ return &(svc_impl->svc);
}
/********************** Start of function implementations ********************/
@@ -515,19 +515,19 @@
if(NULL != svc->param_container)
{
- AXIS2_PARAM_CONTAINER_FREE(svc->param_container, env);
+ AXIS2_PARAM_CONTAINER_FREE(svc->param_container, env);
svc->param_container = NULL;
}
if(NULL != svc->flow_container)
{
- AXIS2_FLOW_CONTAINER_FREE(svc->flow_container, env);
+ AXIS2_FLOW_CONTAINER_FREE(svc->flow_container, env);
svc->flow_container = NULL;
}
if(NULL != svc->wsdl_svc)
{
- AXIS2_WSDL_SVC_FREE(svc->wsdl_svc, env);
+ AXIS2_WSDL_SVC_FREE(svc->wsdl_svc, env);
svc->wsdl_svc = NULL;
}
@@ -543,7 +543,7 @@
{
/* By this time operations are already freed
*/
- axis2_hash_free(svc_impl->wasaction_op_map, env);
+ axis2_hash_free(svc_impl->wasaction_op_map, env);
svc_impl->wasaction_op_map = NULL;
}
@@ -563,7 +563,7 @@
qname = NULL;
}
}
- AXIS2_ARRAY_LIST_FREE(svc_impl->module_list, env);
+ AXIS2_ARRAY_LIST_FREE(svc_impl->module_list, env);
svc_impl->module_list = NULL;
}
@@ -575,17 +575,17 @@
if(NULL != svc_impl->svc.ops)
{
- AXIS2_FREE(env->allocator, svc_impl->svc.ops);
+ AXIS2_FREE(env->allocator, svc_impl->svc.ops);
svc_impl->svc.ops = NULL;
}
if(svc_impl)
{
- AXIS2_FREE(env->allocator, svc_impl);
+ AXIS2_FREE(env->allocator, svc_impl);
svc_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
@@ -613,7 +613,7 @@
axis2_op_t * AXIS2_CALL
axis2_svc_get_op_with_qname (axis2_svc_t *svc,
const axis2_env_t *env,
- axis2_qname_t *op_name)
+ axis2_qname_t *op_name)
{
axis2_svc_impl_t *svc_impl = NULL;
axis2_op_t *op_l = NULL;
@@ -652,13 +652,13 @@
svc_impl->wasaction_op_map, op_str, AXIS2_HASH_KEY_STRING));
}
- return op_l;
-}
+ return op_l;
+}
axis2_op_t * AXIS2_CALL
axis2_svc_get_op_with_name (axis2_svc_t *svc,
const axis2_env_t *env,
- const axis2_char_t* nc_name)
+ const axis2_char_t* nc_name)
{
axis2_wsdl_interface_t *wsdl_interface = NULL;
axis2_hash_t *ops = NULL;
@@ -682,11 +682,11 @@
wsdl_interface = axis2_svc_get_svc_interface(svc, env);
return AXIS2_WSDL_INTERFACE_GET_OPS(wsdl_interface, env);
}
-
+
axis2_status_t AXIS2_CALL
axis2_svc_set_parent (axis2_svc_t *svc,
const axis2_env_t *env,
- axis2_svc_grp_t *svc_grp)
+ axis2_svc_grp_t *svc_grp)
{
axis2_svc_impl_t *svc_impl = NULL;
@@ -695,9 +695,9 @@
svc_impl = AXIS2_INTF_TO_IMPL(svc);
- svc_impl->parent = svc_grp;
+ svc_impl->parent = svc_grp;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_svc_grp_t * AXIS2_CALL
@@ -705,8 +705,8 @@
const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, NULL);
-
- return AXIS2_INTF_TO_IMPL(svc)->parent;
+
+ return AXIS2_INTF_TO_IMPL(svc)->parent;
}
axis2_status_t AXIS2_CALL
@@ -714,7 +714,7 @@
const axis2_env_t *env,
axis2_qname_t *qname)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
return AXIS2_WSDL_SVC_SET_QNAME(svc->wsdl_svc, env, qname);
@@ -724,14 +724,14 @@
axis2_svc_get_qname (const axis2_svc_t *svc,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_ENV_CHECK(env, NULL);
return AXIS2_WSDL_SVC_GET_QNAME(svc->wsdl_svc, env);
}
axis2_status_t AXIS2_CALL
axis2_svc_add_param (axis2_svc_t *svc,
const axis2_env_t *env,
- axis2_param_t *param)
+ axis2_param_t *param)
{
axis2_param_container_t *param_container_l = NULL;
axis2_property_t *property = NULL;
@@ -763,7 +763,7 @@
axis2_param_t * AXIS2_CALL
axis2_svc_get_param (axis2_svc_t *svc,
const axis2_env_t *env,
- const axis2_char_t *name)
+ const axis2_char_t *name)
{
axis2_param_container_t *param_container_l = NULL;
axis2_property_t *property = NULL;
@@ -788,8 +788,8 @@
axis2_param_container_t *param_container_l = NULL;
axis2_property_t *property = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
+ AXIS2_ENV_CHECK(env, NULL);
+
property = (axis2_property_t *)
AXIS2_WSDL_COMPONENT_GET_COMPONENT_PROPERTY(svc->wsdl_svc->
wsdl_component, env, AXIS2_PARAMETER_KEY);
@@ -804,7 +804,7 @@
axis2_bool_t AXIS2_CALL
axis2_svc_is_param_locked (axis2_svc_t *svc,
const axis2_env_t *env,
- axis2_char_t *param_name)
+ axis2_char_t *param_name)
{
axis2_bool_t locked = AXIS2_FALSE;
axis2_param_t *param_l = NULL;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org