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 da...@apache.org on 2006/12/08 10:24:52 UTC

svn commit: r483894 - /webservices/sandesha/trunk/c/include/sandesha2_rm_bean.h

Author: damitha
Date: Fri Dec  8 01:24:48 2006
New Revision: 483894

URL: http://svn.apache.org/viewvc?view=rev&rev=483894
Log:
added missing file

Added:
    webservices/sandesha/trunk/c/include/sandesha2_rm_bean.h

Added: webservices/sandesha/trunk/c/include/sandesha2_rm_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2_rm_bean.h?view=auto&rev=483894
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2_rm_bean.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2_rm_bean.h Fri Dec  8 01:24:48 2006
@@ -0,0 +1,107 @@
+/*
+ * 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_RM_BEAN_H
+#define SANDESHA2_RM_BEAN_H
+
+#include <axis2_qname.h>
+#include <axis2_env.h>
+#include <axis2_utils.h>
+#include <axis2_utils_defines.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_rm_bean sandesha2_rm_bean_t;
+typedef struct sandesha2_rm_bean_ops sandesha2_rm_bean_ops_t;
+struct sandesha2_transaction;
+
+AXIS2_DECLARE_DATA struct sandesha2_rm_bean_ops
+{
+    void (AXIS2_CALL *
+            free) ( 
+                sandesha2_rm_bean_t *rm_bean,
+                const axis2_env_t *env);
+    
+    void (AXIS2_CALL *
+            set_id) ( 
+                sandesha2_rm_bean_t *rm_bean,
+                const axis2_env_t *env, 
+                long id);
+
+    long (AXIS2_CALL *
+            get_id) ( 
+                sandesha2_rm_bean_t *rm_bean,
+                const axis2_env_t *env);
+
+    void (AXIS2_CALL *
+            set_transaction) ( 
+                sandesha2_rm_bean_t *rm_bean,
+                const axis2_env_t *env, 
+                struct sandesha2_transaction *transaction);
+
+    struct sandesha2_transaction *(AXIS2_CALL *
+            get_transaction) ( 
+                sandesha2_rm_bean_t *rm_bean,
+                const axis2_env_t *env);
+};
+
+AXIS2_DECLARE_DATA struct sandesha2_rm_bean
+{
+    const sandesha2_rm_bean_ops_t *ops;
+};
+
+/* constructors 
+ */
+AXIS2_EXTERN sandesha2_rm_bean_t* AXIS2_CALL
+sandesha2_rm_bean_create(
+    const axis2_env_t *env);
+
+void AXIS2_CALL
+sandesha2_rm_bean_free( 
+    sandesha2_rm_bean_t *rm_bean,
+	const axis2_env_t *env);
+
+void AXIS2_CALL
+sandesha2_rm_bean_set_id( 
+    sandesha2_rm_bean_t *rm_bean,
+	const axis2_env_t *env, 
+    long id);
+
+long AXIS2_CALL
+sandesha2_rm_bean_get_id( 
+    sandesha2_rm_bean_t *rm_bean,
+	const axis2_env_t *env);
+
+void AXIS2_CALL
+sandesha2_rm_bean_set_transaction( 
+    sandesha2_rm_bean_t *rm_bean,
+	const axis2_env_t *env, 
+    struct sandesha2_transaction *transaction);
+
+struct sandesha2_transaction *AXIS2_CALL
+sandesha2_rm_bean_get_transaction( 
+    sandesha2_rm_bean_t *rm_bean,
+	const axis2_env_t *env);
+
+#ifdef __cplusplus
+}
+
+#endif
+	
+#endif /* End of SANDESHA2_RM_BEAN_H */



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org