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/08/04 08:19:57 UTC
svn commit: r428639 [4/4] - in /webservices/axis2/trunk/c: guththila/src/
include/ modules/core/clientapi/ modules/core/transport/http/
rampart/src/omxmlsec/ samples/client/dynamic_client/ util/include/
Modified: webservices/axis2/trunk/c/include/axis2_transport_out_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_transport_out_desc.h?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_transport_out_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_transport_out_desc.h Thu Aug 3 23:19:55 2006
@@ -59,19 +59,19 @@
AXIS2_DECLARE_DATA struct axis2_transport_out_desc_ops
{
/**
- * De-allocate memory
- * @param transport_out_dec pointer to transport out description
- * @param env pointer to environment struct
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * De-allocate memory
+ * @param transport_out_dec pointer to transport out description
+ * @param env pointer to environment struct
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
- free)(
+ free)(
axis2_transport_out_desc_t *transport_out_desc,
const axis2_env_t *env);
/**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
*/
axis2_qname_t *(AXIS2_CALL *
get_qname)(
@@ -79,9 +79,9 @@
const axis2_env_t *env);
/**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- * @param qname pointer to qname
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ * @param qname pointer to qname
*/
axis2_status_t (AXIS2_CALL *
set_qname)(
@@ -89,42 +89,42 @@
const axis2_env_t *env,
axis2_qname_t *qname);
- /**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- */
+ /**
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ */
struct axis2_flow *(AXIS2_CALL *
get_outflow)(
struct axis2_transport_out_desc *transport_out,
const axis2_env_t *env);
- /**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- * @param outflow pointer to out flow
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
+ /**
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ * @param outflow pointer to out flow
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
axis2_status_t (AXIS2_CALL *
set_outflow)(
struct axis2_transport_out_desc *transport_out,
const axis2_env_t *env,
struct axis2_flow *outflow);
- /**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- */
+ /**
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ */
struct axis2_flow *(AXIS2_CALL *
get_faultflow)(
struct axis2_transport_out_desc *transport_out,
const axis2_env_t *env);
- /**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- * @param faultflow pointer to faultflow
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
+ /**
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ * @param faultflow pointer to faultflow
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
axis2_status_t (AXIS2_CALL *
set_faultflow)(
struct axis2_transport_out_desc *transport_out,
@@ -132,8 +132,8 @@
struct axis2_flow *faultflow);
/**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
*/
axis2_transport_sender_t *(AXIS2_CALL *
get_sender)(
@@ -141,10 +141,10 @@
const axis2_env_t *env);
/**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- * @param sender pointer to sender
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ * @param sender pointer to sender
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
set_sender)(
@@ -153,75 +153,75 @@
axis2_transport_sender_t *sender);
/**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- */
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ */
struct axis2_phase * (AXIS2_CALL *
get_out_phase)(
struct axis2_transport_out_desc *transport_out,
const axis2_env_t *env);
- /**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- * @param out_phase pointer to out phase
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
+ /**
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ * @param out_phase pointer to out phase
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
axis2_status_t (AXIS2_CALL *
set_out_phase)(
struct axis2_transport_out_desc *transport_out,
const axis2_env_t *env,
struct axis2_phase *out_phase);
- /**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- */
+ /**
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ */
struct axis2_phase *(AXIS2_CALL *
get_faultphase)(
struct axis2_transport_out_desc *transport_out,
const axis2_env_t *env);
- /**
- * @param transport_out pointer to transport_out
- * @param env pointer to environment struct
- * @param faultphase pointer to fault phase
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
+ /**
+ * @param transport_out pointer to transport_out
+ * @param env pointer to environment struct
+ * @param faultphase pointer to fault phase
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
axis2_status_t (AXIS2_CALL *
set_faultphase)(
struct axis2_transport_out_desc *transport_out,
const axis2_env_t *env,
struct axis2_phase *faultphase);
- /**
- * @param transport_out_desc pointer to tarnsport out description
- * @param env pointer to environment struct
- * @param param pointer to param
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
+ /**
+ * @param transport_out_desc pointer to tarnsport out description
+ * @param env pointer to environment struct
+ * @param param pointer to param
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
axis2_status_t (AXIS2_CALL *
add_param)(
axis2_transport_out_desc_t *transport_out_desc,
const axis2_env_t *env,
axis2_param_t *param);
- /**
- * @param transport_out_desc pointer to transport out description
- * @param env pointer to environment struct
- * @param param_name pointer to parameter name
- */
+ /**
+ * @param transport_out_desc pointer to transport out description
+ * @param env pointer to environment struct
+ * @param param_name pointer to parameter name
+ */
axis2_param_t *(AXIS2_CALL *
get_param)(
axis2_transport_out_desc_t *transport_out_desc,
const axis2_env_t *env,
axis2_char_t *param_name);
- /**
- * @param transport_out_desc pointer to transport out description
- * @param env pointer to environment struct
- * @param param_name pointer to parameter name
- */
+ /**
+ * @param transport_out_desc pointer to transport out description
+ * @param env pointer to environment struct
+ * @param param_name pointer to parameter name
+ */
axis2_bool_t (AXIS2_CALL *
is_param_locked)(
axis2_transport_out_desc_t *transport_out_desc,
@@ -249,7 +249,7 @@
AXIS2_EXTERN axis2_transport_out_desc_t * AXIS2_CALL
axis2_transport_out_desc_create_with_qname (
const axis2_env_t *env,
- axis2_qname_t *qname);
+ axis2_qname_t *qname);
/*************************** Function macros **********************************/
Modified: webservices/axis2/trunk/c/include/axis2_transport_receiver.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_transport_receiver.h?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_transport_receiver.h (original)
+++ webservices/axis2/trunk/c/include/axis2_transport_receiver.h Thu Aug 3 23:19:55 2006
@@ -65,50 +65,50 @@
AXIS2_DECLARE_DATA struct axis2_transport_receiver_ops
{
/**
- * De-allocate memory
- * @param transport_receiver pointer to transport receiver
- * @param env pointer to environment struct
+ * De-allocate memory
+ * @param transport_receiver pointer to transport receiver
+ * @param env pointer to environment struct
*/
axis2_status_t (AXIS2_CALL *
free)(
axis2_transport_receiver_t *transport_receiver,
const axis2_env_t *env);
- /**
- * @param transport_receiver
- * @param env pointer to environmnet struct
- */
+ /**
+ * @param transport_receiver
+ * @param env pointer to environmnet struct
+ */
axis2_status_t (AXIS2_CALL *
start)(
axis2_transport_receiver_t *transport_receiver,
const axis2_env_t *env);
- /**
- * @param transport_receiver pointer to transport receiver
- * @param env pointer to environment struct
- */
+ /**
+ * @param transport_receiver pointer to transport receiver
+ * @param env pointer to environment struct
+ */
axis2_status_t (AXIS2_CALL *
stop)(
axis2_transport_receiver_t *transport_receiver,
const axis2_env_t *env);
- /**
- * @param tranport_receiver pointer to transport receiver
- * @param env pointer to environmnet struct
- * @param svc_name pointer to service name
- */
+ /**
+ * @param tranport_receiver pointer to transport receiver
+ * @param env pointer to environmnet struct
+ * @param svc_name pointer to service name
+ */
axis2_endpoint_ref_t* (AXIS2_CALL *
get_reply_to_epr)(
axis2_transport_receiver_t *transport_receiver,
const axis2_env_t *env,
axis2_char_t *svc_name);
- /**
- * @param transport_receiver pointer to transport receiver
- * @param env pointer to environment struct
- * @param conf_ctx pointer to configuratoin context
- * @param intrasport_in pointer to transport_in
- */
+ /**
+ * @param transport_receiver pointer to transport receiver
+ * @param env pointer to environment struct
+ * @param conf_ctx pointer to configuratoin context
+ * @param intrasport_in pointer to transport_in
+ */
axis2_status_t (AXIS2_CALL *
init) (
axis2_transport_receiver_t *transport_receiver,
@@ -117,20 +117,20 @@
struct axis2_transport_in_desc *transport_in);
- /**
- * @param server pointer to server
- * @param env pointer to environment struct
- */
+ /**
+ * @param server pointer to server
+ * @param env pointer to environment struct
+ */
struct axis2_conf_ctx* (AXIS2_CALL *
get_conf_ctx)(
axis2_transport_receiver_t *server,
const axis2_env_t *env);
- /**
- * @param server pointer to server
- * @param env pointer to environment struct
- */
+ /**
+ * @param server pointer to server
+ * @param env pointer to environment struct
+ */
axis2_bool_t (AXIS2_CALL *
is_running)(
axis2_transport_receiver_t *server,
Modified: webservices/axis2/trunk/c/include/axis2_transport_sender.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_transport_sender.h?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_transport_sender.h (original)
+++ webservices/axis2/trunk/c/include/axis2_transport_sender.h Thu Aug 3 23:19:55 2006
@@ -58,9 +58,9 @@
AXIS2_DECLARE_DATA struct axis2_transport_sender_ops
{
/** De-allocate memory
- * @param transport_sender pointer to transport sender
- * @param env pointer to environment struct
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * @param transport_sender pointer to transport sender
+ * @param env pointer to environment struct
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
free)(
@@ -70,10 +70,10 @@
/**
* Initialize
* @param transport_sender pointer to transport sender
- * @param env pointer to environment
- * @param conf_ctx pointer to configuration context
- * @param transport_out pointer to transport_out
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * @param env pointer to environment
+ * @param conf_ctx pointer to configuration context
+ * @param transport_out pointer to transport_out
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
init)(
@@ -85,9 +85,9 @@
/**
* Clean up
* @param transport_sender pointer to transport sender
- * @param env pointer to environmnet struct
- * @param msg_ctx pointer to message context
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * @param env pointer to environmnet struct
+ * @param msg_ctx pointer to message context
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
cleanup)(
@@ -98,9 +98,9 @@
/**
* Invoke
* @param transport_sender pointer to transport sender
- * @param env pointer to environment struct
- * @param msg_ctx pointer to message context
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * @param env pointer to environment struct
+ * @param msg_ctx pointer to message context
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
invoke)(
@@ -117,7 +117,7 @@
*/
AXIS2_DECLARE_DATA struct axis2_transport_sender
{
- /** operations of axis transport sender */
+ /** operations of axis transport sender */
axis2_transport_sender_ops_t *ops;
};
Modified: webservices/axis2/trunk/c/modules/core/clientapi/stub.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/stub.c?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/stub.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/stub.c Thu Aug 3 23:19:55 2006
@@ -1,31 +1,30 @@
/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
#include <axis2_stub.h>
-/**
+/**
* @brief
*/
typedef struct axis2_stub_impl
{
axis2_stub_t stub;
-
axis2_svc_client_t *svc_client;
axis2_options_t *options;
-
+
} axis2_stub_impl_t;
#define AXIS2_INTF_TO_IMPL(stub) \
@@ -33,33 +32,33 @@
/************************* Function prototypes ********************************/
-axis2_status_t AXIS2_CALL
-axis2_stub_free (axis2_stub_t *stub,
- const axis2_env_t *env);
+axis2_status_t AXIS2_CALL
+axis2_stub_free (axis2_stub_t *stub,
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
axis2_stub_set_endpoint_ref (axis2_stub_t *stub,
- const axis2_env_t *env,
- axis2_endpoint_ref_t *endpoint_ref);
+ const axis2_env_t *env,
+ axis2_endpoint_ref_t *endpoint_ref);
axis2_status_t AXIS2_CALL
axis2_stub_set_endpoint_uri (axis2_stub_t *stub,
- const axis2_env_t *env,
- const axis2_char_t *endpoint_uri);
-
+ const axis2_env_t *env,
+ const axis2_char_t *endpoint_uri);
+
/**
* @param use_separate_transport
*/
-axis2_status_t AXIS2_CALL
+axis2_status_t AXIS2_CALL
axis2_stub_set_use_separate_listener(axis2_stub_t *stub,
- const axis2_env_t *env,
- axis2_bool_t use_separate_listener);
+ const axis2_env_t *env,
+ axis2_bool_t use_separate_listener);
axis2_status_t AXIS2_CALL
axis2_stub_engage_module(axis2_stub_t *stub,
- const axis2_env_t *env,
- const axis2_char_t *module_name);
+ const axis2_env_t *env,
+ const axis2_char_t *module_name);
/**
* Set the soap version
@@ -67,53 +66,53 @@
*/
axis2_status_t AXIS2_CALL
axis2_stub_set_soap_version(axis2_stub_t *stub,
- const axis2_env_t *env,
- int soap_version);
+ const axis2_env_t *env,
+ int soap_version);
const axis2_char_t *AXIS2_CALL
axis2_stub_get_svc_ctx_id(const axis2_stub_t *stub,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_svc_client_t *AXIS2_CALL
axis2_stub_get_svc_client(const axis2_stub_t *stub,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_options_t *AXIS2_CALL
axis2_stub_get_options(const axis2_stub_t *stub,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/************************** End of function prototypes ************************/
-AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
+AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
axis2_stub_create (const axis2_env_t *env)
{
axis2_stub_impl_t *stub_impl = NULL;
-
+
AXIS2_ENV_CHECK(env, NULL);
stub_impl = (axis2_stub_impl_t *) AXIS2_MALLOC(env->
- allocator, sizeof(axis2_stub_impl_t));
+ allocator, sizeof(axis2_stub_impl_t));
- if(NULL == stub_impl)
+ if (NULL == stub_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;
}
stub_impl->svc_client = NULL;
stub_impl->options = NULL;
stub_impl->stub.ops = NULL;
-
- stub_impl->stub.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_stub_ops_t));
- if(NULL == stub_impl->stub.ops)
+
+ stub_impl->stub.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_stub_ops_t));
+ if (NULL == stub_impl->stub.ops)
{
axis2_stub_free(&(stub_impl->stub), 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;
}
-
+
stub_impl->stub.ops->free = axis2_stub_free;
stub_impl->stub.ops->set_endpoint_ref = axis2_stub_set_endpoint_ref;
stub_impl->stub.ops->set_endpoint_uri = axis2_stub_set_endpoint_uri;
@@ -121,126 +120,126 @@
stub_impl->stub.ops->engage_module = axis2_stub_engage_module;
stub_impl->stub.ops->set_soap_version = axis2_stub_set_soap_version;
stub_impl->stub.ops->get_svc_ctx_id = axis2_stub_get_svc_ctx_id;
- stub_impl->stub.ops->get_svc_client= axis2_stub_get_svc_client;
- stub_impl->stub.ops->get_options= axis2_stub_get_options;
+ stub_impl->stub.ops->get_svc_client = axis2_stub_get_svc_client;
+ stub_impl->stub.ops->get_options = axis2_stub_get_options;
return &(stub_impl->stub);
}
-AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
+AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
axis2_stub_create_with_endpoint_ref_and_client_home (const axis2_env_t *env,
- axis2_endpoint_ref_t *endpoint_ref,
- const axis2_char_t *client_home)
+ axis2_endpoint_ref_t *endpoint_ref,
+ const axis2_char_t *client_home)
{
axis2_stub_impl_t *stub_impl = NULL;
-
+
AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, endpoint_ref, NULL);
-
+
stub_impl = (axis2_stub_impl_t *) axis2_stub_create(env);
- if(!stub_impl)
+ if (!stub_impl)
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
}
/* create service_client*/
stub_impl->svc_client = axis2_svc_client_create(env , client_home );
-
- if(!stub_impl->svc_client )
+
+ if (!stub_impl->svc_client )
{
axis2_stub_free(&(stub_impl->stub), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
}
/* create options */
stub_impl->options = axis2_options_create(env );
if (!stub_impl->options )
{
axis2_stub_free(&(stub_impl->stub), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
}
/* Set service client options */
AXIS2_SVC_CLIENT_SET_OPTIONS( stub_impl->svc_client,
- env,
- stub_impl-> options);
-
+ env,
+ stub_impl-> options);
+
AXIS2_OPTIONS_SET_TO( stub_impl->options, env, endpoint_ref);
-
+
return &(stub_impl->stub);
}
-AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
+AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
axis2_stub_create_with_endpoint_uri_and_client_home (const axis2_env_t *env,
- const axis2_char_t *endpoint_uri,
- const axis2_char_t *client_home)
+ const axis2_char_t *endpoint_uri,
+ const axis2_char_t *client_home)
{
axis2_stub_impl_t *stub_impl = NULL;
axis2_endpoint_ref_t *endpoint_ref = NULL;
-
+
AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, endpoint_uri, NULL);
-
+
endpoint_ref = axis2_endpoint_ref_create(env, endpoint_uri);
- if(!endpoint_ref)
+ if (!endpoint_ref)
{
return NULL;
}
- stub_impl = (axis2_stub_impl_t *)
- axis2_stub_create_with_endpoint_ref_and_client_home(env, endpoint_ref,
- client_home);
-
- if(!stub_impl)
+ stub_impl = (axis2_stub_impl_t *)
+ axis2_stub_create_with_endpoint_ref_and_client_home(env, endpoint_ref,
+ client_home);
+
+ if (!stub_impl)
{
axis2_stub_free(&(stub_impl->stub), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
}
-
+
return &(stub_impl->stub);
}
/***************************Function implementation****************************/
-axis2_status_t AXIS2_CALL
-axis2_stub_free (axis2_stub_t *stub,
- const axis2_env_t *env)
+axis2_status_t AXIS2_CALL
+axis2_stub_free (axis2_stub_t *stub,
+ const axis2_env_t *env)
{
axis2_stub_impl_t *stub_impl = NULL;
-
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-
+
stub_impl = AXIS2_INTF_TO_IMPL(stub);
-
- if(stub->ops)
+
+ if (stub->ops)
{
AXIS2_FREE(env->allocator, stub->ops);
stub->ops = NULL;
}
- if(stub_impl->svc_client )
+ if (stub_impl->svc_client )
{
AXIS2_SVC_CLIENT_FREE (stub_impl->svc_client, env);
stub_impl->svc_client = NULL;
}
-
- if(stub_impl)
+
+ if (stub_impl)
{
AXIS2_FREE(env->allocator, stub_impl);
stub_impl = NULL;
}
-
+
return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
axis2_stub_set_endpoint_ref (axis2_stub_t *stub,
- const axis2_env_t *env,
- axis2_endpoint_ref_t *endpoint_ref)
+ const axis2_env_t *env,
+ axis2_endpoint_ref_t *endpoint_ref)
{
axis2_stub_impl_t *stub_impl = NULL;
-
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, endpoint_ref, AXIS2_FAILURE);
stub_impl = AXIS2_INTF_TO_IMPL(stub);
@@ -251,23 +250,23 @@
axis2_status_t AXIS2_CALL
axis2_stub_set_endpoint_uri (axis2_stub_t *stub,
- const axis2_env_t *env,
- const axis2_char_t *endpoint_uri)
+ const axis2_env_t *env,
+ const axis2_char_t *endpoint_uri)
{
axis2_stub_impl_t *stub_impl = NULL;
axis2_endpoint_ref_t *endpoint_ref = NULL;
-
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, endpoint_uri, AXIS2_FAILURE);
stub_impl = AXIS2_INTF_TO_IMPL(stub);
-
+
endpoint_ref = axis2_endpoint_ref_create(env, endpoint_uri);
- if(!endpoint_ref)
+ if (!endpoint_ref)
{
return AXIS2_FAILURE;
}
AXIS2_OPTIONS_SET_TO ( stub_impl->options , env, endpoint_ref);
-
+
return AXIS2_SUCCESS;
}
@@ -276,31 +275,31 @@
*/
axis2_status_t AXIS2_CALL
axis2_stub_set_use_separate_listener(axis2_stub_t *stub,
- const axis2_env_t *env,
- axis2_bool_t use_separate_listener)
+ const axis2_env_t *env,
+ axis2_bool_t use_separate_listener)
{
axis2_stub_impl_t *stub_impl = NULL;
-
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
stub_impl = AXIS2_INTF_TO_IMPL(stub);
-
+
AXIS2_OPTIONS_SET_USE_SEPARATE_LISTENER ( stub_impl-> options, env,
- use_separate_listener );
+ use_separate_listener );
return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
axis2_stub_engage_module(axis2_stub_t *stub,
- const axis2_env_t *env,
- const axis2_char_t *module_name)
+ const axis2_env_t *env,
+ const axis2_char_t *module_name)
{
axis2_stub_impl_t *stub_impl = NULL;
-
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, module_name, AXIS2_FAILURE);
stub_impl = AXIS2_INTF_TO_IMPL(stub);
-
- return AXIS2_SVC_CLIENT_ENGAGE_MODULE(stub_impl->svc_client, env, module_name);
+
+ return AXIS2_SVC_CLIENT_ENGAGE_MODULE(stub_impl->svc_client, env, module_name);
}
/**
@@ -309,42 +308,42 @@
*/
axis2_status_t AXIS2_CALL
axis2_stub_set_soap_version(axis2_stub_t *stub,
- const axis2_env_t *env,
- int soap_version)
+ const axis2_env_t *env,
+ int soap_version)
{
axis2_stub_impl_t *stub_impl = NULL;
-
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
stub_impl = AXIS2_INTF_TO_IMPL(stub);
-
- if ( !stub_impl-> options )
+
+ if ( !stub_impl-> options )
{
- return AXIS2_FAILURE;
+ return AXIS2_FAILURE;
}
return AXIS2_OPTIONS_SET_SOAP_VERSION( stub_impl-> options,
- env, soap_version );
+ env, soap_version );
}
const axis2_char_t *AXIS2_CALL
axis2_stub_get_svc_ctx_id(const axis2_stub_t *stub,
- const axis2_env_t *env)
+ const axis2_env_t *env)
{
axis2_stub_impl_t *stub_impl = NULL;
const axis2_svc_ctx_t *svc_ctx = NULL;
axis2_char_t *svc_ctx_id = NULL;
-
+
AXIS2_ENV_CHECK(env, NULL);
stub_impl = AXIS2_INTF_TO_IMPL(stub);
-
+
svc_ctx = AXIS2_SVC_CLIENT_GET_SVC_CTX(stub_impl->svc_client,
- env );
+ env );
svc_ctx_id = AXIS2_SVC_CTX_GET_SVC_ID ( svc_ctx, env );
return svc_ctx_id;
}
axis2_svc_client_t *AXIS2_CALL
axis2_stub_get_svc_client(const axis2_stub_t *stub,
- const axis2_env_t *env)
+ const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, NULL);
return AXIS2_INTF_TO_IMPL(stub)->svc_client;
@@ -352,8 +351,8 @@
axis2_options_t *AXIS2_CALL
axis2_stub_get_options(const axis2_stub_t *stub,
- const axis2_env_t *env)
+ const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
- return AXIS2_INTF_TO_IMPL(stub)->options;
+ AXIS2_ENV_CHECK(env, NULL);
+ return AXIS2_INTF_TO_IMPL(stub)->options;
}
Modified: webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Thu Aug 3 23:19:55 2006
@@ -101,7 +101,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_set_options(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_options_t *options);
@@ -112,7 +112,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_set_override_options(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_options_t *override_options);
@@ -123,51 +123,51 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_engage_module(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_char_t *module_name);
axis2_status_t AXIS2_CALL
axis2_svc_client_disengage_module(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_char_t *module_name);
axis2_status_t AXIS2_CALL
axis2_svc_client_add_header(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
axiom_node_t *header);
axis2_status_t AXIS2_CALL
axis2_svc_client_remove_all_headers(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env);
axis2_status_t AXIS2_CALL
axis2_svc_client_send_robust(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname,
const axiom_node_t *payload);
void AXIS2_CALL
axis2_svc_client_fire_and_forget(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname,
const axiom_node_t *payload);
axiom_node_t *AXIS2_CALL
axis2_svc_client_send_receive(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname,
const axiom_node_t *payload);
void AXIS2_CALL
axis2_svc_client_send_receive_non_blocking(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname,
const axiom_node_t *payload,
@@ -175,29 +175,29 @@
axis2_op_client_t *AXIS2_CALL
axis2_svc_client_create_op_client(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname);
axis2_status_t AXIS2_CALL
axis2_svc_client_finalize_invoke(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env);
const axis2_endpoint_ref_t *AXIS2_CALL
axis2_svc_client_get_own_endpoint_ref(
- const struct axis2_svc_client *svc_client,
+ const axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_char_t *transport);
const axis2_endpoint_ref_t *AXIS2_CALL
axis2_svc_client_get_target_endpoint_ref(
- const struct axis2_svc_client *svc_client,
+ const axis2_svc_client_t *svc_client,
const axis2_env_t *env);
axis2_status_t AXIS2_CALL
axis2_svc_client_set_target_endpoint_ref(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
axis2_endpoint_ref_t *target_endpoint_ref);
@@ -208,7 +208,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_free(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env);
axis2_svc_client_t *AXIS2_CALL
@@ -475,7 +475,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_set_options(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_options_t *options)
{
@@ -505,7 +505,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_set_override_options(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_options_t *override_options)
{
@@ -534,7 +534,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_engage_module(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_char_t *module_name)
{
@@ -560,7 +560,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_disengage_module(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_char_t *module_name)
{
@@ -590,7 +590,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_add_header(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
axiom_node_t *header)
{
@@ -615,7 +615,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_remove_all_headers(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env)
{
axis2_svc_client_impl_t *svc_client_impl = NULL;
@@ -643,7 +643,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_send_robust(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname,
const axiom_node_t *payload)
@@ -682,7 +682,7 @@
void AXIS2_CALL
axis2_svc_client_fire_and_forget(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname,
const axiom_node_t *payload)
@@ -723,7 +723,7 @@
axiom_node_t* AXIS2_CALL
axis2_svc_client_send_receive(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname,
const axiom_node_t *payload)
@@ -884,7 +884,7 @@
void AXIS2_CALL
axis2_svc_client_send_receive_non_blocking(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname,
const axiom_node_t *payload,
@@ -943,7 +943,7 @@
axis2_op_client_t* AXIS2_CALL
axis2_svc_client_create_op_client(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_qname_t *op_qname)
{
@@ -986,7 +986,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_finalize_invoke(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env)
{
axis2_svc_client_impl_t *svc_client_impl = NULL;
@@ -1012,7 +1012,7 @@
const axis2_endpoint_ref_t *AXIS2_CALL
axis2_svc_client_get_own_endpoint_ref(
- const struct axis2_svc_client *svc_client,
+ const axis2_svc_client_t *svc_client,
const axis2_env_t *env,
const axis2_char_t *transport)
{
@@ -1028,7 +1028,7 @@
const axis2_endpoint_ref_t *AXIS2_CALL
axis2_svc_client_get_target_endpoint_ref(
- const struct axis2_svc_client *svc_client,
+ const axis2_svc_client_t *svc_client,
const axis2_env_t *env)
{
axis2_svc_client_impl_t *svc_client_impl = NULL;
@@ -1043,7 +1043,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_set_target_endpoint_ref(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env,
axis2_endpoint_ref_t *target_endpoint_ref)
{
@@ -1269,7 +1269,7 @@
axis2_status_t AXIS2_CALL
axis2_svc_client_free(
- struct axis2_svc_client *svc_client,
+ axis2_svc_client_t *svc_client,
const axis2_env_t *env)
{
axis2_svc_client_impl_t *svc_client_impl = NULL;
Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c Thu Aug 3 23:19:55 2006
@@ -1248,7 +1248,7 @@
axis2_hash_this(hi, (const void **)&name, NULL,(void **)&value);
element = axiom_element_create(env, NULL, (axis2_char_t*)name,
- NULL, &node);
+ NULL, &node);
AXIOM_ELEMENT_SET_TEXT(element, env, (axis2_char_t*)value, node);
AXIOM_NODE_ADD_CHILD(body_child_node, env, node);
}
Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/error.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/error.c?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/error.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/error.c Thu Aug 3 23:19:55 2006
@@ -53,7 +53,7 @@
AXIS2_EXTERN int AXIS2_CALL
oxs_errors_get_code(unsigned int pos) {
if(pos < sizeof(oxs_errors_table) / sizeof(oxs_errors_table[0])) {
- return(oxs_errors_table[pos].code);
+ return(oxs_errors_table[pos].code);
}
return(0);
}
@@ -61,20 +61,20 @@
AXIS2_EXTERN const char* AXIS2_CALL
oxs_errors_get_msg(unsigned int pos) {
if(pos < sizeof(oxs_errors_table) / sizeof(oxs_errors_table[0])) {
- return(oxs_errors_table[pos].message);
+ return(oxs_errors_table[pos].message);
}
return(NULL);
}
-AXIS2_EXTERN void AXIS2_CALL
+AXIS2_EXTERN void AXIS2_CALL
oxs_error(const char* file, int line, const char* func,
- int code, const char* msg, ...)
+ int code, const char* msg, ...)
{
const char* error_msg = NULL;
char value[AXIS2_LEN_VALUE+1];
va_list ap;
- error_msg = oxs_errors_get_msg_by_code(code);
+ error_msg = oxs_errors_get_msg_by_code(code);
/*TODO Log instead of printf*/
va_start(ap, msg);
Modified: webservices/axis2/trunk/c/samples/client/dynamic_client/dynamic_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/dynamic_client/dynamic_client.c?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/dynamic_client/dynamic_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/dynamic_client/dynamic_client.c Thu Aug 3 23:19:55 2006
@@ -44,7 +44,7 @@
int main(int argc, char** argv)
{
- axis2_env_t *env = NULL;
+ axis2_env_t *env = NULL;
axis2_error_t *error = NULL;
axis2_log_t *log = NULL;
axis2_allocator_t *allocator = NULL;
@@ -58,7 +58,7 @@
env->log->level = AXIS2_LOG_LEVEL_TRACE;
axis2_error_init();
- if (argc <= 1)
+ if (argc <= 1)
{
printf("Usage: print <wsdl_File_Name>\n");
return 1;
@@ -83,7 +83,7 @@
axis2_char_t *wsdl_uri_str)
{
axiom_node_t *payload = NULL;
- axiom_node_t *response = NULL;
+ axiom_node_t *response = NULL;
axis2_uri_t *wsdl_uri = NULL;
axis2_qname_t *op_qname = NULL;
axis2_svc_client_t *svc_client = NULL;
@@ -111,7 +111,7 @@
env, NULL, wsdl_uri, wsdl_svc_qname, "Calculator", client_home);
if(!svc_client)
{
- printf("Service client is NULL \n");
+ printf("Service client is NULL \n");
AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "Service client is NULL");
return 1;
}
@@ -121,23 +121,23 @@
response = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME(svc_client, env,
op_qname, payload);
- if(response)
+ if(response)
{
axis2_char_t *om_str = NULL;
om_str = AXIOM_NODE_TO_STRING(response, env);
if (om_str)
printf("\nReceived OM : %s\n", om_str);
- printf("status:%s\n", "Success");
+ printf("status:%s\n", "Success");
}
- else
- printf("status:%s\n", "Failure");
+ else
+ printf("status:%s\n", "Failure");
if(svc_client)
{
AXIS2_SVC_CLIENT_FREE(svc_client, env);
svc_client = NULL;
}
- return 0;
+ return 0;
}
static int
@@ -146,7 +146,7 @@
axis2_char_t *wsdl_uri_str)
{
axiom_node_t *payload = NULL;
- axiom_node_t *response = NULL;
+ axiom_node_t *response = NULL;
axis2_uri_t *wsdl_uri = NULL;
axis2_qname_t *op_qname = NULL;
axis2_svc_client_t *svc_client = NULL;
@@ -173,7 +173,7 @@
env, NULL, wsdl_uri, wsdl_svc_qname, "Calculator", client_home);
if(!svc_client)
{
- printf("Service client is NULL \n");
+ printf("Service client is NULL \n");
AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "Service client is NULL");
return 1;
}
@@ -183,23 +183,23 @@
response = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME(svc_client, env,
op_qname, payload);
- if(response)
+ if(response)
{
axis2_char_t *om_str = NULL;
om_str = AXIOM_NODE_TO_STRING(response, env);
if (om_str)
printf("\nReceived OM : %s\n", om_str);
- printf("status:%s\n", "Success");
+ printf("status:%s\n", "Success");
}
- else
- printf("status:%s\n", "Failure");
+ else
+ printf("status:%s\n", "Failure");
if(svc_client)
{
AXIS2_SVC_CLIENT_FREE(svc_client, env);
svc_client = NULL;
}
- return 0;
+ return 0;
}
Modified: webservices/axis2/trunk/c/samples/client/dynamic_client/test.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/dynamic_client/test.c?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/dynamic_client/test.c (original)
+++ webservices/axis2/trunk/c/samples/client/dynamic_client/test.c Thu Aug 3 23:19:55 2006
@@ -28,7 +28,7 @@
int main(int argc, char** argv)
{
- axis2_env_t *env = NULL;
+ axis2_env_t *env = NULL;
axis2_error_t *error = NULL;
axis2_log_t *log = NULL;
axis2_allocator_t *allocator = NULL;
@@ -43,7 +43,7 @@
build_om_programatically(env);
- return 0;
+ return 0;
}
/* build SOAP request message content using OM */
Modified: webservices/axis2/trunk/c/util/include/axis2_array_list.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axis2_array_list.h?rev=428639&r1=428638&r2=428639&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axis2_array_list.h (original)
+++ webservices/axis2/trunk/c/util/include/axis2_array_list.h Thu Aug 3 23:19:55 2006
@@ -52,9 +52,9 @@
* hold min_capacity elements. This implementation will grow the list to
* max(current * 2, min_capacity)
* @param array_list pointer to array_list
- * @param env pointer to environment struct
+ * @param env pointer to environment struct
* @param min_capacity the minimum guaranteed capacity
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
ensure_capacity)(
@@ -65,7 +65,7 @@
/**
* Returns the number of elements in this list.
* @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param env pointer to environment struct
* @return the list size
*/
int (AXIS2_CALL *
@@ -76,7 +76,7 @@
/**
* Checks if the list is empty.
* @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param env pointer to environment struct
* @return true if there are no elements, else false
*/
axis2_bool_t (AXIS2_CALL *
@@ -87,7 +87,7 @@
/**
* Returns true iff element is in this array_list.
* @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param env pointer to environment struct
* @param e the element whose inclusion in the List is being tested
* @return true if the list contains e
*/
@@ -101,8 +101,8 @@
* Returns the lowest index at which element appears in this List, or
* -1 if it does not appear. This looks for the pointer value equality only,
* does not look into pointer content
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param e the element whose inclusion in the List is being tested
* @return the index where e was found
*/
@@ -116,8 +116,8 @@
* Returns the highest index at which element appears in this List, or
* -1 if it does not appear. This looks for the pointer value equality only,
* does not look into pointer content
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param e the element whose inclusion in the List is being tested
* @return the index where e was found
*/
@@ -130,8 +130,8 @@
/**
* Returns a void* array containing all of the elements in this array_list.
* The array is not independent of this list.
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @return array of elements in this list
*/
void** (AXIS2_CALL *
@@ -141,8 +141,8 @@
/**
* Retrieves the element at the user-supplied index.
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param index the index of the element we are fetching
* @return element at the given index
*/
@@ -154,8 +154,8 @@
/**
* Sets the element at the specified index. The new element, e,
* can be an object of any type or null.
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param index the index at which the element is being set
* @param e the element to be set
* @return the element previously at the specified index
@@ -170,8 +170,8 @@
/**
* Appends the supplied element to the end of this list.
* The element, e, can be a pointer of any type or NULL.
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param e the element to be appended to this list
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
@@ -185,8 +185,8 @@
* Adds the supplied element at the specified index, shifting all
* elements currently at that index or higher one to the right.
* The element, e, can be a pointer of any type or NULL.
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param index the index at which the element is being added
* @param e the item being added
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
@@ -200,8 +200,8 @@
/**
* Removes the element at the user-supplied index.
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param index the index of the element to be removed
* @return the removed void* pointer
*/
@@ -212,8 +212,8 @@
/**
* Checks that the index is in the range of possible elements (inclusive).
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param index the index to check
* @return AXIS2_FALSE if index > size or index < 0, else AXIS2_TRUE
*/
@@ -225,8 +225,8 @@
/**
* Checks that the index is in the range of existing elements (exclusive).
- * @param array_list pointer to array list
- * @param env pointer to environment struct
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
* @param index the index to check
* @return AXIS2_FALSE if index >= size or index < 0, else AXIS2_TRUE
*/
@@ -237,10 +237,10 @@
int index);
/**
- * @param array_list pointer to array list
- * @param env pointer to environment struct
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
+ * @param array_list pointer to array list
+ * @param env pointer to environment struct
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
axis2_status_t (AXIS2_CALL *
free)(
struct axis2_array_list *array_list,
@@ -268,7 +268,7 @@
*/
AXIS2_EXTERN axis2_array_list_t* AXIS2_CALL axis2_array_list_create(
const axis2_env_t *env,
- int capacity);
+ int capacity);
/**
* Free array passed as void pointer.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org