You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/09/28 11:47:13 UTC
svn commit: r580274 [1/8] - /webservices/axis2/trunk/c/include/
Author: samisa
Date: Fri Sep 28 02:47:09 2007
New Revision: 580274
URL: http://svn.apache.org/viewvc?rev=580274&view=rev
Log:
Fixed formatting
Modified:
webservices/axis2/trunk/c/include/axis2_addr.h
webservices/axis2/trunk/c/include/axis2_addr_mod.h
webservices/axis2/trunk/c/include/axis2_any_content_type.h
webservices/axis2/trunk/c/include/axis2_async_result.h
webservices/axis2/trunk/c/include/axis2_callback.h
webservices/axis2/trunk/c/include/axis2_callback_recv.h
webservices/axis2/trunk/c/include/axis2_client.h
webservices/axis2/trunk/c/include/axis2_conf.h
webservices/axis2/trunk/c/include/axis2_conf_ctx.h
webservices/axis2/trunk/c/include/axis2_conf_init.h
webservices/axis2/trunk/c/include/axis2_const.h
webservices/axis2/trunk/c/include/axis2_core_utils.h
webservices/axis2/trunk/c/include/axis2_ctx.h
webservices/axis2/trunk/c/include/axis2_defines.h
webservices/axis2/trunk/c/include/axis2_desc.h
webservices/axis2/trunk/c/include/axis2_description.h
webservices/axis2/trunk/c/include/axis2_disp.h
webservices/axis2/trunk/c/include/axis2_endpoint_ref.h
webservices/axis2/trunk/c/include/axis2_engine.h
webservices/axis2/trunk/c/include/axis2_flow.h
webservices/axis2/trunk/c/include/axis2_flow_container.h
webservices/axis2/trunk/c/include/axis2_handler.h
webservices/axis2/trunk/c/include/axis2_handler_desc.h
webservices/axis2/trunk/c/include/axis2_http_chunked_stream.h
webservices/axis2/trunk/c/include/axis2_http_client.h
webservices/axis2/trunk/c/include/axis2_http_header.h
webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h
webservices/axis2/trunk/c/include/axis2_http_request_line.h
webservices/axis2/trunk/c/include/axis2_http_response_writer.h
webservices/axis2/trunk/c/include/axis2_http_sender.h
webservices/axis2/trunk/c/include/axis2_http_server.h
webservices/axis2/trunk/c/include/axis2_http_simple_request.h
webservices/axis2/trunk/c/include/axis2_http_simple_response.h
webservices/axis2/trunk/c/include/axis2_http_status_line.h
webservices/axis2/trunk/c/include/axis2_http_svr_thread.h
webservices/axis2/trunk/c/include/axis2_http_transport.h
webservices/axis2/trunk/c/include/axis2_http_transport_sender.h
webservices/axis2/trunk/c/include/axis2_http_transport_utils.h
webservices/axis2/trunk/c/include/axis2_http_worker.h
webservices/axis2/trunk/c/include/axis2_listener_manager.h
webservices/axis2/trunk/c/include/axis2_module.h
webservices/axis2/trunk/c/include/axis2_module_desc.h
webservices/axis2/trunk/c/include/axis2_msg.h
webservices/axis2/trunk/c/include/axis2_msg_ctx.h
webservices/axis2/trunk/c/include/axis2_msg_info_headers.h
webservices/axis2/trunk/c/include/axis2_msg_recv.h
webservices/axis2/trunk/c/include/axis2_op.h
webservices/axis2/trunk/c/include/axis2_op_client.h
webservices/axis2/trunk/c/include/axis2_op_ctx.h
webservices/axis2/trunk/c/include/axis2_options.h
webservices/axis2/trunk/c/include/axis2_phase.h
webservices/axis2/trunk/c/include/axis2_phase_holder.h
webservices/axis2/trunk/c/include/axis2_phase_meta.h
webservices/axis2/trunk/c/include/axis2_phase_resolver.h
webservices/axis2/trunk/c/include/axis2_phase_rule.h
webservices/axis2/trunk/c/include/axis2_phases_info.h
webservices/axis2/trunk/c/include/axis2_policy_include.h
webservices/axis2/trunk/c/include/axis2_raw_xml_in_out_msg_recv.h
webservices/axis2/trunk/c/include/axis2_relates_to.h
webservices/axis2/trunk/c/include/axis2_simple_http_svr_conn.h
webservices/axis2/trunk/c/include/axis2_stub.h
webservices/axis2/trunk/c/include/axis2_svc.h
webservices/axis2/trunk/c/include/axis2_svc_client.h
webservices/axis2/trunk/c/include/axis2_svc_ctx.h
webservices/axis2/trunk/c/include/axis2_svc_grp.h
webservices/axis2/trunk/c/include/axis2_svc_grp_ctx.h
webservices/axis2/trunk/c/include/axis2_svc_name.h
webservices/axis2/trunk/c/include/axis2_svc_skeleton.h
webservices/axis2/trunk/c/include/axis2_svr_callback.h
webservices/axis2/trunk/c/include/axis2_thread_mutex.h
webservices/axis2/trunk/c/include/axis2_transport_in_desc.h
webservices/axis2/trunk/c/include/axis2_transport_out_desc.h
webservices/axis2/trunk/c/include/axis2_transport_receiver.h
webservices/axis2/trunk/c/include/axis2_transport_sender.h
webservices/axis2/trunk/c/include/axis2_util.h
Modified: webservices/axis2/trunk/c/include/axis2_addr.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_addr.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_addr.h (original)
+++ webservices/axis2/trunk/c/include/axis2_addr.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -23,70 +24,70 @@
{
#endif
-/**
- * @defgroup axis2_addr WS-Addressing
- * @ingroup axis2
- * @{
- * @}
- */
-
-/**
- * @defgroup axis2_addr_consts WS-Addressing related constants
- * @ingroup axis2_addr
- * @{
- */
-
- /* ====================== Common Message Addressing Properties ===========*/
- #define AXIS2_WSA_MESSAGE_ID "MessageID"
- #define AXIS2_WSA_RELATES_TO "RelatesTo"
- #define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE "RelationshipType"
- #define AXIS2_WSA_TO "To"
- #define AXIS2_WSA_FROM "From"
- #define AXIS2_WSA_REPLY_TO "ReplyTo"
- #define AXIS2_WSA_FAULT_TO "FaultTo"
- #define AXIS2_WSA_ACTION "Action"
- #define AXIS2_WSA_MAPPING "wsamapping"
-
- /* ====================== Common EPR Elements ============================*/
- #define EPR_ADDRESS "Address"
- #define EPR_REFERENCE_PARAMETERS "ReferenceParameters"
- #define EPR_SERVICE_NAME "ServiceName"
-
- /* ====================== Addressing Submission Version Constants ========*/
- #define AXIS2_WSA_NAMESPACE_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing"
- #define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE_SUBMISSION "wsa:Reply"
- #define AXIS2_WSA_ANONYMOUS_URL_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"
- #define AXIS2_WSA_NONE_URL_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/none"
-
- #define EPR_REFERENCE_PROPERTIES "ReferenceProperties"
- #define EPR_PORT_TYPE "PortType"
- #define EPR_SERVICE_NAME_PORT_NAME "PortName"
-
- /* =====================Addressing 1.0 Final Version Constants ===========*/
- #define AXIS2_WSA_NAMESPACE "http://www.w3.org/2005/08/addressing"
- #define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE "http://www.w3.org/2005/08/addressing/reply"
- #define AXIS2_WSA_ANONYMOUS_URL "http://www.w3.org/2005/08/addressing/anonymous"
- #define AXIS2_WSA_NONE_URL "http://www.w3.org/2005/08/addressing/none"
-
- #define AXIS2_WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE "IsReferenceParameter"
- #define AXIS2_WSA_TYPE_ATTRIBUTE_VALUE "true"
-
- #define AXIS2_WSA_INTERFACE_NAME "InterfaceName"
- #define AXIS2_WSA_SERVICE_NAME_ENDPOINT_NAME "EndpointName"
- #define AXIS2_WSA_POLICIES "Policies"
- #define AXIS2_WSA_METADATA "Metadata"
-
- /* =======================================================================*/
+ /**
+ * @defgroup axis2_addr WS-Addressing
+ * @ingroup axis2
+ * @{
+ * @}
+ */
+
+ /**
+ * @defgroup axis2_addr_consts WS-Addressing related constants
+ * @ingroup axis2_addr
+ * @{
+ */
+
+ /* ====================== Common Message Addressing Properties =========== */
+#define AXIS2_WSA_MESSAGE_ID "MessageID"
+#define AXIS2_WSA_RELATES_TO "RelatesTo"
+#define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE "RelationshipType"
+#define AXIS2_WSA_TO "To"
+#define AXIS2_WSA_FROM "From"
+#define AXIS2_WSA_REPLY_TO "ReplyTo"
+#define AXIS2_WSA_FAULT_TO "FaultTo"
+#define AXIS2_WSA_ACTION "Action"
+#define AXIS2_WSA_MAPPING "wsamapping"
+
+ /* ====================== Common EPR Elements ============================ */
+#define EPR_ADDRESS "Address"
+#define EPR_REFERENCE_PARAMETERS "ReferenceParameters"
+#define EPR_SERVICE_NAME "ServiceName"
+
+ /* ====================== Addressing Submission Version Constants ======== */
+#define AXIS2_WSA_NAMESPACE_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing"
+#define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE_SUBMISSION "wsa:Reply"
+#define AXIS2_WSA_ANONYMOUS_URL_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"
+#define AXIS2_WSA_NONE_URL_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/none"
+
+#define EPR_REFERENCE_PROPERTIES "ReferenceProperties"
+#define EPR_PORT_TYPE "PortType"
+#define EPR_SERVICE_NAME_PORT_NAME "PortName"
+
+ /* =====================Addressing 1.0 Final Version Constants =========== */
+#define AXIS2_WSA_NAMESPACE "http://www.w3.org/2005/08/addressing"
+#define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE "http://www.w3.org/2005/08/addressing/reply"
+#define AXIS2_WSA_ANONYMOUS_URL "http://www.w3.org/2005/08/addressing/anonymous"
+#define AXIS2_WSA_NONE_URL "http://www.w3.org/2005/08/addressing/none"
+
+#define AXIS2_WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE "IsReferenceParameter"
+#define AXIS2_WSA_TYPE_ATTRIBUTE_VALUE "true"
+
+#define AXIS2_WSA_INTERFACE_NAME "InterfaceName"
+#define AXIS2_WSA_SERVICE_NAME_ENDPOINT_NAME "EndpointName"
+#define AXIS2_WSA_POLICIES "Policies"
+#define AXIS2_WSA_METADATA "Metadata"
+
+ /* ======================================================================= */
+
+#define AXIS2_WSA_VERSION "WSAddressingVersion"
+#define AXIS2_WSA_DEFAULT_PREFIX "wsa"
- #define AXIS2_WSA_VERSION "WSAddressingVersion"
- #define AXIS2_WSA_DEFAULT_PREFIX "wsa"
+#define PARAM_SERVICE_GROUP_CONTEXT_ID "ServiceGroupContextIdFromAddressing"
- #define PARAM_SERVICE_GROUP_CONTEXT_ID "ServiceGroupContextIdFromAddressing"
+ /** @} */
-/** @} */
-
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_ADDR_H */
+#endif /* AXIS2_ADDR_H */
Modified: webservices/axis2/trunk/c/include/axis2_addr_mod.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_addr_mod.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_addr_mod.h (original)
+++ webservices/axis2/trunk/c/include/axis2_addr_mod.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -30,18 +31,20 @@
{
#endif
-AXIS2_EXTERN axis2_handler_t* AXIS2_CALL
-axis2_addr_in_handler_create(const axutil_env_t *env,
- axutil_string_t *name);
-
-AXIS2_EXTERN axis2_handler_t* AXIS2_CALL
-axis2_addr_out_handler_create(const axutil_env_t *env,
- axutil_string_t *name);
-
-/** @} */
-
+ AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
+ axis2_addr_in_handler_create(
+ const axutil_env_t * env,
+ axutil_string_t * name);
+
+ AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
+ axis2_addr_out_handler_create(
+ const axutil_env_t * env,
+ axutil_string_t * name);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_ADDR_MOD_H */
+#endif /* AXIS2_ADDR_MOD_H */
Modified: webservices/axis2/trunk/c/include/axis2_any_content_type.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_any_content_type.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_any_content_type.h (original)
+++ webservices/axis2/trunk/c/include/axis2_any_content_type.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -21,9 +22,9 @@
/**
* @defgroup axis2_any_content_type any content type
* @ingroup axis2_addr
- * any content type acts as a container for any type reference parameters that
- * could be associated with an endpoint reference. The values in the map are
- * stored in string format, with QNames as key values.
+ * any content type acts as a container for any type reference parameters that
+ * could be associated with an endpoint reference. The values in the map are
+ * stored in string format, with QNames as key values.
* @{
*/
@@ -47,7 +48,9 @@
* @return pointer to the newly created any content type instance
*/
AXIS2_EXTERN axis2_any_content_type_t *AXIS2_CALL
- axis2_any_content_type_create(const axutil_env_t *env);
+
+ axis2_any_content_type_create(
+ const axutil_env_t * env);
/**
* Adds given value to content value map with given QName.
@@ -58,10 +61,11 @@
* @return AXIS2_SUCCESS on success else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_any_content_type_add_value(axis2_any_content_type_t *any_content_type,
- const axutil_env_t *env,
- const axutil_qname_t *qname,
- const axis2_char_t *value);
+ axis2_any_content_type_add_value(
+ axis2_any_content_type_t * any_content_type,
+ const axutil_env_t * env,
+ const axutil_qname_t * qname,
+ const axis2_char_t * value);
/**
* Gets the value corresponding to the given QName from the content
@@ -73,9 +77,12 @@
* @return value string if present, else returns NULL
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_any_content_type_get_value(const axis2_any_content_type_t *any_content_type,
- const axutil_env_t *env,
- const axutil_qname_t *qname);
+
+ axis2_any_content_type_get_value(
+ const axis2_any_content_type_t * any_content_type,
+ const axutil_env_t * env,
+ const axutil_qname_t * qname);
+
/**
* Gets the map of all values.
* @param any_content_type pointer to any content type struct
@@ -84,8 +91,10 @@
* reference, not a cloned copy
*/
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
- axis2_any_content_type_get_value_map(const axis2_any_content_type_t *any_content_type,
- const axutil_env_t *env);
+
+ axis2_any_content_type_get_value_map(
+ const axis2_any_content_type_t * any_content_type,
+ const axutil_env_t * env);
/**
* Frees any content type struct.
@@ -94,14 +103,14 @@
* @return AXIS2_SUCCESS on success else AXIS2_FAILURE
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_any_content_type_free(axis2_any_content_type_t *any_content_type,
- const axutil_env_t *env);
+ axis2_any_content_type_free(
+ axis2_any_content_type_t * any_content_type,
+ const axutil_env_t * env);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_ANY_CONTENT_TYPE_H */
-
+#endif /* AXIS2_ANY_CONTENT_TYPE_H */
Modified: webservices/axis2/trunk/c/include/axis2_async_result.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_async_result.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_async_result.h (original)
+++ webservices/axis2/trunk/c/include/axis2_async_result.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,7 +19,7 @@
#ifndef AXIS2_ASYNC_RESULT_H
#define AXIS2_ASYNC_RESULT_H
-/**
+/**
* @defgroup axis2_async_result async result
* @ingroup axis2_client_api
* async_result is used to capture the result of an asynchronous invocation.
@@ -45,15 +46,16 @@
typedef struct axis2_async_result axis2_async_result_t;
/**
- * Gets the SOAP envelope stored inside the resulting message context.
+ * Gets the SOAP envelope stored inside the resulting message context.
* @param async_result pointer to async result struct
* @param env pointer to environment struct
* @return pointer to the result SOAP envelope in the message context.
*/
AXIS2_EXTERN axiom_soap_envelope_t *AXIS2_CALL
- axis2_async_result_get_envelope(axis2_async_result_t *async_result,
- const axutil_env_t *env);
+ axis2_async_result_get_envelope(
+ axis2_async_result_t * async_result,
+ const axutil_env_t * env);
/**
* Gets the result in the form of message context.
@@ -62,8 +64,9 @@
* @return pointer to result message context
*/
AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
- axis2_async_result_get_result(axis2_async_result_t *async_result,
- const axutil_env_t *env);
+ axis2_async_result_get_result(
+ axis2_async_result_t * async_result,
+ const axutil_env_t * env);
/**
* Frees the async result.
@@ -72,8 +75,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_async_result_free(axis2_async_result_t *async_result,
- const axutil_env_t *env);
+ axis2_async_result_free(
+ axis2_async_result_t * async_result,
+ const axutil_env_t * env);
/** Creates an async result struct to help deal with results of asynchronous
* invocations.
@@ -83,11 +87,11 @@
* @return newly created async_result struct
*/
AXIS2_EXTERN axis2_async_result_t *AXIS2_CALL
- axis2_async_result_create(const axutil_env_t *env,
- axis2_msg_ctx_t *result);
-
+ axis2_async_result_create(
+ const axutil_env_t * env,
+ axis2_msg_ctx_t * result);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/include/axis2_callback.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_callback.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_callback.h (original)
+++ webservices/axis2/trunk/c/include/axis2_callback.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,14 +19,14 @@
#ifndef AXIS2_CALLBACK_H
#define AXIS2_CALLBACK_H
-/**
+/**
* @defgroup axis2_callback callback
* @ingroup axis2_client_api
* callback represents the callback mechanisms to be used in case of asynchronous
- * invocations. It holds the complete status of the invocation, the resulting
+ * invocations. It holds the complete status of the invocation, the resulting
* SOAP envelope and also callback specific data. One can define a function
- * to be called on complete of the callback as well as a function to be called
- * on error.
+ * to be called on complete of the callback as well as a function to be called
+ * on error.
* @{
*/
@@ -45,14 +46,19 @@
/** Type name for axis2_callback */
typedef struct axis2_callback axis2_callback_t;
+
/** Type name for function pointer to be called on complete of callback */
typedef axis2_status_t AXIS2_CALL
- axis2_on_complete_func_ptr(axis2_callback_t *,
- const axutil_env_t *);
+ axis2_on_complete_func_ptr(
+ axis2_callback_t *,
+ const axutil_env_t *);
+
/** Type name for function pointer to be called on error of callback */
typedef axis2_status_t AXIS2_CALL
- axis2_on_error_func_ptr(axis2_callback_t *,
- const axutil_env_t *, int);
+ axis2_on_error_func_ptr(
+ axis2_callback_t *,
+ const axutil_env_t *,
+ int);
/**
* This function is called once the asynchronous operation is successfully
@@ -63,9 +69,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_callback_invoke_on_complete(axis2_callback_t *callback,
- const axutil_env_t *env,
- axis2_async_result_t *result);
+ axis2_callback_invoke_on_complete(
+ axis2_callback_t * callback,
+ const axutil_env_t * env,
+ axis2_async_result_t * result);
/**
* This function is called once the asynchronous operation fails and
@@ -76,8 +83,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_callback_report_error(axis2_callback_t *callback,
- const axutil_env_t *env,
+ axis2_callback_report_error(
+ axis2_callback_t * callback,
+ const axutil_env_t * env,
const int exception);
/**
@@ -86,7 +94,8 @@
* e.g.
* <code>
* <pre>
- * while(!AXIS2_CALLBACK_GET_COMPLETE(callback, env)
+ * while(!AXIS2_CALL
+ BACK_GET_COMPLETE(callback, env)
* {
* sleep(10);
* }
@@ -98,8 +107,9 @@
* @return AXIS2_TRUE if callback is complete, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_callback_get_complete(const axis2_callback_t *callback,
- const axutil_env_t *env);
+ axis2_callback_get_complete(
+ const axis2_callback_t * callback,
+ const axutil_env_t * env);
/**
* Sets the complete status.
@@ -109,8 +119,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_callback_set_complete(axis2_callback_t *callback,
- const axutil_env_t *env,
+ axis2_callback_set_complete(
+ axis2_callback_t * callback,
+ const axutil_env_t * env,
const axis2_bool_t complete);
/**
@@ -120,8 +131,10 @@
* @return result SOAP envelope if present, else NULL
*/
AXIS2_EXTERN axiom_soap_envelope_t *AXIS2_CALL
- axis2_callback_get_envelope(const axis2_callback_t *callback,
- const axutil_env_t *env);
+
+ axis2_callback_get_envelope(
+ const axis2_callback_t * callback,
+ const axutil_env_t * env);
/**
* Sets the SOAP envelope.
@@ -131,9 +144,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_callback_set_envelope(axis2_callback_t *callback,
- const axutil_env_t *env,
- axiom_soap_envelope_t *envelope);
+ axis2_callback_set_envelope(
+ axis2_callback_t * callback,
+ const axutil_env_t * env,
+ axiom_soap_envelope_t * envelope);
/**
* Gets error code representing the error.
@@ -142,8 +156,9 @@
* @return error code representing the error
*/
AXIS2_EXTERN int AXIS2_CALL
- axis2_callback_get_error(const axis2_callback_t *callback,
- const axutil_env_t *env);
+ axis2_callback_get_error(
+ const axis2_callback_t * callback,
+ const axutil_env_t * env);
/**
* Sets the error code.
@@ -153,8 +168,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_callback_set_error(axis2_callback_t *callback,
- const axutil_env_t *env,
+ axis2_callback_set_error(
+ axis2_callback_t * callback,
+ const axutil_env_t * env,
const int error);
/**
@@ -164,7 +180,8 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_callback_set_data(axis2_callback_t *callback,
+ axis2_callback_set_data(
+ axis2_callback_t * callback,
void *data);
/**
@@ -173,7 +190,8 @@
* @return pointer to callback data
*/
AXIS2_EXTERN void *AXIS2_CALL
- axis2_callback_get_data(const axis2_callback_t *callback);
+ axis2_callback_get_data(
+ const axis2_callback_t * callback);
/**
* Sets the on complete callback function.
@@ -181,7 +199,8 @@
* @param f on complete callback function pointer
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_callback_set_on_complete(axis2_callback_t *callback,
+ axis2_callback_set_on_complete(
+ axis2_callback_t * callback,
axis2_on_complete_func_ptr f);
/**
@@ -190,7 +209,8 @@
* @param f on error callback function pointer
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_callback_set_on_error(axis2_callback_t *callback,
+ axis2_callback_set_on_error(
+ axis2_callback_t * callback,
axis2_on_error_func_ptr f);
/**
@@ -200,21 +220,22 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_callback_free(axis2_callback_t *callback,
- const axutil_env_t *env);
+ axis2_callback_free(
+ axis2_callback_t * callback,
+ const axutil_env_t * env);
/**
* Creates a callback struct.
* @param env pointer to environment struct
* @return pointer to newly created callback struct
*/
- AXIS2_EXTERN axis2_callback_t *AXIS2_CALL
- axis2_callback_create(const axutil_env_t *env);
-
+ AXIS2_EXTERN axis2_callback_t *AXIS2_CALL
+ axis2_callback_create(
+ const axutil_env_t * env);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_CALLBACK_H */
+#endif /* AXIS2_CALL_BACK_H */
Modified: webservices/axis2/trunk/c/include/axis2_callback_recv.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_callback_recv.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_callback_recv.h (original)
+++ webservices/axis2/trunk/c/include/axis2_callback_recv.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -42,7 +43,6 @@
/** Type name for struct axis2_callback_recv */
typedef struct axis2_callback_recv axis2_callback_recv_t;
-
/**
* Gets the base struct which is of type message receiver.
* @param callback_recv pointer to callback receiver struct
@@ -50,8 +50,9 @@
* @return pointer to base message receiver struct
*/
AXIS2_EXTERN axis2_msg_recv_t *AXIS2_CALL
- axis2_callback_recv_get_base(axis2_callback_recv_t *callback_recv,
- const axutil_env_t *env);
+ axis2_callback_recv_get_base(
+ axis2_callback_recv_t * callback_recv,
+ const axutil_env_t * env);
/**
* Frees the callback receiver struct.
@@ -60,8 +61,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_callback_recv_free(axis2_callback_recv_t *callback_recv,
- const axutil_env_t *env);
+ axis2_callback_recv_free(
+ axis2_callback_recv_t * callback_recv,
+ const axutil_env_t * env);
/**
* Adds a callback corresponding to given WSA message ID to message
@@ -75,10 +77,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_callback_recv_add_callback(struct axis2_callback_recv *callback_recv,
- const axutil_env_t *env,
- const axis2_char_t *msg_id,
- axis2_callback_t *callback);
+ axis2_callback_recv_add_callback(
+ struct axis2_callback_recv *callback_recv,
+ const axutil_env_t * env,
+ const axis2_char_t * msg_id,
+ axis2_callback_t * callback);
/**
* Creates a callback receiver struct.
@@ -87,20 +90,21 @@
* or NULL on error with error code set in environment's error
*/
AXIS2_EXTERN axis2_callback_recv_t *AXIS2_CALL
- axis2_callback_recv_create(const axutil_env_t *env);
-/** Gets the base message receiver. */
+ axis2_callback_recv_create(
+ const axutil_env_t * env);
+
+ /** Gets the base message receiver. */
#define AXIS2_CALLBACK_RECV_GET_BASE(callback_recv, env) \
- axis2_callback_recv_get_base(callback_recv, env)
+ axis2_callback_recv_get_base(callback_recv, env)
-/** Frees callback message receiver. */
+ /** Frees callback message receiver. */
#define AXIS2_CALLBACK_RECV_FREE(callback_recv, env) \
- axis2_callback_recv_free(callback_recv, env)
+ axis2_callback_recv_free(callback_recv, env)
-/** Adds callback to callback message receiver. */
+ /** Adds callback to callback message receiver. */
#define AXIS2_CALLBACK_RECV_ADD_CALLBACK(callback_recv, env, msg_id, callback)\
- axis2_callback_recv_add_callback(callback_recv, env, msg_id, callback)
-
+ axis2_callback_recv_add_callback(callback_recv, env, msg_id, callback)
/** @} */
#ifdef __cplusplus
Modified: webservices/axis2/trunk/c/include/axis2_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_client.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_client.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,10 +19,9 @@
#ifndef AXIS2_CLIENT_H
#define AXIS2_CLIENT_H
-
/**
* @file axis2_clinet.h
- * @brief
+ * @brief
*/
#include <axis2_async_result.h>
@@ -36,7 +36,7 @@
{
#endif
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/include/axis2_conf.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_conf.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_conf.h (original)
+++ webservices/axis2/trunk/c/include/axis2_conf.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -25,13 +26,13 @@
* @}
*/
-/**
+/**
* @defgroup axis2_config configuration
* @ingroup axis2_engine
* Axis2 configuration captures all configuration information. Configuration
- * information includes user preferences along with module and
+ * information includes user preferences along with module and
* service information that is either statically configured using axis2.xml
- * file, service.xml files and module.xml files or dynamically using the
+ * file, service.xml files and module.xml files or dynamically using the
* functions defined in the ops struct related to this conf struct.
* @{
*/
@@ -72,8 +73,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_conf_free(axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_free(
+ axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Adds a service group to the configuration.
@@ -84,11 +86,12 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_add_svc_grp(axis2_conf_t *conf,
- const axutil_env_t *env,
+ axis2_conf_add_svc_grp(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
struct axis2_svc_grp *svc_grp);
- /**
+ /**
* Gets a named service group.
* @param conf pointer to conf struct
* @param env pointer to environment struct
@@ -97,11 +100,12 @@
* else NULL. Returns a reference, not a cloned copy
*/
AXIS2_EXTERN struct axis2_svc_grp *AXIS2_CALL
- axis2_conf_get_svc_grp(const axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *svc_grp_name);
+ axis2_conf_get_svc_grp(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * svc_grp_name);
- /**
+ /**
* Gets all service group added to conf.
* @param conf pointer to conf struct
* @param env pointer to environment struct
@@ -109,8 +113,9 @@
* a reference, not a cloned copy
*/
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
- axis2_conf_get_all_svc_grps(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_all_svc_grps(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Adds a service to configuration.
@@ -121,9 +126,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_add_svc(axis2_conf_t *conf,
- const axutil_env_t *env,
- struct axis2_svc* svc);
+ axis2_conf_add_svc(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ struct axis2_svc *svc);
/**
* Gets a service with given name.
@@ -134,9 +140,10 @@
* Returns a reference, not a cloned copy
*/
AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
- axis2_conf_get_svc(const axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t* svc_name);
+ axis2_conf_get_svc(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * svc_name);
/**
* Removes the named service from configuration.
@@ -146,9 +153,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_remove_svc(axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *name);
+ axis2_conf_remove_svc(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * name);
/**
* Adds a parameter to configuration.
@@ -158,9 +166,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_add_param(axis2_conf_t *conf,
- const axutil_env_t *env,
- axutil_param_t *param);
+ axis2_conf_add_param(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axutil_param_t * param);
/**
* Gets a parameter with the given name.
@@ -171,9 +180,10 @@
* Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axutil_param_t *AXIS2_CALL
- axis2_conf_get_param(const axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *name);
+ axis2_conf_get_param(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * name);
/**
* Gets all the parameters added to the configuration.
@@ -183,8 +193,9 @@
* else NULL. Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_conf_get_all_params(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_all_params(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Checks if the named parameter is locked.
@@ -194,9 +205,10 @@
* @return AXIS2_TRUE if parameter is locked, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_conf_is_param_locked(const axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *param_name);
+ axis2_conf_is_param_locked(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * param_name);
/**
* Gets in transport corresponding to the given transport QName.
@@ -207,8 +219,10 @@
* else NULL. Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axis2_transport_in_desc_t *AXIS2_CALL
- axis2_conf_get_transport_in(const axis2_conf_t *conf,
- const axutil_env_t *env,
+
+ axis2_conf_get_transport_in(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
const AXIS2_TRANSPORT_ENUMS trans_enum);
/**
@@ -220,9 +234,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_add_transport_in(axis2_conf_t *conf,
- const axutil_env_t *env,
- axis2_transport_in_desc_t *transport,
+ axis2_conf_add_transport_in(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axis2_transport_in_desc_t * transport,
const AXIS2_TRANSPORT_ENUMS trans_enum);
/**
@@ -234,22 +249,25 @@
* else NULL. Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axis2_transport_out_desc_t *AXIS2_CALL
- axis2_conf_get_transport_out(const axis2_conf_t *conf,
- const axutil_env_t *env,
+
+ axis2_conf_get_transport_out(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
const AXIS2_TRANSPORT_ENUMS trans_enum);
- /**
- * Adds a transport out description.
- * @param conf pointer to conf struct
- * @param env pointer to environment struct
- * @param transport pointer to transport out description. conf assumes
- * ownership of the struct
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
- AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_add_transport_out(axis2_conf_t *conf,
- const axutil_env_t *env,
- axis2_transport_out_desc_t *transport,
+ /**
+ * Adds a transport out description.
+ * @param conf pointer to conf struct
+ * @param env pointer to environment struct
+ * @param transport pointer to transport out description. conf assumes
+ * ownership of the struct
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axis2_conf_add_transport_out(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axis2_transport_out_desc_t * transport,
const AXIS2_TRANSPORT_ENUMS trans_enum);
/**
@@ -260,8 +278,10 @@
* Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axis2_transport_in_desc_t **AXIS2_CALL
- axis2_conf_get_all_in_transports(const axis2_conf_t *conf,
- const axutil_env_t *env);
+
+ axis2_conf_get_all_in_transports(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Gets all out transports.
@@ -271,31 +291,36 @@
* Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axis2_transport_out_desc_t **AXIS2_CALL
- axis2_conf_get_all_out_transports(const axis2_conf_t *conf,
- const axutil_env_t *env);
- /**
- * Gets a module with given QName.
- * @param conf pointer to conf struct
- * @param env pointer to environment struct
- * @param qname pointer to qname
- * @return module description corresponding to the given qname
- */
+ axis2_conf_get_all_out_transports(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
+
+ /**
+ * Gets a module with given QName.
+ * @param conf pointer to conf struct
+ * @param env pointer to environment struct
+ * @param qname pointer to qname
+ * @return module description corresponding to the given qname
+ */
AXIS2_EXTERN struct axis2_module_desc *AXIS2_CALL
- axis2_conf_get_module(const axis2_conf_t *conf,
- const axutil_env_t *env,
- const axutil_qname_t *qname);
-
- /**
- * Gets the list of engaged modules.
- * @param conf pointer to conf struct
- * @param env pointer to environment struct
- * @return a pointer to the array list of engaged modules. Returns a
- * reference, not a cloned copy
- */
+ axis2_conf_get_module(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axutil_qname_t * qname);
+
+ /**
+ * Gets the list of engaged modules.
+ * @param conf pointer to conf struct
+ * @param env pointer to environment struct
+ * @return a pointer to the array list of engaged modules. Returns a
+ * reference, not a cloned copy
+ */
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_conf_get_all_engaged_modules(const axis2_conf_t *conf,
- const axutil_env_t *env);
+
+ axis2_conf_get_all_engaged_modules(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Gets the in phases up to and including port dispatch phase.
@@ -305,8 +330,10 @@
* inclusive. Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_conf_get_in_phases_upto_and_including_post_dispatch(const axis2_conf_t *conf,
- const axutil_env_t *env);
+
+ axis2_conf_get_in_phases_upto_and_including_post_dispatch(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Gets the out flow. Out flow is a list of phases invoked in the out
@@ -317,33 +344,37 @@
* reference, not a cloned copy
*/
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_conf_get_out_flow(const axis2_conf_t *conf,
- const axutil_env_t *env);
-
+ axis2_conf_get_out_flow(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
- /**
- * Gets the in fault flow. In fault flow is a list of phases invoked in
- * the in path of execution, if some fault happens.
- * @param conf pointer to conf struct
- * @param env pointer to environment struct
- * @return a pointer to the array list of in fault flow phases. Returns a
- * reference, not a cloned copy
- */
+ /**
+ * Gets the in fault flow. In fault flow is a list of phases invoked in
+ * the in path of execution, if some fault happens.
+ * @param conf pointer to conf struct
+ * @param env pointer to environment struct
+ * @return a pointer to the array list of in fault flow phases. Returns a
+ * reference, not a cloned copy
+ */
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_conf_get_in_fault_flow(const axis2_conf_t *conf,
- const axutil_env_t *env);
- /**
- * Gets the out fault flow. Out fault flow is a list of phases invoked in
- * the out path of execution, if some fault happens.
- * @param conf pointer to conf struct
- * @param env pointer to environment struct
- * @return a pointer to the array list of out fault flow phases. Returns a
- * reference, not a cloned copy
- */
+ axis2_conf_get_in_fault_flow(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
+
+ /**
+ * Gets the out fault flow. Out fault flow is a list of phases invoked in
+ * the out path of execution, if some fault happens.
+ * @param conf pointer to conf struct
+ * @param env pointer to environment struct
+ * @return a pointer to the array list of out fault flow phases. Returns a
+ * reference, not a cloned copy
+ */
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_conf_get_out_fault_flow(const axis2_conf_t *conf,
- const axutil_env_t *env);
+
+ axis2_conf_get_out_fault_flow(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Gets faulty services. A faulty service is a service that does not
@@ -355,8 +386,9 @@
* reference, not a cloned copy
*/
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
- axis2_conf_get_all_faulty_svcs(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_all_faulty_svcs(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Gets faulty modules. A faulty module is a module that does not
@@ -368,10 +400,11 @@
* reference, not a cloned copy
*/
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
- axis2_conf_get_all_faulty_modules(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_all_faulty_modules(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
- /**
+ /**
* Gets all the list of services loaded into configuration.
* @param conf pointer to conf struct
* @param env pointer to environment struct
@@ -379,10 +412,11 @@
* reference, not a cloned copy
*/
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
- axis2_conf_get_all_svcs(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_all_svcs(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
- /**
+ /**
* Gets all the list of services that need to be loaded into configuration
* at the start up of the axis2 engine.
* @param conf pointer to conf struct
@@ -392,8 +426,8 @@
*/
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
axis2_conf_get_all_svcs_to_load(
- const axis2_conf_t *conf,
- const axutil_env_t *env);
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Checks is the named module is engaged.
@@ -403,9 +437,10 @@
* @return AXIS2_TRUE if named module is engaged, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_conf_is_engaged(axis2_conf_t *conf,
- const axutil_env_t *env,
- const axutil_qname_t *module_name);
+ axis2_conf_is_engaged(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axutil_qname_t * module_name);
/**
* Gets phases information struct.
@@ -415,8 +450,10 @@
* Returns a reference, not a cloned copy
*/
AXIS2_EXTERN struct axis2_phases_info *AXIS2_CALL
- axis2_conf_get_phases_info(const axis2_conf_t *conf,
- const axutil_env_t *env);
+
+ axis2_conf_get_phases_info(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Sets phases information struct.
@@ -427,8 +464,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_phases_info(axis2_conf_t *conf,
- const axutil_env_t *env,
+ axis2_conf_set_phases_info(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
struct axis2_phases_info *phases_info);
/**
@@ -440,9 +478,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_add_msg_recv(axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *key,
+ axis2_conf_add_msg_recv(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * key,
struct axis2_msg_recv *msg_recv);
/**
@@ -455,9 +494,10 @@
* exists, else null. Returns a reference, not a cloned copy
*/
AXIS2_EXTERN struct axis2_msg_recv *AXIS2_CALL
- axis2_conf_get_msg_recv(const axis2_conf_t *conf,
- const axutil_env_t *env,
- axis2_char_t *key);
+ axis2_conf_get_msg_recv(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axis2_char_t * key);
/**
* Sets the list of out phases.
@@ -468,9 +508,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_out_phases(axis2_conf_t *conf,
- const axutil_env_t *env,
- axutil_array_list_t *out_phases);
+ axis2_conf_set_out_phases(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axutil_array_list_t * out_phases);
/**
* Gets the list of out phases.
@@ -480,8 +521,9 @@
* not a cloned copy
*/
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_conf_get_out_phases(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_out_phases(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Sets fault phases for in path.
@@ -491,9 +533,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_in_fault_phases(axis2_conf_t *conf,
- const axutil_env_t *env,
- axutil_array_list_t *list);
+ axis2_conf_set_in_fault_phases(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axutil_array_list_t * list);
/**
* Sets fault phases for out path.
@@ -503,9 +546,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_out_fault_phases(axis2_conf_t *conf,
- const axutil_env_t *env,
- axutil_array_list_t *list);
+ axis2_conf_set_out_fault_phases(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axutil_array_list_t * list);
/**
* Gets all modules configured,
@@ -515,8 +559,9 @@
* Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
- axis2_conf_get_all_modules(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_all_modules(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Adds a module.
@@ -526,8 +571,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_add_module(axis2_conf_t *conf,
- const axutil_env_t *env,
+ axis2_conf_add_module(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
struct axis2_module_desc *module);
/**
@@ -537,8 +583,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_default_dispatchers(axis2_conf_t *conf,
- const axutil_env_t *env);
+
+ axis2_conf_set_default_dispatchers(
+ axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Sets a custom dispatching phase.
@@ -548,9 +596,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_dispatch_phase(axis2_conf_t *conf,
- const axutil_env_t *env,
- axis2_phase_t *dispatch);
+ axis2_conf_set_dispatch_phase(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axis2_phase_t * dispatch);
/**
* Gets the repository location.
@@ -559,8 +608,9 @@
* @return returns repository location as a string
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_conf_get_repo(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_repo(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
/**
* Sets the repository location.
@@ -570,9 +620,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_repo(axis2_conf_t *conf,
- const axutil_env_t *env,
- axis2_char_t *axis2_repo);
+ axis2_conf_set_repo(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ axis2_char_t * axis2_repo);
/**
* Engages the named module.
@@ -582,9 +633,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_engage_module(axis2_conf_t *conf,
- const axutil_env_t *env,
- const axutil_qname_t *module_ref);
+ axis2_conf_engage_module(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axutil_qname_t * module_ref);
/**
* Sets the deployment engine.
@@ -594,8 +646,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_dep_engine(axis2_conf_t *conf,
- const axutil_env_t *env,
+ axis2_conf_set_dep_engine(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
struct axis2_dep_engine *dep_engine);
/**
@@ -606,9 +659,11 @@
* @return default module version as a string
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_conf_get_default_module_version(const axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *module_name);
+
+ axis2_conf_get_default_module_version(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * module_name);
/**
* Gets the default module reference for the named module.
@@ -619,9 +674,11 @@
* the given name
*/
AXIS2_EXTERN struct axis2_module_desc *AXIS2_CALL
- axis2_conf_get_default_module(const axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *module_name);
+
+ axis2_conf_get_default_module(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * module_name);
/**
* Adds a default module version for the named module.
@@ -632,10 +689,12 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_add_default_module_version(axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *module_name,
- const axis2_char_t *module_version);
+
+ axis2_conf_add_default_module_version(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * module_name,
+ const axis2_char_t * module_version);
/**
* Engages the module with the given version.
@@ -646,66 +705,75 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_engage_module_with_version(axis2_conf_t *conf,
- const axutil_env_t *env,
- const axis2_char_t *module_name,
- const axis2_char_t *version_id);
- /**
+ axis2_conf_engage_module_with_version(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ const axis2_char_t * module_name,
+ const axis2_char_t * version_id);
+
+ /**
* Creates configuration struct.
* @param env pointer to environment struct
* @return pointer to newly created configuration
*/
AXIS2_EXTERN axis2_conf_t *AXIS2_CALL
- axis2_conf_create(const axutil_env_t *env);
+ axis2_conf_create(
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_conf_get_enable_mtom(axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_enable_mtom(
+ axis2_conf_t * conf,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_enable_mtom(axis2_conf_t *conf,
- const axutil_env_t *env,
+ axis2_conf_set_enable_mtom(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
axis2_bool_t enable_mtom);
-/*The following two methods are used in Rampart to
- *check whether security is engaed. */
+ /*The following two methods are used in Rampart to
+ *check whether security is engaed. */
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_conf_get_enable_security(axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_enable_security(
+ axis2_conf_t * conf,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_set_enable_security(axis2_conf_t *conf,
- const axutil_env_t *env,
+ axis2_conf_set_enable_security(
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
axis2_bool_t enable_security);
- AXIS2_EXTERN void* AXIS2_CALL
+ AXIS2_EXTERN void *AXIS2_CALL
axis2_conf_get_security_context(
- axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_t * conf,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_conf_set_security_context(
- axis2_conf_t *conf,
- const axutil_env_t *env,
- void* security_context);
-
+ axis2_conf_t * conf,
+ const axutil_env_t * env,
+ void *security_context);
AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
- axis2_conf_get_param_container(const axis2_conf_t *conf,
- const axutil_env_t *env);
- /**
+ axis2_conf_get_param_container(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
+
+ /**
* Gets base description.
* @param conf pointer to message
* @param env pointer to environment struct
* @return pointer to base description struct
*/
AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
- axis2_conf_get_base(const axis2_conf_t *conf,
- const axutil_env_t *env);
+ axis2_conf_get_base(
+ const axis2_conf_t * conf,
+ const axutil_env_t * env);
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_CONFIG_H */
+#endif /* AXIS2_CONFIG_H */
Modified: webservices/axis2/trunk/c/include/axis2_conf_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_conf_ctx.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_conf_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_conf_ctx.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,14 +19,14 @@
#ifndef AXIS2_CONF_CTX_H
#define AXIS2_CONF_CTX_H
-/**
+/**
* @defgroup axis2_conf_ctx configuration context
* @ingroup axis2_context
- * configuration context is the holder for all the state information
+ * configuration context is the holder for all the state information
* related to configuration. It holds all the service group context, service
- * context and operation context that exists within an engine instance.
+ * context and operation context that exists within an engine instance.
* An engine instance has only one configuration context associated with it
- * (Singleton pattern).
+ * (Singleton pattern).
* @{
*/
@@ -44,7 +45,6 @@
{
#endif
-
/** Type name for struct axis2_conf_ctx */
typedef struct axis2_conf_ctx axis2_conf_ctx_t;
struct axis2_conf;
@@ -57,7 +57,8 @@
* @return pointer to newly created configuration context
*/
AXIS2_EXTERN axis2_conf_ctx_t *AXIS2_CALL
- axis2_conf_ctx_create(const axutil_env_t *env,
+ axis2_conf_ctx_create(
+ const axutil_env_t * env,
struct axis2_conf *conf);
/**
@@ -67,10 +68,12 @@
* @param conf pointer to configuration
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_ctx_set_conf(axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axis2_conf_ctx_set_conf(
+ axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
struct axis2_conf *conf);
+
/**
* Gets the base struct, which is of type context
* @param conf_ctx pointer to configuration context
@@ -78,9 +81,10 @@
* @return pointer to context struct, returns a reference not a cloned
* copy
*/
- AXIS2_EXTERN axis2_ctx_t * AXIS2_CALL
- axis2_conf_ctx_get_base(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
+ axis2_conf_ctx_get_base(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env);
/**
* Gets the configuration of the engine.
@@ -89,9 +93,10 @@
* @return pointer to configuration struct, returns a reference not a
* cloned copy
*/
- AXIS2_EXTERN axis2_conf_t * AXIS2_CALL
- axis2_conf_ctx_get_conf(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN axis2_conf_t *AXIS2_CALL
+ axis2_conf_ctx_get_conf(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env);
/**
* Gets the hash map of operation context instances.
@@ -99,9 +104,10 @@
* @param env pointer to environment struct
* @return pointer to hash map containing all operation contexts
*/
- AXIS2_EXTERN axutil_hash_t * AXIS2_CALL
- axis2_conf_ctx_get_op_ctx_map(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+ axis2_conf_ctx_get_op_ctx_map(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env);
/**
* Gets the hash map of service context instances.
@@ -109,9 +115,10 @@
* @param env pointer to environment struct
* @return pointer to hash map containing all service contexts
*/
- AXIS2_EXTERN axutil_hash_t * AXIS2_CALL
- axis2_conf_ctx_get_svc_ctx_map(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+ axis2_conf_ctx_get_svc_ctx_map(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env);
/**
* Gets the hash map of service group context instances.
@@ -119,9 +126,11 @@
* @param env pointer to environment struct
* @return pointer to hash map containing all service group contexts
*/
- AXIS2_EXTERN axutil_hash_t * AXIS2_CALL
- axis2_conf_ctx_get_svc_grp_ctx_map(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+
+ axis2_conf_ctx_get_svc_grp_ctx_map(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env);
/**
* Registers an operation context with the given message ID.
@@ -132,11 +141,12 @@
* ownership of the operation context
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_ctx_register_op_ctx(axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- const axis2_char_t *message_id,
- axis2_op_ctx_t *op_ctx);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axis2_conf_ctx_register_op_ctx(
+ axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * message_id,
+ axis2_op_ctx_t * op_ctx);
/**
* Gets operation context corresponding to the given message ID.
@@ -145,10 +155,11 @@
* @param message_id message ID related to the operation to be retrieved
* @return pointer to operation context related to the given message ID
*/
- AXIS2_EXTERN axis2_op_ctx_t * AXIS2_CALL
- axis2_conf_ctx_get_op_ctx(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- const axis2_char_t *message_id);
+ AXIS2_EXTERN axis2_op_ctx_t *AXIS2_CALL
+ axis2_conf_ctx_get_op_ctx(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * message_id);
/**
* Registers a service context with the given service ID.
@@ -158,11 +169,12 @@
* @param svc_ctx pointer to service context
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_ctx_register_svc_ctx(axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- const axis2_char_t *svc_id,
- axis2_svc_ctx_t *svc_ctx);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axis2_conf_ctx_register_svc_ctx(
+ axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * svc_id,
+ axis2_svc_ctx_t * svc_ctx);
/**
* Gets service context with the given service ID
@@ -171,10 +183,11 @@
* @param svc_id service ID
* @return pointer to service context with the given service ID
*/
- AXIS2_EXTERN struct axis2_svc_ctx * AXIS2_CALL
- axis2_conf_ctx_get_svc_ctx(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- const axis2_char_t *svc_id);
+ AXIS2_EXTERN struct axis2_svc_ctx *AXIS2_CALL
+ axis2_conf_ctx_get_svc_ctx(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * svc_id);
/**
* Registers a service group context with the given service group ID.
@@ -184,11 +197,13 @@
* @param svc_grp_ctx pointer to service group context
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_ctx_register_svc_grp_ctx(axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- const axis2_char_t *svc_grp_id,
- axis2_svc_grp_ctx_t *svc_grp_ctx);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axis2_conf_ctx_register_svc_grp_ctx(
+ axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * svc_grp_id,
+ axis2_svc_grp_ctx_t * svc_grp_ctx);
/**
* Gets service group with the given service group ID.
@@ -197,10 +212,12 @@
* @param svc_grp_id service group id
* @return pointer to service group context with the given ID
*/
- AXIS2_EXTERN axis2_svc_grp_ctx_t * AXIS2_CALL
- axis2_conf_ctx_get_svc_grp_ctx(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- const axis2_char_t *svc_grp_id);
+ AXIS2_EXTERN axis2_svc_grp_ctx_t *AXIS2_CALL
+
+ axis2_conf_ctx_get_svc_grp_ctx(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * svc_grp_id);
/**
* Gets the root working directory. It is in this directory that the
@@ -210,9 +227,10 @@
* @param env pointer to environment struct
* @return pointer to string containing the root folder name
*/
- AXIS2_EXTERN const axis2_char_t * AXIS2_CALL
- axis2_conf_ctx_get_root_dir(const axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
+ axis2_conf_ctx_get_root_dir(
+ const axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env);
/**
* Sets the root working directory. It is in this directory that the
@@ -223,10 +241,11 @@
* @param path string containing the path of root directory
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_ctx_set_root_dir(axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- const axis2_char_t *path);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axis2_conf_ctx_set_root_dir(
+ axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * path);
/**
* Initializes the configuration context. Within this function, it would
@@ -237,10 +256,11 @@
* @param conf pointer to configuration struct
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_conf_ctx_init(axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- axis2_conf_t *conf);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axis2_conf_ctx_init(
+ axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ axis2_conf_t * conf);
/**
* Frees configuration context struct.
@@ -248,15 +268,16 @@
* @param env pointer to environment struct
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- AXIS2_EXTERN void AXIS2_CALL
- axis2_conf_ctx_free(axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN void AXIS2_CALL
+ axis2_conf_ctx_free(
+ axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env);
/**
* This method fills the context hierarchy (service group, service and
* operation contexts that is) for the service and operation found in
* the given message context. If the context hierarchy is not already
- * built it will create the contexts and build the context hierarchy.
+ * built it will create the contexts and build the context hierarchy.
* @param conf_ctx pointer to configuration context
* @param env pointer to environment struct
* @param msg_ctx pointer to message context with service and operation
@@ -264,10 +285,11 @@
* @return pointer to the service group context, which is the root of
* the context hierarchy for given service and operation
*/
- AXIS2_EXTERN axis2_svc_grp_ctx_t * AXIS2_CALL
- axis2_conf_ctx_fill_ctxs(axis2_conf_ctx_t *conf_ctx,
- const axutil_env_t *env,
- axis2_msg_ctx_t *msg_ctx);
+ AXIS2_EXTERN axis2_svc_grp_ctx_t *AXIS2_CALL
+ axis2_conf_ctx_fill_ctxs(
+ axis2_conf_ctx_t * conf_ctx,
+ const axutil_env_t * env,
+ axis2_msg_ctx_t * msg_ctx);
#ifdef __cplusplus
}
Modified: webservices/axis2/trunk/c/include/axis2_conf_init.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_conf_init.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_conf_init.h (original)
+++ webservices/axis2/trunk/c/include/axis2_conf_init.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -38,9 +39,10 @@
* @param repo_name repository name
* @return pointer to an instance of configuration context properly initialized
*/
- AXIS2_EXTERN axis2_conf_ctx_t *AXIS2_CALL
- axis2_build_conf_ctx(const axutil_env_t *env,
- const axis2_char_t *repo_name);
+ AXIS2_EXTERN axis2_conf_ctx_t *AXIS2_CALL
+ axis2_build_conf_ctx(
+ const axutil_env_t * env,
+ const axis2_char_t * repo_name);
/**
* Builds the Configuration for the Client
@@ -48,14 +50,14 @@
* @param axis2_home axis2 home for client.
* @return pointer to an instance of configuration context properly initialized
*/
- AXIS2_EXTERN axis2_conf_ctx_t *AXIS2_CALL
- axis2_build_client_conf_ctx(const axutil_env_t *env,
- const axis2_char_t *axis2_home);
-
+ AXIS2_EXTERN axis2_conf_ctx_t *AXIS2_CALL
+ axis2_build_client_conf_ctx(
+ const axutil_env_t * env,
+ const axis2_char_t * axis2_home);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_CONF_INIT_H */
+#endif /* AXIS2_CONF_INIT_H */
Modified: webservices/axis2/trunk/c/include/axis2_const.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_const.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_const.h (original)
+++ webservices/axis2/trunk/c/include/axis2_const.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -31,113 +32,113 @@
{
#endif
-
-/** @defgroup axis2 Axis2/C project
- * @{
- * @}
- */
-
-/** \mainpage Axis2/C API Documentation
- *
- * \section intro_sec Introduction
- *
- * This is the API documetation of Axis2/C, a SOAP engine written in C.
- * This implementation is based on the popular Axis2 architecture.
- * <p>We welcome your feedback on this implementation and documentation.
- * Please send your feedback to <a href="mailto:axis-c-user@ws.apache.org">
- * axis-c-user@ws.apache.org</a> and please remember to prefix the subject
- * of the mail with [Axis2].
- *
- */
-
-/******************************************************************************/
-/********************Axis2 specific constants**********************************/
-/******************************************************************************/
-
-
-/**
- * Field SOAP_STYLE_RPC_ENCODED
- */
+ /** @defgroup axis2 Axis2/C project
+ * @{
+ * @}
+ */
+
+ /** \mainpage Axis2/C API Documentation
+ *
+ * \section intro_sec Introduction
+ *
+ * This is the API documetation of Axis2/C, a SOAP engine written in C.
+ * This implementation is based on the popular Axis2 architecture.
+ * <p>We welcome your feedback on this implementation and documentation.
+ * Please send your feedback to <a href="mailto:axis-c-user@ws.apache.org">
+ * axis-c-user@ws.apache.org</a> and please remember to prefix the subject
+ * of the mail with [Axis2].
+ *
+ */
+
+ /******************************************************************************/
+
+ /********************Axis2 specific constants**********************************/
+
+ /******************************************************************************/
+
+ /**
+ * Field SOAP_STYLE_RPC_ENCODED
+ */
#define AXIOM_SOAP_STYLE_RPC_ENCODED 1000
-/**
- * Field SOAP_STYLE_RPC_LITERAL
- */
-/*#define AXIOM_SOAP_STYLE_RPC_LITERAL 1001 */
-
-/**
- * Field SOAP_STYLE_DOC_LITERAL_WRAPPED
- */
+ /**
+ * Field SOAP_STYLE_RPC_LITERAL
+ */
+
+ /*#define AXIOM_SOAP_STYLE_RPC_LITERAL 1001 */
+
+ /**
+ * Field SOAP_STYLE_DOC_LITERAL_WRAPPED
+ */
#define AXIOM_SOAP_STYLE_DOC_LITERAL_WRAPPED 1002
#define AXIS2_SCOPE "scope"
-/**
- * Field APPLICATION_SCOPE
- */
+ /**
+ * Field APPLICATION_SCOPE
+ */
#define AXIS2_APPLICATION_SCOPE "application"
-/**
- * Field SESSION_SCOPE
- */
+ /**
+ * Field SESSION_SCOPE
+ */
#define AXIS2_SESSION_SCOPE "session"
-/**
- * Field GLOBAL_SCOPE
- */
+ /**
+ * Field GLOBAL_SCOPE
+ */
#define AXIS2_MESSAGE_SCOPE "message"
-/**
- * Field PHASE_SERVICE
- */
+ /**
+ * Field PHASE_SERVICE
+ */
#define AXIS2_PHASE_SERVICE "service"
-/**
- * Field PHASE_TRANSPORT
- */
+ /**
+ * Field PHASE_TRANSPORT
+ */
#define AXIS2_PHASE_TRANSPORT "transport"
-/**
- * Field PHASE_GLOBAL
- */
+ /**
+ * Field PHASE_GLOBAL
+ */
#define AXIS2_PHASE_GLOBAL "global"
-/**
- * Field SESSION_CONTEXT_PROPERTY
- */
+ /**
+ * Field SESSION_CONTEXT_PROPERTY
+ */
#define AXIS2_SESSION_CONTEXT_PROPERTY "SessionContext"
-/**
- * TRANSPORT constants
- */
+ /**
+ * TRANSPORT constants
+ */
#define AXIS2_TRANSPORT_HTTP "http"
#define AXIS2_TRANSPORT_SMTP "smtp"
#define AXIS2_TRANSPORT_TCP "tcp"
#define AXIS2_TRANSPORT_XMPP "xmpp"
#define AXIS2_TRANSPORT_HTTPS "https"
-typedef enum
-{
- AXIS2_TRANSPORT_ENUM_HTTP = 0,
- AXIS2_TRANSPORT_ENUM_SMTP,
- AXIS2_TRANSPORT_ENUM_TCP,
- AXIS2_TRANSPORT_ENUM_XMPP,
- AXIS2_TRANSPORT_ENUM_HTTPS,
- AXIS2_TRANSPORT_ENUM_MAX
-} AXIS2_TRANSPORT_ENUMS;
+ typedef enum
+ {
+ AXIS2_TRANSPORT_ENUM_HTTP = 0,
+ AXIS2_TRANSPORT_ENUM_SMTP,
+ AXIS2_TRANSPORT_ENUM_TCP,
+ AXIS2_TRANSPORT_ENUM_XMPP,
+ AXIS2_TRANSPORT_ENUM_HTTPS,
+ AXIS2_TRANSPORT_ENUM_MAX
+ } AXIS2_TRANSPORT_ENUMS;
-/** Service URL prefix */
+ /** Service URL prefix */
#ifndef AXIS2_REQUEST_URL_PREFIX
-#define AXIS2_REQUEST_URL_PREFIX "/services"
+#define AXIS2_REQUEST_URL_PREFIX "/services"
#endif
#define AXIS2_LISTSERVICES "listServices"
#define AXIS2_LIST_SERVICE_FOR_MODULE_ENGAMNET "listop"
-
-/**
- * List service for adminpagse
- */
+ /**
+ * List service for adminpagse
+ */
#define AXIS2_ADMIN_LISTSERVICES "listService"
#define AXIS2_LIST_MODULES "listModules"
@@ -163,9 +164,9 @@
#define AXIS2_VIEW_SERVICE_HANDLERS "viewServiceHandlers"
#define AXIS2_LIST_SERVIC_GROUPS "listServciceGroups"
-/**
- * Field SERVICE_MAP
- */
+ /**
+ * Field SERVICE_MAP
+ */
#define AXIS2_SERVICE_MAP "servicemap"
#define AXIS2_SERVICE_GROUP_MAP "serviceGroupmap"
@@ -173,13 +174,14 @@
#define AXIS2_ACTION_MAPPING "actionMapping"
#define AXIS2_OUTPUT_ACTION_MAPPING "outputActionMapping"
#define AXI2_FAULT_ACTION_MAPPING "faultActionMapping"
-
+
#define AXIS2_SERVICE "service"
#define AXIS2_OPEARTION_MAP "opmap"
-/**
- * Field Available modules
- */
+
+ /**
+ * Field Available modules
+ */
#define AXIS2_MODULE_MAP "modulemap"
#define AXIS2_SELECT_SERVICE_TYPE "SELECT_SERVICE_TYPE"
@@ -195,9 +197,9 @@
#define AXIS2_ENGAGE_STATUS "engagestatus"
-/**
- * Errorness servcie
- */
+ /**
+ * Errorness servcie
+ */
#define AXIS2_ERROR_SERVICE_MAP "errprservicemap"
#define AXIS2_ERROR_MODULE_MAP "errormodulesmap"
@@ -208,9 +210,9 @@
#define AXIS2_USER_NAME "userName"
#define AXIS2_PASSWORD "password"
-/**
- * Field SINGLE_SERVICE
- */
+ /**
+ * Field SINGLE_SERVICE
+ */
#define AXIS2_SINGLE_SERVICE "singleservice"
#define AXIS2_WSDL_CONTENT "wsdl"
#define AXIS2_REQUEST_WSDL "?wsdl"
@@ -219,108 +221,108 @@
#define AXIS2_STYLE_DOC "doc"
#define AXIS2_STYLE_MSG "msg"
-typedef enum axis2_wsdl_msg_labels
-{
- AXIS2_WSDL_MESSAGE_LABEL_IN = 0,
- AXIS2_WSDL_MESSAGE_LABEL_OUT,
- AXIS2_WSDL_MESSAGE_LABEL_MAX
-}axis2_wsdl_msg_labels_t;
-
-/*********************Message Exchange Pattern Constants***********************/
-/**
- * Field MEP_URI_IN_ONLY
- */
+ typedef enum axis2_wsdl_msg_labels
+ {
+ AXIS2_WSDL_MESSAGE_LABEL_IN = 0,
+ AXIS2_WSDL_MESSAGE_LABEL_OUT,
+ AXIS2_WSDL_MESSAGE_LABEL_MAX
+ } axis2_wsdl_msg_labels_t;
+
+ /*********************Message Exchange Pattern Constants***********************/
+
+ /**
+ * Field MEP_URI_IN_ONLY
+ */
#define AXIS2_MEP_URI_IN_ONLY "http://www.w3.org/2004/08/wsdl/in-only"
#define AXIS2_MEP_CONSTANT_IN_ONLY 10
-/**
- * Field MEP_URI_ROBUST_IN_ONLY
- */
+ /**
+ * Field MEP_URI_ROBUST_IN_ONLY
+ */
#define AXIS2_MEP_URI_ROBUST_IN_ONLY "http://www.w3.org/2004/08/wsdl/robust-in-only"
#define AXIS2_MEP_CONSTANT_ROBUST_IN_ONLY 11
-/**
- * Field MEP_URI_IN_OUT
- */
+ /**
+ * Field MEP_URI_IN_OUT
+ */
#define AXIS2_MEP_URI_IN_OUT "http://www.w3.org/2004/08/wsdl/in-out"
#define AXIS2_MEP_CONSTANT_IN_OUT 12
-/**
- * Field MEP_URI_IN_OPTIONAL_OUT
- */
+ /**
+ * Field MEP_URI_IN_OPTIONAL_OUT
+ */
#define AXIS2_MEP_URI_IN_OPTIONAL_OUT "http://www.w3.org/2004/08/wsdl/in-opt-out"
#define AXIS2_MEP_CONSTANT_IN_OPTIONAL_OUT 13
-/**
- * Field MEP_URI_OUT_ONLY
- */
+ /**
+ * Field MEP_URI_OUT_ONLY
+ */
#define AXIS2_MEP_URI_OUT_ONLY "http://www.w3.org/2004/08/wsdl/out-only"
#define AXIS2_MEP_CONSTANT_OUT_ONLY 14
-/**
- * Field MEP_URI_ROBUST_OUT_ONLY
- */
+ /**
+ * Field MEP_URI_ROBUST_OUT_ONLY
+ */
#define AXIS2_MEP_URI_ROBUST_OUT_ONLY "http://www.w3.org/2004/08/wsdl/robust-out-only"
#define AXIS2_MEP_CONSTANT_ROBUST_OUT_ONLY 15
-/**
- * Field MEP_URI_OUT_IN
- */
+ /**
+ * Field MEP_URI_OUT_IN
+ */
#define AXIS2_MEP_URI_OUT_IN "http://www.w3.org/2004/08/wsdl/out-in"
#define AXIS2_MEP_CONSTANT_OUT_IN 16
-/**
- * Field MEP_URI_OUT_OPTIONL_IN
- */
+ /**
+ * Field MEP_URI_OUT_OPTIONL_IN
+ */
#define AXIS2_MEP_URI_OUT_OPTIONAL_IN "http://www.w3.org/2004/08/wsdl/out-opt-in"
#define AXIS2_MEP_CONSTANT_OUT_OPTIONAL_IN 17
#define AXIS2_MEP_CONSTANT_INVALID -1
-/**
- * Field WSDL_MESSAGE_DIRECTION_IN
- */
+ /**
+ * Field WSDL_MESSAGE_DIRECTION_IN
+ */
#define AXIS2_WSDL_MESSAGE_DIRECTION_IN "in"
-
-/**
- * Field WSDL_MESSAGE_DIRECTION_OUT
- */
+ /**
+ * Field WSDL_MESSAGE_DIRECTION_OUT
+ */
#define AXIS2_WSDL_MESSAGE_DIRECTION_OUT "out"
+ /**
+ * Field METHOD_NAME_ESCAPE_CHARACTOR
+ */
-/**
- * Field METHOD_NAME_ESCAPE_CHARACTOR
- */
-/* static const char METHOD_NAME_ESCAPE_CHARACTOR '?' */
+ /* static const char METHOD_NAME_ESCAPE_CHARACTOR '?' */
#define AXIS2_LOGGED "Logged"
+ /* static const char SERVICE_NAME_SPLIT_CHAR':' */
-/* static const char SERVICE_NAME_SPLIT_CHAR':' */
-
-
-/*********************Configuration *******************************************/
+ /*********************Configuration *******************************************/
#define AXIS2_ENABLE_REST "enableREST"
#define AXIS2_ENABLE_REST_THROUGH_GET "restThroughGet"
-/* globally enable MTOM */
+
+ /* globally enable MTOM */
#define AXIS2_ENABLE_MTOM "enableMTOM"
#define AXIS2_ATTACHMENT_TEMP_DIR "attachmentDIR"
#define AXIS2_CACHE_ATTACHMENTS "cacheAttachments"
#define AXIS2_FILE_SIZE_THRESHOLD "sizeThreshold"
-/* op_ctx persistance */
+
+ /* op_ctx persistance */
#define AXIS2_PERSIST_OP_CTX "persistOperationContext"
-/******************************************************************************/
+ /******************************************************************************/
#define AXIS2_VALUE_TRUE "true"
#define AXIS2_VALUE_FALSE "false"
@@ -331,29 +333,26 @@
#define AXIS2_TESTING_REPOSITORY "target/test-resources/samples"
-/* Indicate whether the axis2 service should be loaded at start up */
+ /* Indicate whether the axis2 service should be loaded at start up */
#define AXIS2_LOAD_SVC_STARTUP "loadServiceAtStartup"
-
-/*************************** REST_WITH_GET ************************************/
+ /*************************** REST_WITH_GET ************************************/
#define AXIS2_GET_PARAMETER_OP "op"
#define AXIS2_GET_PARAMETER_URL "http://ws.apache.org/goGetWithREST"
-/******************************************************************************/
-
+ /******************************************************************************/
#define AXIS2_NAMESPACE_PREFIX "axis2"
#define AXIS2_NAMESPACE_URI "http://ws.apache.org/namespaces/axis2"
-#define AXIS2_SVC_GRP_ID "ServiceGroupId"
-
+#define AXIS2_SVC_GRP_ID "ServiceGroupId"
-#define AXIS2_RESPONSE_SOAP_ENVELOPE "Axis2ResponseEnvelope"
+#define AXIS2_RESPONSE_SOAP_ENVELOPE "Axis2ResponseEnvelope"
#define AXIS2_HANDLER_ALREADY_VISITED "handler_already_visited"
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_CONST_H */
+#endif /* AXIS2_CONST_H */
Modified: webservices/axis2/trunk/c/include/axis2_core_utils.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_core_utils.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_core_utils.h (original)
+++ webservices/axis2/trunk/c/include/axis2_core_utils.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -30,48 +31,59 @@
{
#endif
-struct axis2_conf;
-/**
- * @defgroup axis2_core_utils Core Utils
- * @ingroup axis2_core_utils
- * @{
- */
- AXIS2_EXTERN axis2_msg_ctx_t * AXIS2_CALL
- axis2_core_utils_create_out_msg_ctx(const axutil_env_t *env,
- axis2_msg_ctx_t *in_msg_ctx);
+ struct axis2_conf;
+
+ /**
+ * @defgroup axis2_core_utils Core Utils
+ * @ingroup axis2_core_utils
+ * @{
+ */
+ AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
+
+ axis2_core_utils_create_out_msg_ctx(
+ const axutil_env_t * env,
+ axis2_msg_ctx_t * in_msg_ctx);
AXIS2_EXTERN void AXIS2_CALL
- axis2_core_utils_reset_out_msg_ctx(const axutil_env_t *env,
- axis2_msg_ctx_t *out_msg_ctx);
-
- AXIS2_EXTERN axutil_qname_t* AXIS2_CALL
- axis2_core_utils_get_module_qname(const axutil_env_t *env,
- const axis2_char_t *name,
- const axis2_char_t *version);
-
+ axis2_core_utils_reset_out_msg_ctx(
+ const axutil_env_t * env,
+ axis2_msg_ctx_t * out_msg_ctx);
+
+ AXIS2_EXTERN axutil_qname_t *AXIS2_CALL
+
+ axis2_core_utils_get_module_qname(
+ const axutil_env_t * env,
+ const axis2_char_t * name,
+ const axis2_char_t * version);
+
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_core_utils_calculate_default_module_version(const axutil_env_t *env,
- axutil_hash_t *modules_map,
+
+ axis2_core_utils_calculate_default_module_version(
+ const axutil_env_t * env,
+ axutil_hash_t * modules_map,
struct axis2_conf *axis_conf);
-
- AXIS2_EXTERN axis2_char_t * AXIS2_CALL
- axis2_core_utils_get_module_name(const axutil_env_t *env,
- axis2_char_t *module_name);
-
- AXIS2_EXTERN axis2_char_t * AXIS2_CALL
- axis2_core_utils_get_module_version(const axutil_env_t *env,
- axis2_char_t *module_name);
-
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ axis2_core_utils_get_module_name(
+ const axutil_env_t * env,
+ axis2_char_t * module_name);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+
+ axis2_core_utils_get_module_version(
+ const axutil_env_t * env,
+ axis2_char_t * module_name);
+
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_core_utils_is_latest_mod_ver(const axutil_env_t *env,
- axis2_char_t *module_ver,
- axis2_char_t *current_def_ver);
-
-
-/** @} */
-
+ axis2_core_utils_is_latest_mod_ver(
+ const axutil_env_t * env,
+ axis2_char_t * module_ver,
+ axis2_char_t * current_def_ver);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_CORE_UTILS_H */
+#endif /* AXIS2_CORE_UTILS_H */
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org