You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by sa...@apache.org on 2006/07/10 23:00:18 UTC
svn commit: r420631 [1/3] - in /webservices/sandesha/trunk/c: ./
include/sandesha2/ src/ src/msgprocessors/ src/storage/beans/
src/transport/ src/util/ src/workers/
Author: sahan
Date: Mon Jul 10 14:00:16 2006
New Revision: 420631
URL: http://svn.apache.org/viewvc?rev=420631&view=rev
Log:
1. Renaming *sequnce_property* stuff to *seq_property*
2. Adding transport senders
3. Adding in_order_invoker
4. Adding utils stuff
5. Adding msg_ctx
6. Modifying app_msg_processor
Added:
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_in_order_invoker.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_ctx.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_property_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean_manager.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_storage_manager.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transaction.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transport_sender.h
webservices/sandesha/trunk/c/src/msg_ctx.c
webservices/sandesha/trunk/c/src/transport/
webservices/sandesha/trunk/c/src/transport/Makefile.am
webservices/sandesha/trunk/c/src/transport/sandesha2_transport_sender.c
webservices/sandesha/trunk/c/src/workers/
webservices/sandesha/trunk/c/src/workers/Makefile.am
webservices/sandesha/trunk/c/src/workers/in_order_invoker.c
Removed:
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean_manager.h
webservices/sandesha/trunk/c/src/storage/beans/sequence_property_bean.c
Modified:
webservices/sandesha/trunk/c/configure.ac
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_app_msg_processor.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_error.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_iom_rm_part.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_processor.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_spec_specific_consts.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_utils.h
webservices/sandesha/trunk/c/src/Makefile.am
webservices/sandesha/trunk/c/src/msgprocessors/Makefile.am
webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c
webservices/sandesha/trunk/c/src/storage/beans/Makefile.am
webservices/sandesha/trunk/c/src/util/spec_specific_consts.c
webservices/sandesha/trunk/c/src/util/utils.c
Modified: webservices/sandesha/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/configure.ac?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/configure.ac (original)
+++ webservices/sandesha/trunk/c/configure.ac Mon Jul 10 14:00:16 2006
@@ -68,6 +68,10 @@
AC_CONFIG_FILES([Makefile
src/Makefile \
src/wsrm/Makefile\
+ src/transport/Makefile\
+ src/workers/Makefile\
+ src/msgprocessors/Makefile\
+ src/util/Makefile\
src/storage/Makefile\
src/storage/beans/Makefile\
])
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_app_msg_processor.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_app_msg_processor.h?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_app_msg_processor.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_app_msg_processor.h Mon Jul 10 14:00:16 2006
@@ -39,7 +39,7 @@
AXIS2_EXTERN sandesha2_msg_processor_t* AXIS2_CALL
sandesha2_app_msg_processor_create(
- axis2_env_t **env,
+ const axis2_env_t *env,
sandesha2_msg_ctx_t *rm_msg_ctx);
/** @} */
#ifdef __cplusplus
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h Mon Jul 10 14:00:16 2006
@@ -426,8 +426,9 @@
#define SANDESHA2_SET_SEND_TO_TRUE "Sandesha2SetSendToTrue"
#define SANDESHA2_MESSAGE_TYPE "Sandesha2MessageType"
-
- #define SANDESHA2_QUALIFIED_FOR_SENDING "Sandesha2QualifiedForSending" //Sender will send messages only if this property is null (not set) or true.
+
+ /*Sender will send messages only if this property is null (not set) or true.*/
+ #define SANDESHA2_QUALIFIED_FOR_SENDING "Sandesha2QualifiedForSending"
#define SANDESHA2_QNAME_SEPERATOR ","
@@ -445,7 +446,7 @@
#define SANDESHA2_PERMANENT_STORAGE_MANAGER "persistent"
- #define SANDESHA2_DEFAULT_STORAGE_MANAGER INMEMORY_STORAGE_MANAGER
+ #define SANDESHA2_DEFAULT_STORAGE_MANAGER "inmemory"
#define SANDESHA2_SENDER "Sender"
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_error.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_error.h?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_error.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_error.h Mon Jul 10 14:00:16 2006
@@ -58,7 +58,29 @@
/* Ack Final now allowed in the spec */
SANDESHA2_ERROR_ACK_FINAL_NOT_ALLOWED,
/* Ack None now allowed in the spec */
- SANDESHA2_ERROR_ACK_NONE_NOT_ALLOWED
+ SANDESHA2_ERROR_ACK_NONE_NOT_ALLOWED,
+ /* unknown storage manager */
+ SANDESHA2_ERROR_UNKNOWN_STORAGE_MANAGER,
+ /* Sandesha configuration is not set in axis2 conf*/
+ SANDESHA2_ERROR_CONFIGURATION_NOT_SET,
+ /* NULL msg context */
+ SANDESHA2_ERROR_NULL_MSG_CTX,
+ /* Error occured while sending fault */
+ SANDESHA2_ERROR_SENDING_FAULT,
+ /* Invalid message number specified */
+ SANDESHA2_ERROR_INVALID_MSG_NUM,
+ /* Specified sequence does not exist */
+ SANDESHA2_ERROR_SEQ_NOT_EXIST,
+ /* RM Spec version is invalid */
+ SANDESHA2_ERROR_INVALID_SPEC_VERSION,
+ /* NULL axis2 configuration context */
+ SANDESHA2_ERROR_NULL_CONF_CTX,
+ /* Error occured while sending ack */
+ SANDESHA2_ERROR_SENDING_ACK,
+ /* NULL to epr is specified */
+ SANDESHA2_ERROR_NULL_TO,
+ /* NULL sequnce given for processing */
+ SANDESHA2_ERROR_NULL_SEQUENCE
};
/** @} */
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_in_order_invoker.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_in_order_invoker.h?rev=420631&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_in_order_invoker.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_in_order_invoker.h Mon Jul 10 14:00:16 2006
@@ -0,0 +1,122 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef SANDESHA2_IN_ORDER_INVOKER_H
+#define SANDESHA2_IN_ORDER_INVOKER_H
+
+/**
+ * @file sandesha2_in_order_invoker.h
+ * @brief
+ */
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_conf_ctx.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @ingroup sandesha2_in_order_invoker
+ * @{
+ */
+
+ typedef struct sandesha2_in_order_invoker_ops sandesha2_in_order_invoker_ops_t;
+ typedef struct sandesha2_in_order_invoker sandesha2_in_order_invoker_t;
+ /**
+ * @brief Sandesha2 InOrder Invoker ops struct
+ * Encapsulator struct for ops of sandesha2_in_order_invoker
+ */
+AXIS2_DECLARE_DATA struct sandesha2_in_order_invoker_ops
+{
+
+ axis2_status_t (AXIS2_CALL *
+ stop_invoker_for_seq)
+ (sandesha2_in_order_invoker_t *invoker,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id);
+
+ axis2_status_t (AXIS2_CALL *
+ stop_invoking)
+ (sandesha2_in_order_invoker_t *invoker,
+ const axis2_env_t *env);
+
+ axis2_bool_t (AXIS2_CALL *
+ is_invoker_started)
+ (sandesha2_in_order_invoker_t *invoker,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ run_invoker_for_seq)
+ (sandesha2_in_order_invoker_t *invoker,
+ const axis2_env_t *env,
+ axis2_conf_ctx_t *conf_ctx,
+ axis2_char_t *seq_id);
+
+ axis2_status_t (AXIS2_CALL *
+ run)
+ (sandesha2_in_order_invoker_t *invoker,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ free)
+ (sandesha2_in_order_invoker_t *invoker,
+ const axis2_env_t *env);
+};
+
+/**
+ * @brief sandesha2_in_order_invoker_ops
+ * sandesha2_in_order_invoker_ops
+ */
+AXIS2_DECLARE_DATA struct sandesha2_in_order_invoker
+{
+ sandesha2_in_order_invoker_ops_t *ops;
+};
+
+AXIS2_EXTERN sandesha2_in_order_invoker_t* AXIS2_CALL
+sandesha2_in_order_invoker_create(
+ const axis2_env_t *env);
+
+/************************** Start of function macros **************************/
+#define SANDESHA2_IN_ORDER_INVOKER_FREE(invoker, env) \
+ ((invoker)->ops->free (invoker, env))
+
+#define SANDESHA2_IN_ORDER_INVOKER_STOP_INVOKER_FOR_SEQ(invoker, env, id) \
+ ((invoker)->ops->stop_invoker_for_seq(invoker, env, id))
+
+#define SANDESHA2_IN_ORDER_INVOKER_STOP_INVOKING(invoker, env) \
+ ((invoker)->ops->stop_invoking(invoker, env))
+
+#define SANDESHA2_IN_ORDER_INVOKER_IS_INVOKER_STARTED(invoker, env) \
+ ((invoker)->ops->is_invoker_started(invoker, env))
+
+#define SANDESHA2_IN_ORDER_INVOKER_RUN_INVOKER_FOR_SEQ(invoker, env, \
+ conf_ctx, id) \
+ ((invoker)->ops->run_invoker_for_seq(invoker, env, conf_ctx, id))
+
+#define SANDESHA2_IN_ORDER_INVOKER_RUN(invoker, env) \
+ ((invoker)->ops->run(invoker, env))
+/************************** End of function macros ****************************/
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*SANDESHA2_IN_ORDER_INVOKER_H*/
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_iom_rm_part.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_iom_rm_part.h?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_iom_rm_part.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_iom_rm_part.h Mon Jul 10 14:00:16 2006
@@ -65,7 +65,7 @@
/************************** Start of function macros **************************/
#define SANDESHA2_IOM_RM_PART_TO_SOAP_ENVELOPE(part, env, envelope) \
- ((part)->ops-> (part, env, envelope))
+ ((part)->ops->to_soap_env(part, env, envelope))
#define SANDESHA2_IOM_RM_PART_FREE(part, env) \
((part)->element.ops->free (part, env))
/************************** End of function macros ****************************/
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_ctx.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_ctx.h?rev=420631&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_ctx.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_ctx.h Mon Jul 10 14:00:16 2006
@@ -0,0 +1,361 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef SANDESHA2_MSG_CTX_H
+#define SANDESHA2_MSG_CTX_H
+
+/**
+ * @file sandesha2_msg_ctx.h
+ * @brief
+ */
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axiom_soap_envelope.h>
+#include <axis2_msg_ctx.h>
+#include <axis2_endpoint_ref.h>
+#include <axis2_relates_to.h>
+#include <sandesha2/sandesha2_iom_rm_part.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @ingroup sandesha2_msg_ctx
+ * @{
+ */
+
+ typedef struct sandesha2_msg_ctx_ops sandesha2_msg_ctx_ops_t;
+ typedef struct sandesha2_msg_ctx sandesha2_msg_ctx_t;
+ /**
+ * @brief Sandesha2 Msg Context ops struct
+ * Encapsulator struct for ops of sandesha2_msg_ctx
+ */
+AXIS2_DECLARE_DATA struct sandesha2_msg_ctx_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ set_msg_ctx)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx);
+
+ axis2_msg_ctx_t *(AXIS2_CALL *
+ get_msg_ctx)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ add_soap_envelope)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ int (AXIS2_CALL *
+ get_msg_type)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_msg_type)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ int msg_type);
+
+ axis2_status_t (AXIS2_CALL *
+ set_msg_part)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ int part_id,
+ sandesha2_iom_rm_part_t *part);
+
+ sandesha2_iom_rm_part_t *(AXIS2_CALL *
+ get_msg_part)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ int part_id);
+
+ axis2_endpoint_ref_t *(AXIS2_CALL *
+ get_from)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_from)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_endpoint_ref_t *from);
+
+ axis2_endpoint_ref_t *(AXIS2_CALL *
+ get_to)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_to)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_endpoint_ref_t *to);
+
+ axis2_endpoint_ref_t *(AXIS2_CALL *
+ get_reply_to)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_reply_to)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_endpoint_ref_t *reply_to);
+
+ axis2_endpoint_ref_t *(AXIS2_CALL *
+ get_fault_to)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_fault_to)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_endpoint_ref_t *fault_to);
+
+ axis2_relates_to_t *(AXIS2_CALL *
+ get_relates_to)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_relates_to)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_relates_to_t *relates_to);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_msg_id)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_msg_id)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_char_t *msg_id);
+
+ axiom_soap_envelope_t *(AXIS2_CALL *
+ get_soap_envelope)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_soap_envelope)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axiom_soap_envelope_t *soap_envelope);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_wsa_action)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_wsa_action)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_char_t *action);
+
+ void *(AXIS2_CALL *
+ get_property)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_char_t *key);
+
+ axis2_status_t (AXIS2_CALL *
+ set_property)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_char_t *key,
+ void *val);
+
+ axis2_status_t (AXIS2_CALL *
+ set_soap_action)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_char_t *soap_action);
+
+ axis2_status_t (AXIS2_CALL *
+ set_paused)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_bool_t paused);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_rm_ns_val)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_rm_ns_val)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_char_t *ns_val);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_addr_ns_val)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_addr_ns_val)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ axis2_char_t *ns_val);
+
+ int (AXIS2_CALL *
+ get_flow)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_flow)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env,
+ int flow);
+
+ axis2_status_t (AXIS2_CALL *
+ free)
+ (sandesha2_msg_ctx_t *rm_msg_ctx,
+ const axis2_env_t *env);
+};
+
+/**
+ * @brief sandesha2_msg_ctx_ops
+ * sandesha2_msg_ctx_ops
+ */
+AXIS2_DECLARE_DATA struct sandesha2_msg_ctx
+{
+ sandesha2_msg_ctx_ops_t *ops;
+};
+
+AXIS2_EXTERN sandesha2_msg_ctx_t* AXIS2_CALL
+sandesha2_msg_ctx_create(
+ const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx);
+
+/************************** Start of function macros **************************/
+#define SANDESHA2_MSG_CTX_FREE(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->free (rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_MSG_CTX(rm_msg_ctx, env, msg_ctx) \
+ ((rm_msg_ctx)->ops->set_msg_ctx(rm_msg_ctx, env, msg_ctx))
+
+#define SANDESHA2_MSG_CTX_GET_MSG_CTX(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_msg_ctx(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_ADD_SOAP_ENVELOPE(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->add_soap_envelope(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_MSG_TYPE(rm_msg_ctx, env, msg_type) \
+ ((rm_msg_ctx)->ops->set_msg_type(rm_msg_ctx, env, msg_type))
+
+#define SANDESHA2_MSG_CTX_GET_MSG_TYPE(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_msg_type(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_MSG_PART(rm_msg_ctx, env, id, part) \
+ ((rm_msg_ctx)->ops->set_msg_part(rm_msg_ctx, env, id, part))
+
+#define SANDESHA2_MSG_CTX_GET_MSG_PART(rm_msg_ctx, env, id) \
+ ((rm_msg_ctx)->ops->get_msg_part(rm_msg_ctx, env, id))
+
+#define SANDESHA2_MSG_CTX_SET_FROM(rm_msg_ctx, env, from) \
+ ((rm_msg_ctx)->ops->set_from(rm_msg_ctx, env, from))
+
+#define SANDESHA2_MSG_CTX_GET_FROM(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_from(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_TO(rm_msg_ctx, env, to) \
+ ((rm_msg_ctx)->ops->set_to(rm_msg_ctx, env, to))
+
+#define SANDESHA2_MSG_CTX_GET_TO(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_to(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_FAULT_TO(rm_msg_ctx, env, fault_to) \
+ ((rm_msg_ctx)->ops->set_fault_to(rm_msg_ctx, env, fault_to))
+
+#define SANDESHA2_MSG_CTX_GET_FAULT_TO(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_fault_to(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_RELATES_TO(rm_msg_ctx, env, relates_to) \
+ ((rm_msg_ctx)->ops->set_relates_to(rm_msg_ctx, env, relates_to))
+
+#define SANDESHA2_MSG_CTX_GET_RELATES_TO(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_relates_to(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_MSG_ID(rm_msg_ctx, env, msg_id) \
+ ((rm_msg_ctx)->ops->set_msg_id(rm_msg_ctx, env, msg_id))
+
+#define SANDESHA2_MSG_CTX_GET_MSG_ID(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_msg_id(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_SOAP_ENVELOPE(rm_msg_ctx, env, soap_envelope) \
+ ((rm_msg_ctx)->ops->set_soap_envelope(rm_msg_ctx, env, soap_envelope))
+
+#define SANDESHA2_MSG_CTX_GET_SOAP_ENVELOPE(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_soap_envelope(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_WSA_ACTION(rm_msg_ctx, env, wsa_action) \
+ ((rm_msg_ctx)->ops->set_wsa_action(rm_msg_ctx, env, wsa_action))
+
+#define SANDESHA2_MSG_CTX_GET_WSA_ACTION(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_wsa_action(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_PROPERTY(rm_msg_ctx, env, key, value) \
+ ((rm_msg_ctx)->ops->set_property(rm_msg_ctx, env, key, value))
+
+#define SANDESHA2_MSG_CTX_GET_PROPERTY(rm_msg_ctx, env, key) \
+ ((rm_msg_ctx)->ops->get_property(rm_msg_ctx, env, key))
+
+#define SANDESHA2_MSG_CTX_SET_SOAP_ACTION(rm_msg_ctx, env, soap_action) \
+ ((rm_msg_ctx)->ops->set_soap_action(rm_msg_ctx, env, soap_action))
+
+#define SANDESHA2_MSG_CTX_SET_PAUSED(rm_msg_ctx, env, paused) \
+ ((rm_msg_ctx)->ops->set_paused(rm_msg_ctx, env, paused))
+
+#define SANDESHA2_MSG_CTX_SET_RM_NS_VAL(rm_msg_ctx, env, ns_val) \
+ ((rm_msg_ctx)->ops->set_rm_ns_val(rm_msg_ctx, env, ns_val))
+
+#define SANDESHA2_MSG_CTX_GET_RM_NS_VAL(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_rm_ns_val(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_ADDR_NS_VAL(rm_msg_ctx, env, ns_val) \
+ ((rm_msg_ctx)->ops->set_addr_ns_val(rm_msg_ctx, env, ns_val))
+
+#define SANDESHA2_MSG_CTX_GET_ADDR_NS_VAL(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_addr_ns_val(rm_msg_ctx, env))
+
+#define SANDESHA2_MSG_CTX_SET_FLOW(rm_msg_ctx, env, flow) \
+ ((rm_msg_ctx)->ops->set_flow(rm_msg_ctx, env, flow))
+
+#define SANDESHA2_MSG_CTX_GET_FLOW(rm_msg_ctx, env) \
+ ((rm_msg_ctx)->ops->get_flow(rm_msg_ctx, env))
+/************************** End of function macros ****************************/
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*SANDESHA2_MSG_CTX_H*/
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_processor.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_processor.h?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_processor.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_msg_processor.h Mon Jul 10 14:00:16 2006
@@ -26,6 +26,7 @@
#include <axis2_env.h>
#include <axiom_soap_envelope.h>
#include <axiom_element.h>
+#include <sandesha2/sandesha2_msg_ctx.h>
#ifdef __cplusplus
@@ -48,18 +49,18 @@
{
axis2_status_t (AXIS2_CALL *
process_in_msg)(
- sandesha2__msg_processor_t *proc,
- axis2_env_t *env,
+ sandesha2_msg_processor_t *proc,
+ const axis2_env_t *env,
sandesha2_msg_ctx_t *rm_msg_ctx);
axis2_status_t (AXIS2_CALL *
process_out_msg)(
- sandesha2__msg_processor_t *proc,
- axis2_env_t *env,
+ sandesha2_msg_processor_t *proc,
+ const axis2_env_t *env,
sandesha2_msg_ctx_t *rm_msg_ctx);
axis2_status_t (AXIS2_CALL *free) (sandesha2_msg_processor_t *proc,
- axis2_env_t **env);
+ const axis2_env_t *env);
};
/**
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_property_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_property_bean.h?rev=420631&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_property_bean.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_property_bean.h Mon Jul 10 14:00:16 2006
@@ -0,0 +1,251 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef SANDESHA2_PROPERTY_BEAN_H
+#define SANDESHA2_PROPERTY_BEAN_H
+
+/**
+ * @file sandesha2_property_bean.h
+ * @brief
+ */
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_array_list.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @ingroup sandesha2_property_bean
+ * @{
+ */
+
+ typedef struct sandesha2_property_bean_ops sandesha2_property_bean_ops_t;
+ typedef struct sandesha2_property_bean sandesha2_property_bean_t;
+ /**
+ * @brief Sandesha2 Property Bean ops struct
+ * Encapsulator struct for ops of sandesha2_property_bean
+ */
+AXIS2_DECLARE_DATA struct sandesha2_property_bean_ops
+{
+
+ long (AXIS2_CALL *
+ get_inactive_timeout_interval)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_inactive_timeout_interval)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ long interval);
+
+ axis2_status_t (AXIS2_CALL *
+ set_inactive_timeout_interval_with_units)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ long interval,
+ axis2_char_t *units);
+
+ long (AXIS2_CALL *
+ get_ack_interval)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_ack_interval)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ long interval);
+
+ long (AXIS2_CALL *
+ get_retrans_interval)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_retrans_interval)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ long interval);
+
+ axis2_bool_t (AXIS2_CALL *
+ is_exp_backoff)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_exp_backoff)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ axis2_bool_t exp_backoff);
+
+ axis2_char_t* (AXIS2_CALL *
+ get_in_mem_storage_manager)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_in_mem_storage_manager)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ axis2_char_t *manager);
+
+ axis2_char_t* (AXIS2_CALL *
+ get_permanent_storage_manager)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_permanent_storage_manager)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ axis2_char_t *manager);
+
+ axis2_bool_t (AXIS2_CALL *
+ is_in_order)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_in_order)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ axis2_bool_t in_order);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ get_msg_types_to_drop)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_msg_types_to_drop)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ axis2_array_list_t *msg_types);
+
+ axis2_status_t (AXIS2_CALL *
+ add_msg_type_to_drop)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ int msg_type);
+
+ int (AXIS2_CALL *
+ get_max_retrans_count)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_max_retrans_count)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env,
+ int count);
+
+ axis2_status_t (AXIS2_CALL *
+ free)
+ (sandesha2_property_bean_t *bean,
+ const axis2_env_t *env);
+};
+
+/**
+ * @brief sandesha2_property_bean_ops
+ * sandesha2_property_bean_ops
+ */
+AXIS2_DECLARE_DATA struct sandesha2_property_bean
+{
+ sandesha2_property_bean_ops_t *ops;
+};
+
+AXIS2_EXTERN sandesha2_property_bean_t* AXIS2_CALL
+sandesha2_property_bean_create(
+ const axis2_env_t *env);
+
+/************************** Start of function macros **************************/
+#define SANDESHA2_PROPERTY_BEAN_FREE(bean, env) \
+ ((bean)->ops->free (bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_GET_INACTIVE_TIMEOUT_INTERVAL(bean, env)\
+ ((bean)->ops->get_inactive_timeout_interval(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_INACTIVE_TIMEOUT_INTERVAL(bean, env, interval)\
+ ((bean)->ops->set_inactive_timeout_interval(bean, env, interval))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_INACTIVE_TIMEOUT_INTERVAL_WITH_UNITS(bean, \
+ env, interval, units)\
+ ((bean)->ops->set_inactive_timeout_interval_with_units(bean, \
+ env, interval, units))
+
+#define SANDESHA2_PROPERTY_BEAN_GET_ACK_INTERVAL(bean, env)\
+ ((bean)->ops->get_ack_interval(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_ACK_INTERVAL(bean, env, interval)\
+ ((bean)->ops->set_ack_interval(bean, env, interval))
+
+#define SANDESHA2_PROPERTY_BEAN_GET_RETRANS_INTERVAL(bean, env)\
+ ((bean)->ops->get_retrans_interval(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_RETRANS_INTERVAL(bean, env, interval)\
+ ((bean)->ops->set_retrans_interval(bean, env, interval))
+
+#define SANDESHA2_PROPERTY_BEAN_IS_EXP_BACKOFF(bean, env)\
+ ((bean)->ops->is_exp_backoff(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_EXP_BACKOFF(bean, env, backoff)\
+ ((bean)->ops->set_exp_backoff(bean, env, backoff))
+
+#define SANDESHA2_PROPERTY_BEAN_GET_IN_MEM_STORAGE_MANAGER(bean, env)\
+ ((bean)->ops->get_in_mem_storage_manager(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_IN_MEM_STORAGE_MANAGER(bean, env, manager)\
+ ((bean)->ops->set_in_mem_storage_manager(bean, env, manager))
+
+#define SANDESHA2_PROPERTY_BEAN_GET_PERMENENT_STORAGE_MANAGER(bean, env)\
+ ((bean)->ops->get_permanent_storage_manager(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_PERMENENT_STORAGE_MANAGER(bean, env, manager)\
+ ((bean)->ops->get_permanent_storage_manager(bean, env, manager))
+
+#define SANDESHA2_PROPERTY_BEAN_IS_IN_ORDER(bean, env)\
+ ((bean)->ops->is_in_order(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_IN_ORDER(bean, env, in_order)\
+ ((bean)->ops->set_in_order(bean, env, in_order))
+
+#define SANDESHA2_PROPERTY_BEAN_GET_MSG_TYPES_TO_DROP(bean, env)\
+ ((bean)->ops->get_msg_types_to_drop(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_MSG_TYPES_TO_DROP(bean, env, msg_types)\
+ ((bean)->ops->set_msg_types_to_drop(bean, env, msg_types))
+
+#define SANDESHA2_PROPERTY_BEAN_ADD_MSG_TYPE_TO_DROP(bean, env, msg_type)\
+ ((bean)->ops->add_msg_type_to_drop(bean, env, msg_type))
+
+#define SANDESHA2_PROPERTY_BEAN_GET_MAX_RETRANS_COUNT(bean, env)\
+ ((bean)->ops->get_max_retrans_count(bean, env))
+
+#define SANDESHA2_PROPERTY_BEAN_SET_MAX_RETRANS_COUNT(bean, env, count)\
+ ((bean)->ops->set_max_retrans_count(bean, env, count))
+/************************** End of function macros ****************************/
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*SANDESHA2_PROPERTY_BEAN_H*/
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h Mon Jul 10 14:00:16 2006
@@ -198,10 +198,7 @@
#define SANDESHA2_SENDER_BEAN_GET_MSG_TYPE(sender_bean, env) \
((sender_bean)->ops->get_msg_type(sender_bean, env)
-
-#define SANDESHA2_SENDER_BEAN_GET_MSG_TYPE(sender_bean, env) \
- ((sender_bean)->ops->get_msg_type(sender_bean, env)
-
+
#define SANDESHA2_SENDER_BEAN_SET_MSG_TYPE(sender_bean, env, msg_type) \
((sender_bean)->ops->set_msg_type(sender_bean, env, msg_type)
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean.h?rev=420631&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean.h Mon Jul 10 14:00:16 2006
@@ -0,0 +1,109 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_SEQ_PROPERTY_BEAN_H
+#define SANDESHA2_SEQ_PROPERTY_BEAN_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_seq_property_bean sandesha2_seq_property_bean_t ;
+typedef struct sandesha2_seq_property_bean_ops sandesha2_seq_property_bean_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_seq_property_bean_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (struct sandesha2_seq_property_bean *seq_property,
+ const axis2_env_t *env);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_name) (struct sandesha2_seq_property_bean *seq_property,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_name) (struct sandesha2_seq_property_bean *seq_property,
+ const axis2_env_t *env,
+ axis2_char_t *name);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_sequence_id) (struct sandesha2_seq_property_bean *seq_property,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_sequence_id) (struct sandesha2_seq_property_bean *seq_property,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_value) (struct sandesha2_seq_property_bean *seq_property,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_value) (struct sandesha2_seq_property_bean *seq_property,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+};
+
+AXIS2_DECLARE_DATA struct sandesha2_seq_property_bean{
+ sandesha2_seq_property_bean_ops_t *ops;
+};
+
+/* constructors
+ */
+
+AXIS2_EXTERN sandesha2_seq_property_bean_t* AXIS2_CALL
+ sandesha2_seq_property_bean_create(const axis2_env_t *env);
+
+AXIS2_EXTERN sandesha2_seq_property_bean_t* AXIS2_CALL
+ sandesha2_seq_property_bean_create_with_data(const axis2_env_t *env,
+ axis2_char_t *seq_id,
+ axis2_char_t *prop_name,
+ axis2_char_t *value);
+
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_FREE(seq_prop_bean, env) \
+ ((seq_prop_bean)->ops->free(seq_prop_bean, env))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_GET_NAME(seq_prop_bean, env) \
+ ((seq_prop_bean)->ops->get_name(seq_prop_bean, env))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_SET_NAME(seq_prop_bean, env, name) \
+ ((seq_prop_bean)->ops->set_name(seq_prop_bean, env, name))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_GET_SEQUENCE_ID(seq_prop_bean, env) \
+ ((seq_prop_bean)->ops->get_sequence_id(seq_prop_bean, env))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_SET_SEQUENCE_ID(seq_prop_bean, env, seq_id) \
+ ((seq_prop_bean)->ops->set_sequence_id(seq_prop_bean, env, seq_id))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_GET_VALUE(seq_prop_bean, env) \
+ ((seq_prop_bean)->ops->get_value(seq_prop_bean, env))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_SET_VALUE(seq_prop_bean, env, value) \
+ ((seq_prop_bean)->ops->set_value(seq_prop_bean, env, value))
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_SEQ_PROPERTY_BEAN_H */
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean_manager.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean_manager.h?rev=420631&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean_manager.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_seq_property_bean_manager.h Mon Jul 10 14:00:16 2006
@@ -0,0 +1,130 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_H
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_array_list.h>
+
+#include <sandesha2/sandesha2_seq_property_bean.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_seq_property_bean_manager sandesha2_seq_property_bean_manager_t;
+typedef struct sandesha2_seq_property_bean_manager_ops sandesha2_seq_property_bean_manager_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_seq_property_bean_manager_ops
+{
+
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env);
+
+ axis2_bool_t (AXIS2_CALL *
+ insert) (sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_seq_property_bean_t *prop_bean);
+
+
+ axis2_bool_t (AXIS2_CALL *
+ delete) (sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id,
+ axis2_char_t *name);
+
+ sandesha2_seq_property_bean_t* (AXIS2_CALL *
+ retrieve) (sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id,
+ axis2_char_t *name);
+
+ axis2_bool_t (AXIS2_CALL *
+ update) ( sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_seq_property_bean_t *prop_bean);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ find) (sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_seq_property_bean_t *prop_bean);
+
+ sandesha2_seq_property_bean_t* (AXIS2_CALL *
+ find_unique) (sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_seq_property_bean_t *prop_bean);
+
+ axis2_bool_t (AXIS2_CALL *
+ update_or_insert) (sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_seq_property_bean_t *prop_bean);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ retrieve_all) (sandesha2_seq_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env);
+
+};
+
+
+AXIS2_DECLARE_DATA struct sandesha2_seq_property_bean_manager
+{
+ sandesha2_seq_property_bean_manager_ops_t* ops;
+};
+
+
+/* constructors
+ */
+
+AXIS2_EXTERN sandesha2_seq_property_bean_manager_t* AXIS2_CALL
+ sandesha2_seq_property_bean_manager_create(const axis2_env_t *env);
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_FREE(prop_bean_manager, env) \
+ ((prop_bean_manager)->ops->free(prop_bean_manager, env))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_INSERT(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->insert(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_DELETE(prop_bean_manager, env, seq_id, name) \
+ ((prop_bean_manager)->ops->delete(prop_bean_manager, env, seq_id, name))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_RETRIEVE(prop_bean_manager, env, seq_id, name) \
+ ((prop_bean_manager)->ops->retrieve(prop_bean_manager, env, seq_id, name))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_UPDATE(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->update(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_FIND(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->find(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_FIND_UNIQUE(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->find_unique(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_UPDATE_OR_INSERT(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->update_or_insert(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_RETRIEVE_ALL(prop_bean_manager, env) \
+ ((prop_bean_manager)->ops->retrieve_all(prop_bean_manager, env))
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_SEQ_PROPERTY_BEAN_MANAGER_H*/
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_spec_specific_consts.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_spec_specific_consts.h?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_spec_specific_consts.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_spec_specific_consts.h Mon Jul 10 14:00:16 2006
@@ -36,6 +36,10 @@
AXIS2_EXTERN axis2_char_t* AXIS2_CALL
sandesha2_spec_specific_consts_get_spec_ver_str(const axis2_env_t *env,
axis2_char_t *ns_val);
+
+AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+sandesha2_spec_specific_consts_get_rm_ns_val(const axis2_env_t *env,
+ axis2_char_t *spec_ver);
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
sandesha2_spec_specific_consts_is_ack_final_allowed(const axis2_env_t *env,
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_storage_manager.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_storage_manager.h?rev=420631&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_storage_manager.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_storage_manager.h Mon Jul 10 14:00:16 2006
@@ -0,0 +1,204 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef SANDESHA2_STORAGE_MANAGER_H
+#define SANDESHA2_STORAGE_MANAGER_H
+
+/**
+ * @file sandesha2_storage_manager.h
+ * @brief
+ */
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axiom_soap_envelope.h>
+#include <axis2_conf_ctx.h>
+#include <axis2_module_desc.h>
+#include <sandesha2/sandesha2_transaction.h>
+#include <sandesha2/sandesha2_create_seq_bean_manager.h>
+#include <sandesha2/sandesha2_next_msg_bean_manager.h>
+#include <sandesha2/sandesha2_sender_bean_manager.h>
+#include <sandesha2/sandesha2_seq_property_bean_manager.h>
+#include <sandesha2/sandesha2_invoker_bean_manager.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @ingroup sandesha2_storage_manager
+ * @{
+ */
+
+ typedef struct sandesha2_storage_manager_ops sandesha2_storage_manager_ops_t;
+ typedef struct sandesha2_storage_manager sandesha2_storage_manager_t;
+ /**
+ * @brief Sandesha2 Storage Manager ops struct
+ * Encapsulator struct for ops of sandesha2_storage_manager
+ */
+AXIS2_DECLARE_DATA struct sandesha2_storage_manager_ops
+{
+
+ axis2_conf_ctx_t* (AXIS2_CALL *
+ get_context)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_context)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env,
+ axis2_conf_ctx_t *conf_ctx);
+
+ axis2_status_t (AXIS2_CALL *
+ init_storage)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env,
+ axis2_module_desc_t *module_desc);
+
+ sandesha2_transaction_t* (AXIS2_CALL *
+ get_transaction)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env);
+
+ sandesha2_create_seq_bean_manager_t* (AXIS2_CALL *
+ get_create_seq_bean_manager)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env);
+
+ sandesha2_next_msg_bean_manager_t* (AXIS2_CALL *
+ get_next_msg_bean_manager)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env);
+
+ sandesha2_sender_bean_manager_t* (AXIS2_CALL *
+ get_retrans_bean_manager)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env);
+
+ sandesha2_seq_property_bean_manager_t* (AXIS2_CALL *
+ get_seq_property_bean_manager)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env);
+
+ sandesha2_invoker_bean_manager_t* (AXIS2_CALL *
+ get_storage_map_bean_manager)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ store_msg_ctx)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env,
+ axis2_char_t *storage_key,
+ axis2_msg_ctx_t *msg_ctx);
+
+ axis2_status_t (AXIS2_CALL *
+ update_msg_ctx)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env,
+ axis2_char_t *storage_key,
+ axis2_msg_ctx_t *msg_ctx);
+
+ axis2_msg_ctx_t* (AXIS2_CALL *
+ retrieve_msg_ctx)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env,
+ axis2_char_t *storage_key,
+ axis2_conf_ctx_t *conf_ctx);
+
+ axis2_status_t (AXIS2_CALL *
+ remove_msg_ctx)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env,
+ axis2_char_t *storage_key);
+
+ axis2_status_t (AXIS2_CALL *
+ free)
+ (sandesha2_storage_manager_t *storage_man,
+ const axis2_env_t *env);
+};
+
+/**
+ * @brief sandesha2_storage_manager_ops
+ * sandesha2_storage_manager_ops
+ */
+AXIS2_DECLARE_DATA struct sandesha2_storage_manager
+{
+ sandesha2_storage_manager_ops_t *ops;
+};
+
+AXIS2_EXTERN sandesha2_storage_manager_t* AXIS2_CALL
+sandesha2_storage_manager_create(
+ const axis2_env_t *env,
+ axis2_conf_ctx_t *conf_ctx);
+
+/************************** Start of function macros **************************/
+#define SANDESHA2_STORAGE_MANAGER_FREE(storage_man, env) \
+ ((storage_man)->ops->free (storage_man, env))
+
+#define SANDESHA2_STORAGE_MANAGER_SET_CONEXT(storage_man, env, conf_ctx) \
+ ((storage_man)->ops->set_context(storage_man, env, conf_ctx))
+
+#define SANDESHA2_STORAGE_MANAGER_GET_CONEXT(storage_man, env) \
+ ((storage_man)->ops->get_context(storage_man, env))
+
+#define SANDESHA2_STORAGE_MANAGER_INIT_STORAGE(storage_man, env, module_desc) \
+ ((storage_man)->ops->init_storage(storage_man, env, module_desc))
+
+#define SANDESHA2_STORAGE_MANAGER_GET_TRANSACTION(storage_man, env) \
+ ((storage_man)->ops->get_transaction(storage_man, env))
+
+#define SANDESHA2_STORAGE_MANAGER_GET_CREATE_SEQ_BEAN_MANAGER(storage_man, env)\
+ ((storage_man)->ops->get_create_seq_bean_manager(storage_man, env))
+
+#define SANDESHA2_STORAGE_MANAGER_GET_NEXT_MSG_BEAN_MANAGER(storage_man, env)\
+ ((storage_man)->ops->get_next_msg_bean_manager(storage_man, env))
+
+#define SANDESHA2_STORAGE_MANAGER_GET_RETRANS_BEAN_MANAGER(storage_man, env)\
+ ((storage_man)->ops->get_retrans_bean_manager(storage_man, env))
+
+#define SANDESHA2_STORAGE_MANAGER_GET_SEQ_PROPERTY_BEAN_MANAGER(storage_man, env)\
+ ((storage_man)->ops->get_seq_property_bean_manager(storage_man, env))
+
+#define SANDESHA2_STORAGE_MANAGER_GET_STORAGE_MAP_BEAN_MANAGER(storage_man, env)\
+ ((storage_man)->ops->get_storage_map_bean_manager(storage_man, env))
+
+#define SANDESHA2_STORAGE_MANAGER_STORE_MSG_CTX(storage_man, env, storage_key, \
+ msg_ctx) \
+ ((storage_man)->ops->store_msg_ctx(storage_man, env, storage_key, msg_ctx))
+
+#define SANDESHA2_STORAGE_MANAGER_UPDATE_MSG_CTX(storage_man, env, storage_key,\
+ msg_ctx) \
+ ((storage_man)->ops->update_msg_ctx(storage_man, env, storage_key, msg_ctx))
+
+#define SANDESHA2_STORAGE_MANAGER_RETRIEVE_MSG_CTX(storage_man, env, \
+ storage_key, conf_ctx) \
+ ((storage_man)->ops->retrieve_msg_ctx(storage_man, env, storage_key, \
+ conf_ctx))
+
+#define SANDESHA2_STORAGE_MANAGER_REMOVE_MSG_CTX(storage_man, env, storage_key)\
+ ((storage_man)->ops->remove_msg_ctx(storage_man, env, storage_key))
+/************************** End of function macros ****************************/
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*SANDESHA2_STORAGE_MANAGER_H*/
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transaction.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transaction.h?rev=420631&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transaction.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transaction.h Mon Jul 10 14:00:16 2006
@@ -0,0 +1,94 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef SANDESHA2_TRANSACTION_H
+#define SANDESHA2_TRANSACTION_H
+
+/**
+ * @file sandesha2_transaction.h
+ * @brief
+ */
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_conf_ctx.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @ingroup sandesha2_transaction
+ * @{
+ */
+
+ typedef struct sandesha2_transaction_ops sandesha2_transaction_ops_t;
+ typedef struct sandesha2_transaction sandesha2_transaction_t;
+ /**
+ * @brief Sandesha2 Transaction ops struct
+ * Encapsulator struct for ops of sandesha2_transaction
+ */
+AXIS2_DECLARE_DATA struct sandesha2_transaction_ops
+{
+
+ axis2_status_t (AXIS2_CALL *
+ commit)
+ (sandesha2_transaction_t *transaction,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ rollback)
+ (sandesha2_transaction_t *transaction,
+ const axis2_env_t *env);
+
+ axis2_status_t (AXIS2_CALL *
+ free)
+ (sandesha2_transaction_t *transaction,
+ const axis2_env_t *env);
+};
+
+/**
+ * @brief sandesha2_transaction_ops
+ * sandesha2_transaction_ops
+ */
+AXIS2_DECLARE_DATA struct sandesha2_transaction
+{
+ sandesha2_transaction_ops_t *ops;
+};
+
+AXIS2_EXTERN sandesha2_transaction_t* AXIS2_CALL
+sandesha2_transaction_create(
+ const axis2_env_t *env);
+
+/************************** Start of function macros **************************/
+#define SANDESHA2_TRANSACTION_FREE(transaction, env) \
+ ((transaction)->ops->free (transaction, env))
+
+#define SANDESHA2_TRANSACTION_COMMIT(transaction, env) \
+ ((transaction)->ops->commit(transaction, env))
+
+#define SANDESHA2_TRANSACTION_ROLLBACK(transaction, env) \
+ ((transaction)->ops->rollback(transaction, env))
+/************************** End of function macros ****************************/
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*SANDESHA2_TRANSACTION_H*/
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transport_sender.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transport_sender.h?rev=420631&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transport_sender.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_transport_sender.h Mon Jul 10 14:00:16 2006
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef SANDESHA2_TRANSPORT_SENDER_H
+#define SANDESHA2_TRANSPORT_SENDER_H
+
+/**
+ * @file sandesha2_transport_sender.h
+ * @brief
+ */
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_transport_out_desc.h>
+#include <axis2_transport_sender.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/** @defgroup sandesha2_transport_sender
+ * @ingroup sandesha2_transport
+ * @{
+ */
+
+AXIS2_EXTERN axis2_transport_sender_t* AXIS2_CALL
+sandesha2_transport_sender_create(
+ const axis2_env_t *env);
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* SANDESHA2_TRANSPORT_SENDER_H */
+
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_utils.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_utils.h?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_utils.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_utils.h Mon Jul 10 14:00:16 2006
@@ -22,7 +22,13 @@
* @brief
*/
-
+#include <sandesha2/sandesha2_storage_manager.h>
+#include <axis2_conf_ctx.h>
+#include <axis2_conf.h>
+#include <axiom_soap_envelope.h>
+#include <axis2_qname.h>
+#include <axis2_array_list.h>
+#include <sandesha2/sandesha2_property_bean.h>
#ifdef __cplusplus
extern "C"
@@ -35,7 +41,61 @@
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
sandesha2_utils_remove_soap_body_part(const axis2_env_t *env,
- axiom_soap_envelope_t *envelope, axis2_qname_t *qname);
+ axiom_soap_envelope_t *envelope, axis2_qname_t *qname);
+
+AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+sandesha2_utils_get_rm_version(const axis2_env_t *env,
+ axis2_char_t *key,
+ sandesha2_storage_manager_t *storage_man);
+
+AXIS2_EXTERN sandesha2_storage_manager_t* AXIS2_CALL
+sandesha2_utils_get_storage_manager(const axis2_env_t *env,
+ axis2_conf_ctx_t *conf_ctx,
+ axis2_conf_t *conf);
+
+AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+sandesha2_utils_get_seq_property(const axis2_env_t *env,
+ axis2_char_t *id,
+ axis2_char_t *name,
+ sandesha2_storage_manager_t *storage_man);
+
+AXIS2_EXTERN sandesha2_property_bean_t* AXIS2_CALL
+sandesha2_utils_get_property_bean(const axis2_env_t *env,
+ axis2_conf_t *conf);
+
+AXIS2_EXTERN axis2_array_list_t* AXIS2_CALL
+sandesha2_utils_get_array_list_from_string(const axis2_env_t *env,
+ axis2_char_t *string);
+
+AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+sandesha2_utils_array_list_contains(const axis2_env_t *env,
+ axis2_array_list_t *list,
+ axis2_char_t *string);
+
+AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+sandesha2_utils_array_list_to_string(const axis2_env_t *env,
+ axis2_array_list_t *list);
+
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
+sandesha2_utils_start_invoker_for_seq(const axis2_env_t *env,
+ axis2_conf_ctx_t *conf_ctx,
+ axis2_char_t *seq_id);
+
+AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+sandesha2_utils_get_outgoing_internal_seq_id(const axis2_env_t *env,
+ axis2_char_t *seq_id);
+
+AXIS2_EXTERN axis2_transport_out_desc_t* AXIS2_CALL
+sandesha2_utils_get_transport_out(const axis2_env_t *env);
+
+AXIS2_EXTERN sandesha2_storage_manager_t* AXIS2_CALL
+sandesha2_utils_get_inmemory_storage_manager(const axis2_env_t *env,
+ axis2_conf_ctx_t *conf_ctx);
+
+AXIS2_EXTERN sandesha2_storage_manager_t* AXIS2_CALL
+sandesha2_utils_get_permanent_storage_manager(const axis2_env_t *env,
+ axis2_conf_ctx_t *conf_ctx);
+
/** @} */
#ifdef __cplusplus
}
Modified: webservices/sandesha/trunk/c/src/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/Makefile.am?rev=420631&r1=420630&r2=420631&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/Makefile.am (original)
+++ webservices/sandesha/trunk/c/src/Makefile.am Mon Jul 10 14:00:16 2006
@@ -1 +1,8 @@
-SUBDIRS = wsrm storage
+SUBDIRS = wsrm storage util transport workers
+noinst_LTLIBRARIES = libsandesha2.la
+
+libsandesha2_la_SOURCES = msg_ctx.c
+
+INCLUDES = -I$(top_builddir)/include \
+ @AXIS2INC@
+
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org