You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pi...@apache.org on 2006/08/11 05:18:27 UTC
svn commit: r430640 - in /webservices/axis2/trunk/c: include/
modules/core/context/ modules/core/deployment/
Author: pini
Date: Thu Aug 10 20:18:26 2006
New Revision: 430640
URL: http://svn.apache.org/viewvc?rev=430640&view=rev
Log:
Formatting fixes and parameter changes to const.
Modified:
webservices/axis2/trunk/c/include/axis2_conf_init.h
webservices/axis2/trunk/c/modules/core/context/conf_ctx.c
webservices/axis2/trunk/c/modules/core/deployment/axis2_desc_builder.h
webservices/axis2/trunk/c/modules/core/deployment/axis2_ws_info.h
webservices/axis2/trunk/c/modules/core/deployment/conf_init.c
webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c
webservices/axis2/trunk/c/modules/core/deployment/ws_info.c
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=430640&r1=430639&r2=430640&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_conf_init.h (original)
+++ webservices/axis2/trunk/c/include/axis2_conf_init.h Thu Aug 10 20:18:26 2006
@@ -17,6 +17,11 @@
#ifndef AXIS2_CONF_INIT_H
#define AXIS2_CONF_INIT_H
+/** @defgroup axis2_conf_init configuration initilizing functions
+ * @ingroup axis2_deployment
+ * @{
+ */
+
/**
* @file axis2_conf_init.h
* @brief Axis2 configuration initilizing functions
@@ -31,27 +36,26 @@
{
#endif
-/** @defgroup axis2_conf_init configuration initilizing functions
- * @ingroup axis2_deployment
- * @{
- */
-
-/**
- * Builds the configuration for the Server
- * @param env Environment. MUST NOT be NULL
- * @param repo_name repository name
- * @return pointer to an instance of configuration context properly initialized
- */
-AXIS2_EXTERN axis2_conf_ctx_t* AXIS2_CALL build_conf_ctx (const axis2_env_t *env,
- const axis2_char_t *repo_name);
-/**
- * Builds the Configuration for the Client
- * @param env Environment. MUST NOT be NULL
- * @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 build_client_conf_ctx(const axis2_env_t *env,
- const axis2_char_t *axis2_home);
+ /**
+ * Builds the configuration for the Server
+ * @param env Pointer to environment struct. MUST NOT be NULL
+ * @param repo_name repository name
+ * @return pointer to an instance of configuration context properly initialized
+ */
+ AXIS2_EXTERN axis2_conf_ctx_t *AXIS2_CALL
+ build_conf_ctx(
+ const axis2_env_t *env,
+ const axis2_char_t *repo_name);
+ /**
+ * Builds the Configuration for the Client
+ * @param env Pointer to environment struct. MUST NOT be NULL
+ * @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
+ build_client_conf_ctx(
+ const axis2_env_t *env,
+ const axis2_char_t *axis2_home);
/** @} */
Modified: webservices/axis2/trunk/c/modules/core/context/conf_ctx.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/context/conf_ctx.c?rev=430640&r1=430639&r2=430640&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/conf_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/conf_ctx.c Thu Aug 10 20:18:26 2006
@@ -42,7 +42,8 @@
/* Mutex to syncronize the read/write operations */
axis2_thread_mutex_t *mutex;
-} axis2_conf_ctx_impl_t;
+}
+axis2_conf_ctx_impl_t;
/** Interface to implementation conversion macro */
#define AXIS2_INTF_TO_IMPL(conf_ctx) ((axis2_conf_ctx_impl_t *)conf_ctx)
@@ -54,27 +55,27 @@
const axis2_env_t *env,
axis2_conf_t *conf);
-axis2_ctx_t* AXIS2_CALL
+axis2_ctx_t *AXIS2_CALL
axis2_conf_ctx_get_base(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env);
-axis2_conf_t* AXIS2_CALL
+axis2_conf_t *AXIS2_CALL
axis2_conf_ctx_get_conf(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env);
-axis2_hash_t* AXIS2_CALL
+axis2_hash_t *AXIS2_CALL
axis2_conf_ctx_get_op_ctx_map(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env);
-axis2_hash_t* AXIS2_CALL
+axis2_hash_t *AXIS2_CALL
axis2_conf_ctx_get_svc_ctx_map(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env);
-axis2_hash_t* AXIS2_CALL
+axis2_hash_t *AXIS2_CALL
axis2_conf_ctx_get_svc_grp_ctx_map(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env);
@@ -86,7 +87,7 @@
axis2_char_t *message_id,
axis2_op_ctx_t *op_ctx);
-axis2_op_ctx_t* AXIS2_CALL
+axis2_op_ctx_t *AXIS2_CALL
axis2_conf_ctx_get_op_ctx(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env,
@@ -99,7 +100,7 @@
axis2_char_t *svc_id,
axis2_svc_ctx_t *svc_ctx);
-axis2_svc_ctx_t* AXIS2_CALL
+axis2_svc_ctx_t *AXIS2_CALL
axis2_conf_ctx_get_svc_ctx(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env,
@@ -112,13 +113,13 @@
axis2_char_t *svc_grp_id,
axis2_svc_grp_ctx_t *svc_grp_ctx);
-axis2_svc_grp_ctx_t* AXIS2_CALL
+axis2_svc_grp_ctx_t *AXIS2_CALL
axis2_conf_ctx_get_svc_grp_ctx(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env,
axis2_char_t *svc_grp_id);
-axis2_char_t* AXIS2_CALL
+axis2_char_t *AXIS2_CALL
axis2_conf_ctx_get_root_dir(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env);
@@ -140,13 +141,13 @@
struct axis2_conf_ctx *conf_ctx,
const axis2_env_t *env);
-axis2_svc_grp_ctx_t* AXIS2_CALL
+axis2_svc_grp_ctx_t *AXIS2_CALL
axis2_conf_ctx_fill_ctxs(
struct axis2_conf_ctx *conf_ctx,
const axis2_env_t *env,
axis2_msg_ctx_t *msg_ctx);
-AXIS2_EXTERN axis2_conf_ctx_t* AXIS2_CALL
+AXIS2_EXTERN axis2_conf_ctx_t *AXIS2_CALL
axis2_conf_ctx_create(
const axis2_env_t *env,
axis2_conf_t *conf)
@@ -287,7 +288,7 @@
return AXIS2_SUCCESS;
}
-axis2_ctx_t* AXIS2_CALL
+axis2_ctx_t *AXIS2_CALL
axis2_conf_ctx_get_base(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env)
@@ -296,7 +297,7 @@
return AXIS2_INTF_TO_IMPL(conf_ctx)->base;
}
-axis2_conf_t* AXIS2_CALL
+axis2_conf_t *AXIS2_CALL
axis2_conf_ctx_get_conf(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env)
@@ -305,7 +306,7 @@
return AXIS2_INTF_TO_IMPL(conf_ctx)->conf;
}
-axis2_hash_t* AXIS2_CALL
+axis2_hash_t *AXIS2_CALL
axis2_conf_ctx_get_op_ctx_map(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env)
@@ -314,7 +315,7 @@
return AXIS2_INTF_TO_IMPL(conf_ctx)->op_ctx_map;
}
-axis2_hash_t* AXIS2_CALL
+axis2_hash_t *AXIS2_CALL
axis2_conf_ctx_get_svc_ctx_map(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env)
@@ -323,7 +324,7 @@
return AXIS2_INTF_TO_IMPL(conf_ctx)->svc_ctx_map;
}
-axis2_hash_t* AXIS2_CALL
+axis2_hash_t *AXIS2_CALL
axis2_conf_ctx_get_svc_grp_ctx_map(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env)
@@ -354,7 +355,7 @@
return AXIS2_SUCCESS;
}
-axis2_op_ctx_t* AXIS2_CALL
+axis2_op_ctx_t *AXIS2_CALL
axis2_conf_ctx_get_op_ctx(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env,
@@ -401,7 +402,7 @@
return AXIS2_SUCCESS;
}
-axis2_svc_ctx_t* AXIS2_CALL
+axis2_svc_ctx_t *AXIS2_CALL
axis2_conf_ctx_get_svc_ctx(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env,
@@ -446,7 +447,7 @@
return AXIS2_SUCCESS;
}
-axis2_svc_grp_ctx_t* AXIS2_CALL
+axis2_svc_grp_ctx_t *AXIS2_CALL
axis2_conf_ctx_get_svc_grp_ctx(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env,
@@ -469,7 +470,7 @@
return rv;
}
-axis2_char_t* AXIS2_CALL
+axis2_char_t *AXIS2_CALL
axis2_conf_ctx_get_root_dir(
const axis2_conf_ctx_t *conf_ctx,
const axis2_env_t *env)
@@ -524,7 +525,7 @@
{
axis2_conf_ctx_impl_t *conf_ctx_impl = NULL;
axis2_hash_index_t *hi = NULL;
- void* ctx = NULL;
+ void *ctx = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -670,7 +671,7 @@
return AXIS2_SUCCESS;
}
-axis2_svc_grp_ctx_t* AXIS2_CALL
+axis2_svc_grp_ctx_t *AXIS2_CALL
axis2_conf_ctx_fill_ctxs(
struct axis2_conf_ctx *conf_ctx,
const axis2_env_t *env,
Modified: webservices/axis2/trunk/c/modules/core/deployment/axis2_desc_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/axis2_desc_builder.h?rev=430640&r1=430639&r2=430640&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/axis2_desc_builder.h (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/axis2_desc_builder.h Thu Aug 10 20:18:26 2006
@@ -17,6 +17,12 @@
#ifndef AXIS2_DESC_BUILDER_H
#define AXIS2_DESC_BUILDER_H
+/** @defgroup axis2_desc_builder Description Builder
+ * @ingroup axis2_deployment
+ * @{
+ */
+
+
/**
* @file axis2_desc_builder.h
* @brief Axis2 Description Builder interface
@@ -42,7 +48,7 @@
#include <axis2_handler_desc.h>
#include <axis2_op.h>
#include <axiom_children_with_specific_attribute_iterator.h>
-#include <axis2_phase.h>
+#include <axis2_phase.h>
#include <axis2_dll_desc.h>
@@ -51,203 +57,198 @@
{
#endif
-struct axis2_flow;
-struct axis2_phase;
-struct axis2_dep_engine;
-
-typedef struct axis2_desc_builder axis2_desc_builder_t;
-typedef struct axis2_desc_builder_ops axis2_desc_builder_ops_t;
+ struct axis2_flow;
+ struct axis2_phase;
+ struct axis2_dep_engine;
-/** @defgroup axis2_desc_builder Description Builder
- * @ingroup axis2_deployment
- * @{
- */
+ typedef struct axis2_desc_builder axis2_desc_builder_t;
+ typedef struct axis2_desc_builder_ops axis2_desc_builder_ops_t;
-/**
- * @brief Description Builder ops struct
- * Encapsulator struct for ops of axis2_desc_builder
- */
-AXIS2_DECLARE_DATA struct axis2_desc_builder_ops
-{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
- free)(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env);
-
- /**
- * This will creat OMElemnt for a given descrition document (axis2.xml ,
- * services.xml and module.xml)
- *
- * @return OMElement <code>OMElement</code>
+ /**
+ * @brief Description Builder ops struct
+ * Encapsulator struct for ops of axis2_desc_builder
*/
- axiom_node_t *(AXIS2_CALL *
- build_OM) (axis2_desc_builder_t *desc_builder,
+ struct axis2_desc_builder_ops
+ {
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
+ free)(axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env);
+
+ /**
+ * This will creat OMElemnt for a given descrition document (axis2.xml ,
+ * services.xml and module.xml)
+ *
+ * @return OMElement <code>OMElement</code>
+ */
+ axiom_node_t *(AXIS2_CALL *
+ build_OM) (axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env);
+
+
+ /**
+ * To process Flow elements in services.xml
+ * @param flow_element <code>axiom_element_t</code>
+ * @return flow
+ */
+ axis2_flow_t *(AXIS2_CALL *
+ process_flow) (axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_element_t *flow_element,
+ axis2_param_container_t *parent,
+ axiom_node_t *node);
+
+ /**
+ * To process Handler element
+ * @param handler_element <code>OMElement</code>
+ * @return
+ */
+ axis2_handler_desc_t *(AXIS2_CALL *
+ process_handler) (axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_node_t *handler_element,
+ axis2_param_container_t *parent);
+
+ /**
+ * To get the Param out from the OM
+ * @param params <code>axis2_param_t</code>
+ * @param param_container <code>axis2_param_container_t</code>
+ * @param parent <code>axis2_param_container_t</code>
+ */
+ axis2_status_t (AXIS2_CALL *
+ process_params) (axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_children_qname_iterator_t *params,
+ axis2_param_container_t *param_container,
+ axis2_param_container_t *parent );
+
+
+ axis2_status_t (AXIS2_CALL *
+ process_op_module_refs) (axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_children_qname_iterator_t *module_refs,
+ axis2_op_t *op);
+
+ axis2_msg_recv_t *(AXIS2_CALL *
+ load_msg_recv) (axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_element_t *recv_element);
+
+ /**
+ * This method is used to retrive service name form the arechive file name
+ * if the archive file name is service1.aar , then axis service name would be service1
+ *
+ * @param file_name
+ * @return axis2_char_t *
+ */
+ axis2_char_t *(AXIS2_CALL *
+ get_short_file_name) (
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *file_name);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_file_name_without_prefix) (
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *short_file_name);
+
+ /**
+ * this method is to get the value of attribue
+ * eg xsd:anyVal --> anyVal
+ *
+ * @return axis2_char_t *
+ */
+ axis2_char_t *(AXIS2_CALL *
+ get_value) (
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *in);
+
+ };
+
+ struct axis2_msg_recv *AXIS2_CALL
+ axis2_desc_builder_load_default_msg_recv(
const axis2_env_t *env);
-
-
+
/**
- * To process Flow elements in services.xml
- * @param flow_element <code>axiom_element_t</code>
- * @return flow
+ * @brief Description Builder struct
*/
- axis2_flow_t *(AXIS2_CALL *
- process_flow) (axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_element_t *flow_element,
- axis2_param_container_t *parent,
- axiom_node_t *node);
-
+ struct axis2_desc_builder
+ {
+ axis2_desc_builder_ops_t *ops;
+ struct axis2_dep_engine *engine;
+ };
+
/**
- * To process Handler element
- * @param handler_element <code>OMElement</code>
- * @return
+ * Creates description builder struct
+ * @return pointer to newly created description builder
*/
- axis2_handler_desc_t *(AXIS2_CALL *
- process_handler) (axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_node_t *handler_element,
- axis2_param_container_t *parent);
-
+ AXIS2_EXTERN axis2_desc_builder_t * AXIS2_CALL
+ axis2_desc_builder_create (const axis2_env_t *env);
+
/**
- * To get the Param out from the OM
- * @param params <code>axis2_param_t</code>
- * @param param_container <code>axis2_param_container_t</code>
- * @param parent <code>axis2_param_container_t</code>
+ * Creates description builder struct
+ * @param engine
+ * @return pointer to newly created description builder
*/
- axis2_status_t (AXIS2_CALL *
- process_params) (axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_children_qname_iterator_t *params,
- axis2_param_container_t *param_container,
- axis2_param_container_t *parent );
-
-
- axis2_status_t (AXIS2_CALL *
- process_op_module_refs) (axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_children_qname_iterator_t *module_refs,
- axis2_op_t *op);
-
- axis2_msg_recv_t *(AXIS2_CALL *
- load_msg_recv) (axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_element_t *recv_element);
-
+ AXIS2_EXTERN axis2_desc_builder_t * AXIS2_CALL
+ axis2_desc_builder_create_with_dep_engine (
+ const axis2_env_t *env,
+ struct axis2_dep_engine *engine);
/**
- * This method is used to retrive service name form the arechive file name
- * if the archive file name is service1.aar , then axis service name would be service1
- *
+ * Creates description builder struct
* @param file_name
- * @return axis2_char_t *
- */
- axis2_char_t *(AXIS2_CALL *
- get_short_file_name) (
- axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axis2_char_t *file_name);
-
- axis2_char_t *(AXIS2_CALL *
- get_file_name_without_prefix) (
- axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axis2_char_t *short_file_name);
-
- /**
- * this method is to get the value of attribue
- * eg xsd:anyVal --> anyVal
- *
- * @return axis2_char_t *
+ * @param engine
+ * @return pointer to newly created description builder
*/
- axis2_char_t *(AXIS2_CALL *
- get_value) (
- axis2_desc_builder_t *desc_builder,
+ AXIS2_EXTERN axis2_desc_builder_t * AXIS2_CALL
+ axis2_desc_builder_create_with_file_and_dep_engine (
const axis2_env_t *env,
- axis2_char_t *in);
-
-};
-
-struct axis2_msg_recv *AXIS2_CALL
-axis2_desc_builder_load_default_msg_recv(
- const axis2_env_t *env);
-
-/**
- * @brief Description Builder struct
- */
-AXIS2_DECLARE_DATA struct axis2_desc_builder
-{
- axis2_desc_builder_ops_t *ops;
- struct axis2_dep_engine *engine;
-};
-
-/**
- * Creates description builder struct
- * @return pointer to newly created description builder
- */
-AXIS2_EXTERN axis2_desc_builder_t * AXIS2_CALL
-axis2_desc_builder_create (const axis2_env_t *env);
-
-/**
- * Creates description builder struct
- * @param engine
- * @return pointer to newly created description builder
- */
-AXIS2_EXTERN axis2_desc_builder_t * AXIS2_CALL
-axis2_desc_builder_create_with_dep_engine (
- const axis2_env_t *env,
- struct axis2_dep_engine *engine);
-/**
- * Creates description builder struct
- * @param file_name
- * @param engine
- * @return pointer to newly created description builder
- */
-AXIS2_EXTERN axis2_desc_builder_t * AXIS2_CALL
-axis2_desc_builder_create_with_file_and_dep_engine (
- const axis2_env_t *env,
- axis2_char_t *file_name,
- struct axis2_dep_engine *engine);
+ axis2_char_t *file_name,
+ struct axis2_dep_engine *engine);
-/*************************** Function macros **********************************/
+ /*************************** Function macros **********************************/
#define AXIS2_DESC_BUILDER_FREE(desc_builder, env) \
((desc_builder)->ops->free (desc_builder, env))
#define AXIS2_DESC_BUILDER_BUILD_OM(desc_builder, env) \
- ((desc_builder)->ops->build_OM (desc_builder, env))
+ ((desc_builder)->ops->build_OM (desc_builder, env))
#define AXIS2_DESC_BUILDER_PROCESS_FLOW(desc_builder, env, flow_element, \
parent, node) ((desc_builder)->ops->process_flow (desc_builder, env, \
- flow_element, parent, node))
+ flow_element, parent, node))
#define AXIS2_DESC_BUILDER_PROCESS_HANDLER(desc_builder, env, handler_element, \
parent) ((desc_builder)->ops->process_handler (desc_builder, \
- env, handler_element, parent))
+ env, handler_element, parent))
#define AXIS2_DESC_BUILDER_PROCESS_PARAMS(desc_builder, env, params, \
param_container, parent) ((desc_builder)->ops->process_params \
- (desc_builder, env, params, param_container, parent))
+ (desc_builder, env, params, param_container, parent))
#define AXIS2_DESC_BUILDER_PROCESS_OP_MODULE_REFS(desc_builder, env, \
module_refs, op) ((desc_builder)->ops->process_op_module_refs \
- (desc_builder, env, module_refs, op))
+ (desc_builder, env, module_refs, op))
#define AXIS2_DESC_BUILDER_LOAD_MSG_RECV(desc_builder, env, recv_element) \
- ((desc_builder)->ops->load_msg_recv (desc_builder, env, recv_element))
+ ((desc_builder)->ops->load_msg_recv (desc_builder, env, recv_element))
#define AXIS2_DESC_BUILDER_GET_SHORT_FILE_NAME(desc_builder, env, file_name) \
- ((desc_builder)->ops->get_short_file_name (desc_builder, env, file_name))
+ ((desc_builder)->ops->get_short_file_name (desc_builder, env, file_name))
#define AXIS2_DESC_BUILDER_GET_FILE_NAME_WITHOUT_PREFIX(desc_builder, env, file_name) \
- ((desc_builder)->ops->get_file_name_without_prefix (desc_builder, env, file_name))
+ ((desc_builder)->ops->get_file_name_without_prefix (desc_builder, env, file_name))
#define AXIS2_DESC_BUILDER_GET_VALUE(desc_builder, env, in) \
- ((desc_builder)->ops->get_value (desc_builder, env, in))
-
-/*************************** End of function macros ***************************/
+ ((desc_builder)->ops->get_value (desc_builder, env, in))
+
+ /*************************** End of function macros ***************************/
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
Modified: webservices/axis2/trunk/c/modules/core/deployment/axis2_ws_info.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/axis2_ws_info.h?rev=430640&r1=430639&r2=430640&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/axis2_ws_info.h (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/axis2_ws_info.h Thu Aug 10 20:18:26 2006
@@ -17,6 +17,12 @@
#ifndef AXIS2_WS_INFO_H
#define AXIS2_WS_INFO_H
+/**
+ * @defgroup axis2_ws_info Ws Info
+ * @ingroup axis2_deployment
+ * @{
+ */
+
/**
* @file axis2_ws_info.h
* @brief Axis2 Ws Info interface
@@ -35,100 +41,145 @@
{
#endif
-struct axis2_conf;
-
-typedef struct axis2_ws_info axis2_ws_info_t;
-typedef struct axis2_ws_info_ops axis2_ws_info_ops_t;
+ struct axis2_conf;
-/** @defgroup axis2_ws_info Ws Info
- * @ingroup axis2_deployment
- * @{
- */
+ /** Type name for struct axis2_ws_info */
+ typedef struct axis2_ws_info axis2_ws_info_t;
+ /** Type name for struct axis2_ws_info_ops */
+ typedef struct axis2_ws_info_ops axis2_ws_info_ops_t;
+
+
+ /**
+ * Ws Info ops struct
+ * Encapsulator struct for ops of axis2_ws_info
+ */
+ struct axis2_ws_info_ops
+ {
+ /**
+ * De-allocate memory
+ * @param ws_info pointer to ws info
+ * @param env pointer to environment struct
+ */
+ axis2_status_t (AXIS2_CALL *
+ free)(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env);
-/**
- * @brief Ws Info ops struct
- * Encapsulator struct for ops of axis2_ws_info
- */
-AXIS2_DECLARE_DATA struct axis2_ws_info_ops
-{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
- free)(axis2_ws_info_t *ws_info,
- const axis2_env_t *env);
-
- axis2_char_t *(AXIS2_CALL *
- get_file_name) (axis2_ws_info_t *ws_info,
+ /**
+ * @param ws_info pointer to ws info
+ * @param env pointer to environment struct
+ */
+ axis2_char_t *(AXIS2_CALL *
+ get_file_name)(
+ const axis2_ws_info_t *ws_info,
const axis2_env_t *env);
-
- axis2_status_t (AXIS2_CALL *
- set_file_name) (axis2_ws_info_t *ws_info,
- const axis2_env_t *env,
- axis2_char_t *file_name);
-
- long (AXIS2_CALL *
- get_last_modified_date) (axis2_ws_info_t *ws_info,
- const axis2_env_t *env);
-
- axis2_status_t (AXIS2_CALL *
- set_last_modified_date) (axis2_ws_info_t *ws_info,
- const axis2_env_t *env,
- long last_modified_date);
-
- int (AXIS2_CALL *
- get_type) (axis2_ws_info_t *ws_info,
- const axis2_env_t *env);
-
-
-};
+ /**
+ * @param ws_info pointer to ws info
+ * @param env pointer to environment struct
+ * @param file_name pointer to file name
+ */
+ axis2_status_t (AXIS2_CALL *
+ set_file_name)(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env,
+ axis2_char_t *file_name);
+
+ /**
+ * @param ws_info pointer to ws info
+ * @param env pointer to environment struct
+ */
+ long (AXIS2_CALL *
+ get_last_modified_date)(
+ const axis2_ws_info_t *ws_info,
+ const axis2_env_t *env);
-/**
- * @brief Ws Info struct
- */
-AXIS2_DECLARE_DATA struct axis2_ws_info
-{
- axis2_ws_info_ops_t *ops;
-};
+ /**
+ * @param ws_info pointer to ws info
+ * @param env pointer to environment struct
+ * @param modified_data pointer to modified date
+ */
+ axis2_status_t (AXIS2_CALL *
+ set_last_modified_date)(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env,
+ long last_modified_date);
+
+ /**
+ * @param ws_info pointer to ws info
+ * @param env pointer to environment struct
+ */
+ int (AXIS2_CALL *
+ get_type)(
+ const axis2_ws_info_t *ws_info,
+ const axis2_env_t *env);
-/**
- * Creates description builder struct
- * @param repos_path
- * @return pointer to newly created ws info
- */
-AXIS2_EXTERN axis2_ws_info_t * AXIS2_CALL
-axis2_ws_info_create_with_file_name_and_last_modified_date (const axis2_env_t *env,
- axis2_char_t *file_name,
- long last_modified_date);
-
-AXIS2_EXTERN axis2_ws_info_t * AXIS2_CALL
-axis2_ws_info_create_with_file_name_and_last_modified_date_and_type (
- const axis2_env_t *env,
- axis2_char_t *file_name,
- long last_modified_date,
- int type);
+ };
+
+ /**
+ * Ws Info struct
+ */
+ struct axis2_ws_info
+ {
+ /** Operations of ws info */
+ axis2_ws_info_ops_t *ops;
+ };
+
+ /**
+ * Creates description builder struct
+ * @param env pointer to environment struct
+ * @param file_name pointer to file name
+ * @param last_modified_date pointer to last modified date
+ * @return pointer to newly created ws info
+ */
+ AXIS2_EXTERN axis2_ws_info_t *AXIS2_CALL
+ axis2_ws_info_create_with_file_name_and_last_modified_date(
+ const axis2_env_t *env,
+ axis2_char_t *file_name,
+ long last_modified_date);
+
+ /**
+ * @param env pointer to environment struct
+ * @param file_name pointer to file name
+ * @param last_modifile_date last modified date
+ * @param type type
+ */
+ AXIS2_EXTERN axis2_ws_info_t *AXIS2_CALL
+ axis2_ws_info_create_with_file_name_and_last_modified_date_and_type(
+ const axis2_env_t *env,
+ axis2_char_t *file_name,
+ long last_modified_date,
+ int type);
/*************************** Function macros **********************************/
+/** Frees the ws info.
+ @sa axis2_ws_info_ops#free */
#define AXIS2_WS_INFO_FREE(ws_info, env) \
- ((ws_info)->ops->free (ws_info, env))
+ ((ws_info)->ops->free (ws_info, env))
+/** Gets the file name.
+ @sa axis2_ws_info_ops#get_file_name */
#define AXIS2_WS_INFO_GET_FILE_NAME(ws_info, env) \
((ws_info)->ops->get_file_name (ws_info, env))
+/** Set file name.
+ @sa axis2_ws_info_ops#set_file_name */
#define AXIS2_WS_INFO_SET_FILE_NAME(ws_info, env, file_name) \
((ws_info)->ops->set_file_name (ws_info, env, file_name))
-
+/** Gets the last modified date.
+ @sa axis2_ws_info_ops#get_last_modified_date */
#define AXIS2_WS_INFO_GET_LAST_MODIFIED_DATE(ws_info, env) \
((ws_info)->ops->get_last_modified_date (ws_info, env))
-
+/** Sets the last modified date.
+ @sa axis2_ws_info_ops#set_last_modified_date */
#define AXIS2_WS_INFO_SET_LAST_MODIFIED_DATE(ws_info, env, last_modified_date) \
((ws_info)->ops->set_last_modified_date (ws_info, env, last_modified_date))
-
+/** Get type.
+ @sa axis2_ws_info_ops#get_type */
#define AXIS2_WS_INFO_GET_TYPE(ws_info, env) \
((ws_info)->ops->get_type (ws_info, env))
Modified: webservices/axis2/trunk/c/modules/core/deployment/conf_init.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/conf_init.c?rev=430640&r1=430639&r2=430640&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/conf_init.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/conf_init.c Thu Aug 10 20:18:26 2006
@@ -22,13 +22,19 @@
#include <axis2_allocator.h>
#include <axis2_dep_engine.h>
-axis2_status_t AXIS2_CALL axis2_init_modules(const axis2_env_t *env,
+axis2_status_t AXIS2_CALL
+axis2_init_modules(
+ const axis2_env_t *env,
axis2_conf_ctx_t *conf_ctx);
-axis2_status_t AXIS2_CALL axis2_init_transports(const axis2_env_t *env,
+
+axis2_status_t AXIS2_CALL
+axis2_init_transports(
+ const axis2_env_t *env,
axis2_conf_ctx_t *conf_ctx);
-AXIS2_EXTERN axis2_conf_ctx_t* AXIS2_CALL
-build_conf_ctx (const axis2_env_t *env,
+AXIS2_EXTERN axis2_conf_ctx_t *AXIS2_CALL
+build_conf_ctx(
+ const axis2_env_t *env,
const axis2_char_t *repo_name)
{
axis2_conf_ctx_t *conf_ctx = NULL;
@@ -69,8 +75,10 @@
return conf_ctx;
}
- axis2_conf_ctx_t* AXIS2_CALL build_client_conf_ctx(const axis2_env_t *env,
- const axis2_char_t *axis2_home)
+axis2_conf_ctx_t *AXIS2_CALL
+build_client_conf_ctx(
+ const axis2_env_t *env,
+ const axis2_char_t *axis2_home)
{
axis2_conf_ctx_t *conf_ctx = NULL;
axis2_dep_engine_t *dep_engine = NULL;
@@ -114,7 +122,9 @@
return conf_ctx;
}
-axis2_status_t AXIS2_CALL axis2_init_modules(const axis2_env_t *env,
+axis2_status_t AXIS2_CALL
+axis2_init_modules(
+ const axis2_env_t *env,
axis2_conf_ctx_t *conf_ctx)
{
axis2_conf_t *conf = NULL;
@@ -153,7 +163,9 @@
return status;
}
-axis2_status_t AXIS2_CALL axis2_init_transports(const axis2_env_t *env,
+axis2_status_t AXIS2_CALL
+axis2_init_transports(
+ const axis2_env_t *env,
axis2_conf_ctx_t *conf_ctx)
{
axis2_conf_t *conf = NULL;
Modified: webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c?rev=430640&r1=430639&r2=430640&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c Thu Aug 10 20:18:26 2006
@@ -22,12 +22,11 @@
#include <axis2_raw_xml_in_out_msg_recv.h>
/**
- * @brief
* To do the common tasks for all Builder
*/
typedef struct axis2_desc_builder_impl
{
- axis2_desc_builder_t desc_builder;
+ axis2_desc_builder_t desc_builder;
/**
* Store the full path to configuration file.
@@ -35,7 +34,8 @@
axis2_char_t *file_name;
axiom_stax_builder_t *builder;
-} axis2_desc_builder_impl_t;
+}
+axis2_desc_builder_impl_t;
#define AXIS2_INTF_TO_IMPL(desc_builder) \
((axis2_desc_builder_impl_t *) desc_builder)
@@ -43,75 +43,82 @@
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
-axis2_desc_builder_free (axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env);
+axis2_desc_builder_free(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env);
axiom_node_t *AXIS2_CALL
-axis2_build_OM(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env);
-
+axis2_build_OM(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env);
struct axis2_flow *AXIS2_CALL
-axis2_desc_builder_process_flow(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- struct axiom_element *flow_element,
- axis2_param_container_t *parent,
- axiom_node_t *node);
+axis2_desc_builder_process_flow(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ struct axiom_element *flow_element,
+ axis2_param_container_t *parent,
+ axiom_node_t *node);
struct axis2_handler_desc *AXIS2_CALL
-axis2_desc_builder_process_handler(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_node_t *handler_element,
- axis2_param_container_t *parent);
-
+axis2_desc_builder_process_handler(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_node_t *handler_element,
+ axis2_param_container_t *parent);
axis2_status_t AXIS2_CALL
-axis2_desc_builder_process_params(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_children_qname_iterator_t *params,
- axis2_param_container_t *param_container,
- axis2_param_container_t *parent );
-
+axis2_desc_builder_process_params(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_children_qname_iterator_t *params,
+ axis2_param_container_t *param_container,
+ axis2_param_container_t *parent );
axis2_status_t AXIS2_CALL
-axis2_desc_builder_process_op_module_refs(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_children_qname_iterator_t *module_refs,
- struct axis2_op *op);
+axis2_desc_builder_process_op_module_refs(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_children_qname_iterator_t *module_refs,
+ struct axis2_op *op);
struct axis2_msg_recv *AXIS2_CALL
-axis2_desc_builder_load_msg_recv(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_element_t *recv_element);
-
+axis2_desc_builder_load_msg_recv(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_element_t *recv_element);
axis2_char_t *AXIS2_CALL
-axis2_desc_builder_get_short_file_name(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axis2_char_t *file_name);
+axis2_desc_builder_get_short_file_name(
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *file_name);
axis2_char_t *AXIS2_CALL
-axis2_desc_builder_get_file_name_without_prefix(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axis2_char_t *short_file_name);
+axis2_desc_builder_get_file_name_without_prefix(
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *short_file_name);
axis2_char_t *AXIS2_CALL
-axis2_desc_builder_get_value(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axis2_char_t *in);
+axis2_desc_builder_get_value(
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *in);
static axis2_status_t
set_attrs_and_value(
- axis2_param_t *param,
- const axis2_env_t *env,
- axiom_element_t *param_element,
- axiom_node_t *param_node);
+ axis2_param_t *param,
+ const axis2_env_t *env,
+ axiom_element_t *param_element,
+ axiom_node_t *param_node);
/************************** End of function prototypes ************************/
-axis2_desc_builder_t * AXIS2_CALL
-axis2_desc_builder_create (const axis2_env_t *env)
+axis2_desc_builder_t *AXIS2_CALL
+axis2_desc_builder_create(
+ const axis2_env_t *env)
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
@@ -162,11 +169,11 @@
return &(desc_builder_impl->desc_builder);
}
-axis2_desc_builder_t * AXIS2_CALL
-axis2_desc_builder_create_with_file_and_dep_engine (
- const axis2_env_t *env,
- axis2_char_t *file_name,
- axis2_dep_engine_t *engine)
+axis2_desc_builder_t *AXIS2_CALL
+axis2_desc_builder_create_with_file_and_dep_engine(
+ const axis2_env_t *env,
+ axis2_char_t *file_name,
+ axis2_dep_engine_t *engine)
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
@@ -193,10 +200,10 @@
return &(desc_builder_impl->desc_builder);
}
-axis2_desc_builder_t * AXIS2_CALL
-axis2_desc_builder_create_with_dep_engine (
- const axis2_env_t *env,
- struct axis2_dep_engine *engine)
+axis2_desc_builder_t *AXIS2_CALL
+axis2_desc_builder_create_with_dep_engine(
+ const axis2_env_t *env,
+ struct axis2_dep_engine *engine)
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
@@ -219,8 +226,9 @@
/***************************Function implementation****************************/
axis2_status_t AXIS2_CALL
-axis2_desc_builder_free (axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env)
+axis2_desc_builder_free(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env)
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
@@ -255,8 +263,9 @@
}
axiom_node_t *AXIS2_CALL
-axis2_build_OM(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env)
+axis2_build_OM(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env)
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
axiom_xml_reader_t *reader = NULL;
@@ -310,11 +319,12 @@
}
axis2_flow_t *AXIS2_CALL
-axis2_desc_builder_process_flow(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_element_t *flow_element,
- axis2_param_container_t *parent,
- axiom_node_t *flow_node)
+axis2_desc_builder_process_flow(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_element_t *flow_element,
+ axis2_param_container_t *parent,
+ axiom_node_t *flow_node)
{
axis2_flow_t *flow = NULL;
axiom_children_qname_iterator_t *handlers = NULL;
@@ -365,10 +375,11 @@
}
struct axis2_handler_desc *AXIS2_CALL
-axis2_desc_builder_process_handler(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_node_t *handler_node,
- struct axis2_param_container *parent)
+axis2_desc_builder_process_handler(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_node_t *handler_node,
+ struct axis2_param_container *parent)
{
axis2_handler_desc_t *handler_desc = NULL;
axiom_attribute_t *name_attrib = NULL;
@@ -592,10 +603,10 @@
static axis2_status_t
set_attrs_and_value(
- axis2_param_t *param,
- const axis2_env_t *env,
- axiom_element_t *param_element,
- axiom_node_t *param_node)
+ axis2_param_t *param,
+ const axis2_env_t *env,
+ axiom_element_t *param_element,
+ axiom_node_t *param_node)
{
axis2_status_t status = AXIS2_FAILURE;
axis2_hash_t *attrs = NULL;
@@ -697,11 +708,12 @@
}
axis2_status_t AXIS2_CALL
-axis2_desc_builder_process_params(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_children_qname_iterator_t *params,
- axis2_param_container_t *param_container,
- axis2_param_container_t *parent )
+axis2_desc_builder_process_params(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_children_qname_iterator_t *params,
+ axis2_param_container_t *param_container,
+ axis2_param_container_t *parent )
{
axis2_status_t status = AXIS2_FAILURE;
@@ -840,10 +852,11 @@
axis2_status_t AXIS2_CALL
-axis2_desc_builder_process_op_module_refs(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axiom_children_qname_iterator_t *module_refs,
- axis2_op_t *op)
+axis2_desc_builder_process_op_module_refs(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axiom_children_qname_iterator_t *module_refs,
+ axis2_op_t *op)
{
axis2_desc_builder_impl_t *desc_builder_impl = NULL;
axiom_element_t *moduleref = NULL;
@@ -897,9 +910,10 @@
}
axis2_msg_recv_t *AXIS2_CALL
-axis2_desc_builder_load_msg_recv(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- struct axiom_element *recv_element)
+axis2_desc_builder_load_msg_recv(
+ axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ struct axiom_element *recv_element)
{
axiom_attribute_t *recv_name = NULL;
axis2_char_t *class_name = NULL;
@@ -973,9 +987,10 @@
}
axis2_char_t *AXIS2_CALL
-axis2_desc_builder_get_short_file_name(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axis2_char_t *file_name)
+axis2_desc_builder_get_short_file_name(
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *file_name)
{
const axis2_char_t *separator = NULL;
axis2_char_t *value = NULL;
@@ -1002,9 +1017,10 @@
}
axis2_char_t *AXIS2_CALL
-axis2_desc_builder_get_file_name_without_prefix(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axis2_char_t *short_file_name)
+axis2_desc_builder_get_file_name_without_prefix(
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *short_file_name)
{
axis2_char_t *file_name_l = NULL;
axis2_char_t *short_name = NULL;
@@ -1024,9 +1040,10 @@
}
axis2_char_t *AXIS2_CALL
-axis2_desc_builder_get_value(axis2_desc_builder_t *desc_builder,
- const axis2_env_t *env,
- axis2_char_t *in)
+axis2_desc_builder_get_value(
+ const axis2_desc_builder_t *desc_builder,
+ const axis2_env_t *env,
+ axis2_char_t *in)
{
const axis2_char_t *separator = ":";
axis2_char_t *value = NULL;
Modified: webservices/axis2/trunk/c/modules/core/deployment/ws_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/ws_info.c?rev=430640&r1=430639&r2=430640&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/ws_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/ws_info.c Thu Aug 10 20:18:26 2006
@@ -17,12 +17,9 @@
#include <axis2_ws_info.h>
#include <string.h>
-/**
- * @brief
- */
typedef struct axis2_ws_info_impl
{
- axis2_ws_info_t ws_info;
+ axis2_ws_info_t ws_info;
axis2_char_t *file_name;
long last_modified_date;
@@ -32,7 +29,8 @@
int type;
-} axis2_ws_info_impl_t;
+}
+axis2_ws_info_impl_t;
#define AXIS2_INTF_TO_IMPL(ws_info) \
((axis2_ws_info_impl_t *) ws_info)
@@ -40,39 +38,44 @@
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
-axis2_ws_info_free (axis2_ws_info_t *ws_info,
- const axis2_env_t *env);
+axis2_ws_info_free(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
-axis2_ws_info_get_file_name(axis2_ws_info_t *ws_info,
- const axis2_env_t *env);
+axis2_ws_info_get_file_name(
+ const axis2_ws_info_t *ws_info,
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
-axis2_ws_info_set_file_name(axis2_ws_info_t *ws_info,
- const axis2_env_t *env,
- axis2_char_t *file_name);
+axis2_ws_info_set_file_name(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env,
+ axis2_char_t *file_name);
long AXIS2_CALL
-axis2_ws_info_get_last_modified_date(axis2_ws_info_t *ws_info,
- const axis2_env_t *env);
+axis2_ws_info_get_last_modified_date(
+ const axis2_ws_info_t *ws_info,
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
-axis2_ws_info_set_last_modified_date(axis2_ws_info_t *ws_info,
- const axis2_env_t *env,
- long last_modified_date);
+axis2_ws_info_set_last_modified_date(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env,
+ long last_modified_date);
int AXIS2_CALL
-axis2_ws_info_get_type(axis2_ws_info_t *ws_info,
- const axis2_env_t *env);
-
+axis2_ws_info_get_type(
+ const axis2_ws_info_t *ws_info,
+ const axis2_env_t *env);
-
/************************** End of function prototypes ************************/
-axis2_ws_info_t * AXIS2_CALL
-axis2_ws_info_create_with_file_name_and_last_modified_date (const axis2_env_t *env,
- axis2_char_t *file_name,
- long last_modified_date)
+axis2_ws_info_t *AXIS2_CALL
+axis2_ws_info_create_with_file_name_and_last_modified_date(
+ const axis2_env_t *env,
+ axis2_char_t *file_name,
+ long last_modified_date)
{
axis2_ws_info_impl_t *ws_info_impl = NULL;
@@ -125,12 +128,12 @@
return &(ws_info_impl->ws_info);
}
-axis2_ws_info_t * AXIS2_CALL
-axis2_ws_info_create_with_file_name_and_last_modified_date_and_type (
- const axis2_env_t *env,
- axis2_char_t *file_name,
- long last_modified_date,
- int type)
+axis2_ws_info_t *AXIS2_CALL
+axis2_ws_info_create_with_file_name_and_last_modified_date_and_type(
+ const axis2_env_t *env,
+ axis2_char_t *file_name,
+ long last_modified_date,
+ int type)
{
axis2_ws_info_impl_t *ws_info_impl = NULL;
@@ -153,8 +156,9 @@
/***************************Function implementation****************************/
axis2_status_t AXIS2_CALL
-axis2_ws_info_free (axis2_ws_info_t *ws_info,
- const axis2_env_t *env)
+axis2_ws_info_free(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env)
{
axis2_ws_info_impl_t *ws_info_impl = NULL;
@@ -184,17 +188,19 @@
}
axis2_char_t *AXIS2_CALL
-axis2_ws_info_get_file_name(axis2_ws_info_t *ws_info,
- const axis2_env_t *env)
+axis2_ws_info_get_file_name(
+ const axis2_ws_info_t *ws_info,
+ const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, NULL);
return AXIS2_INTF_TO_IMPL(ws_info)->file_name;
}
axis2_status_t AXIS2_CALL
-axis2_ws_info_set_file_name(axis2_ws_info_t *ws_info,
- const axis2_env_t *env,
- axis2_char_t *file_name)
+axis2_ws_info_set_file_name(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env,
+ axis2_char_t *file_name)
{
axis2_ws_info_impl_t *ws_info_impl = NULL;
@@ -212,8 +218,9 @@
}
long AXIS2_CALL
-axis2_ws_info_get_last_modified_date(axis2_ws_info_t *ws_info,
- const axis2_env_t *env)
+axis2_ws_info_get_last_modified_date(
+ const axis2_ws_info_t *ws_info,
+ const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -221,9 +228,10 @@
}
axis2_status_t AXIS2_CALL
-axis2_ws_info_set_last_modified_date(axis2_ws_info_t *ws_info,
- const axis2_env_t *env,
- long last_modified_date)
+axis2_ws_info_set_last_modified_date(
+ axis2_ws_info_t *ws_info,
+ const axis2_env_t *env,
+ long last_modified_date)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_INTF_TO_IMPL(ws_info)->last_modified_date = last_modified_date;
@@ -231,8 +239,9 @@
}
int AXIS2_CALL
-axis2_ws_info_get_type(axis2_ws_info_t *ws_info,
- const axis2_env_t *env)
+axis2_ws_info_get_type(
+ const axis2_ws_info_t *ws_info,
+ const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
return AXIS2_INTF_TO_IMPL(ws_info)->type;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org