axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r326015 [3/4] - in /webservices/axis2/trunk/c: ./ include/ modules/ modules/common/ modules/common/src/ modules/common/test/ modules/core/ modules/core/context/ modules/core/context/src/ modules/core/description/ modules/core/description/sr...
Date Tue, 18 Oct 2005 02:19:37 GMT
Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure.ac?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Mon Oct 17 19:18:27 2005
@@ -1,22 +1,35 @@
 # run autogen.sh to generate the configure script.
 
 AC_PREREQ(2.59)
-AC_INIT(modules/common/src/axis2.c)
-AC_CONFIG_SRCDIR([include/axis2.h])
+AC_INIT(axis2, 1.0.0)
+AC_CONFIG_SRCDIR([modules/common/src/axis2.c])
 AC_CONFIG_AUX_DIR(conftools)
+AC_CANONICAL_SYSTEM
+AM_INIT_AUTOMAKE
 AC_CONFIG_HEADER(axis2_config.h)
-AM_INIT_AUTOMAKE(axis2,p2)
-
+AC_PROG_LIBTOOL
+sinclude(conftools/libtool.m4)
+sinclude(conftools/ac_c_bigendian_cross.m4)
 # Checks for programs.
-#AC_PROG_C
-#using libtool
-AM_PROG_LIBTOOL
+AC_PROG_CXX
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+AC_PROG_RANLIB
 
 # Checks for libraries.
+AC_CHECK_LIB(dl, dlopen)
+
+#using libtool
+AM_PROG_LIBTOOL
 
 CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -g"
 #CFLAGS="$CFLAGS -Wall -ansi -Wshadow -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread"
-LDFLAGS="$LDFLAGS -L${CUTEST_HOME}/lib/ -lcutest"
+LDFLAGS="$LDFLAGS -L${CUTEST_HOME}/lib/"
+LIBS="-lcutest -ldl"
+
 # Checks for header files.
 AC_HEADER_STDC
 AC_CHECK_HEADERS([stdio.h stdlib.h string.h])
@@ -29,7 +42,53 @@
 AC_FUNC_REALLOC
 #AC_CHECK_FUNCS([memmove])
 
-AC_OUTPUT([Makefile \
+#want_xml=no
+want_xml=yes
+want_core=yes
+#want_test=no
+want_test=yes
+want_guththila=yes
+
+AC_MSG_CHECKING(whether to build tests)
+AC_ARG_ENABLE(tests, [  --enable-tests    build tests. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    want_test=no
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    want_test=yes
+    
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  want_test=no
+)
+
+AC_MSG_CHECKING(whether to build guththila)
+AC_ARG_ENABLE(guththila, [  --enable-guththila    build guththila. default=yes],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    want_guththila=no
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    want_guththila=yes
+    
+    ;;
+  esac ],
+  AC_MSG_RESULT(yes)
+  want_guththila=yes
+)
+
+AM_CONDITIONAL([COND_XML], [test "$want_xml" = yes])
+AM_CONDITIONAL([COND_CORE], [test "$want_core" = yes])
+AM_CONDITIONAL([COND_TEST], [test "$want_test" = yes])
+AM_CONDITIONAL([COND_GUTHTHILA], [test "$want_guththila" = yes])
+
+AC_CONFIG_FILES([Makefile \
     modules/Makefile \
     modules/core/Makefile \
     modules/core/context/Makefile \
@@ -57,3 +116,5 @@
     modules/test/common/Makefile \
     modules/test/util/Makefile \
     modules/test/unit/Makefile])
+    
+AC_OUTPUT

Modified: webservices/axis2/trunk/c/include/axis2.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2.h?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2.h (original)
+++ webservices/axis2/trunk/c/include/axis2.h Mon Oct 17 19:18:27 2005
@@ -5,7 +5,10 @@
  * @file axis2.h
  * @brief Axis2c specific global declarations
  */
- 
+
+#include <stdlib.h>
+#include <stdio.h>
+
 /** @defgroup axis2 Axis2/C project
   *  @{
  */

Added: webservices/axis2/trunk/c/include/axis2_description_module.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_description_module.h?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_description_module.h (added)
+++ webservices/axis2/trunk/c/include/axis2_description_module.h Mon Oct 17 19:18:27 2005
@@ -0,0 +1,76 @@
+#ifndef AXIS2_MODULE_DESCRIPTION_H
+#define AXIS2_MODULE_DESCRIPTION_H
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <axis2.h>
+#include <axis2_errno.h>
+#include <axis2_qname.h>
+#include <axis2_operation_description.h>
+#include <axis2_engine_config.h>
+#include <axis2_description_param_include.h>
+#include <axis2_om_node.h>
+#include <apr_hash.h>
+
+/**
+ * @file axis2_module_description.h
+ * @brief Parameter handling
+ */
+
+/**
+ * <p>This holds the information about a Module. </p>
+ */
+typedef struct
+{
+    axis2_qname_t *qname;
+    axis2_engine_config_t *parent;
+    axis2_parameter_t *parameters;
+    axis2_operation_description_t *operations;
+
+} axis2_module_description_t;
+
+void axis2_module_description_free (axis2_module_description_t *
+                                     module_description);
+
+/** Create a module description */
+axis2_module_description_t *axis2_module_description_create ();
+
+/** To set a name */
+void setName (axis2_module_description_t * module_description,
+              axis2_qname_t * name);
+
+axis2_qname_t
+    *axis2_module_description_get_name (axis2_module_description_t *
+                                         module_description);
+
+/** To add an parameter*/
+void axis2_module_description_add_parameter (axis2_module_description_t *
+                                              module_description,
+                                              axis2_parameter_t * param);
+
+/** To get all the parameters*/
+axis2_parameter_t *axis2_module_description_get_parameters (axis2_module_description_t *
+                                               module_description);
+
+/** To add an operation */
+void axis2_module_description_add_operation (axis2_module_description_t *
+                                              module_description,
+                                              axis2_operation_description_t *
+                                              operation);
+
+/** To get all the module_operations*/
+axis2_operation_description_t
+    * axis2_module_description_get_operations (axis2_module_description_t *
+                                                module_description);
+
+void axis2_module_description_set_parent (axis2_module_description_t *
+                                           module_description,
+                                           axis2_engine_config_t *
+                                           parent);
+
+axis2_engine_config_t
+    *axis2_module_description_get_parent (axis2_module_description_t *
+                                           module_description);
+
+
+#endif //AXIS2_MODULE_DESCRIPTION_H

Added: webservices/axis2/trunk/c/include/axis2_description_operation.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_description_operation.h?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_description_operation.h (added)
+++ webservices/axis2/trunk/c/include/axis2_description_operation.h Mon Oct 17 19:18:27 2005
@@ -0,0 +1,55 @@
+#ifndef AXIS2_DESCRIPTION_OPERATION_H
+#define AXIS2_DESCRIPTION_OPERATION_H
+
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_environment.h>
+#include <axis2_allocator.h>
+#include <axis2_string.h>
+
+#include <axis2_description_param_include.h>
+
+struct axis2_description_operation_s;
+struct axis2_description_operation_ops_s;
+typedef struct axis2_description_operation_s axis2_description_operation_t;
+typedef struct axis2_description_operation_ops_s 
+		axis2_description_operation_ops_t;
+
+
+axis2_description_operation_t 
+		*axis2_description_operation_create (axis2_environment_t *env);
+
+axis2_description_operation_t 
+		*create_axis2_description_operation_with_param_include (
+		, axis2_environment_t *env
+		, axis2_description_param_include_t* param_include);
+
+axis2_description_operation_t *create_axis2_description_operation_with_name 
+		(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include
+		, axis2_qname_t *name);
+
+int axis2_description_operation_free (axis2_environment_t *env
+		, axis2_description_operation_t *operation_desc);
+
+int axis2_description_operation_add_parameter(axis2_environment_t *env
+		, axis2_description_operation_t *operation_desc
+		, axis2_description_param_t *param);
+
+axis2_description_param_t *axis2_description_operation_get_parameter
+		(axis2_description_operation_t *operation_desc
+		, const axis2_char_t *name);
+
+axis2_description_param_t *axis2_description_operation_get_params
+		(axis2_description_operation_t *operation_desc);
+
+int axis2_description_operation_set_parent(axis2_environment_t *env
+		, axis2_description_operation_t *operation_desc
+		, axis2_description_service_t *service_desc);
+
+axis2_service_description_t *axis2_description_operation_get_parent
+		(axis2_environment_t *env
+		, axis2_description_operation_t *operation_desc);
+
+#endif //AXIS2_DESCRIPTION_OPERATION_H

Modified: webservices/axis2/trunk/c/include/axis2_description_param_include.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_description_param_include.h?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_description_param_include.h (original)
+++ webservices/axis2/trunk/c/include/axis2_description_param_include.h Mon Oct 17 19:18:27 2005
@@ -17,22 +17,46 @@
 #ifndef AXIS2_DESCRIPTION_PARAM_INCLUDE_H
 #define AXIS2_DESCRIPTION_PARAM_INCLUDE_H
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <axis2_om_element.h>
-#include <axis2_qname.h>
-#include <axis2.h>
-#include <axis2_parameter.h>
-#include <axis2_error.h>
-
 /**
  * @file axis2_description_param_include.h
  * @brief Parameter handling
  */
+ 
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_environment.h>
+#include <axis2_allocator.h>
+#include <axis2_string.h>
+#include <axis2_hash.h>
+
+/*#include <axis2_om_element.h>*/
+#include <axis2_qname.h>
+#include <axis2_description_parameter.h>
+
+#ifdef __cplusplus
+extern "C" 
+{
+#endif
+
+/** @defgroup axis2_description DESCRIPTION (Axis2 Information model)
+  * @ingroup axis2
+  * @{
+  */
+
+/** @} */ 
+
+/**
+ * @defgroup axis2_description_parameter_include DESCRIPTION ParameterInclude
+ * @ingroup axis2_description 
+ * @{
+ */	
+
+/** @cond */
 struct axis2_description_param_include_ops_s;
 	
 struct axis2_description_param_include_s;
+/** @endcond */	
 	
 typedef struct axis2_description_param_include_ops_s 
 		axis2_description_param_include_ops_t;
@@ -40,46 +64,86 @@
 typedef struct axis2_description_param_include_s 
 		axis2_description_param_include_t;
 
-typedef int (*axis2_description_param_include_free_t) (axis2_description_param_include_t
-    	*param_include);
-
-typedef int (*axis2_description_param_include_add_parameter_t)
-    	(axis2_description_param_include_t *param_include,
-     	axis2_parameter_t * param);
-
-typedef axis2_parameter_t *(*axis2_description_param_include_get_parameter_t)
-    	(axis2_description_param_include_t * param_include, char *name);
+/* Function pointers */
 
-typedef apr_hash_t *(*axis2_description_param_include_get_parameters_t)
-    	(axis2_description_param_include_t * param_include);
+/** Deallocate memory
+  * @return status code
+  */
+typedef axis2_status_t (*axis2_description_param_include_free_t) 
+		(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include);
+
+/** Add a parameter
+  * @param parameters
+  * @return status code
+  */
+typedef axis2_status_t (*axis2_description_param_include_add_parameter_t)
+    	(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include
+     	,const axis2_description_param_t *param);
+
+/** To get a parameter in a given description 
+  * @param parameter name
+  * @return parameter
+  */
+typedef axis2_description_param_t *(*axis2_description_param_include_get_parameter_t)
+    	(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include
+		, const axis2_char_t *name);
 
-typedef int (*axis2_description_param_include_is_parameter_locked_t)
-    	(axis2_description_param_include_t * param_include, char *param_name);
+/** To get all the parameters in a given description
+  * @return all the parameters contained
+  */
+typedef axis2_hash_t *(*axis2_description_param_include_get_parameters_t)
+    	(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include);
+
+/** To check whether the paramter is locked at any level
+  * @param parameter name
+  * @return whether parameter is locked
+  */
+typedef axis2_bool_t (*axis2_description_param_include_is_parameter_locked_t)
+    	(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include
+		, const axis2_char_t *param_name);
 
+/* End of function pointers */
 /**
   * Paramter can be any thing it can be XML element with number of child 
   * elements
   */
 struct axis2_description_param_include_ops_s
 {
+	axis2_description_param_include_free_t free;
+	
     axis2_description_param_include_add_parameter_t add_parameter;
+	
 	axis2_description_param_include_get_parameter_t get_parameter;
+	
 	axis2_description_param_include_get_parameters_t get_parameters;
+	
 	axis2_description_param_include_is_parameter_locked_t is_parameter_locked;
-	axis2_description_param_include_free_t free;
 	
 };
 
-struct axis2_description_param_include_s
-{
-    apr_hash_t *parameters;
-    int is_locked;
-	axis2_description_param_include_ops_t *ops;	
-};
+/** This will return the operations struct of the 
+  * axis2_description_param_include_t struct
+  * @return operations for axis2_description_param_include_t
+  */
+axis2_description_param_include_ops_t *axis2_description_param_include_get_ops
+	(axis2_environment_t *env
+	, axis2_description_param_include_t *param_include);
 
-/*
- *	Create a param
- */
-axis2_description_param_include_t *axis2_description_param_include_create ();
+/**
+  *	Create axis2_description_param_include_t
+  * @return axis2_description_param_include_t
+  */
+axis2_description_param_include_t *axis2_description_param_include_create 
+	(axis2_environment_t *env);
+
+/** @} */
 
-#endif //AXIS2_DESCRIPTION_PARAM_INCLUDE_H
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_DESCRIPTION_PARAM_INCLUDE_H*/

Added: webservices/axis2/trunk/c/include/axis2_description_parameter.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_description_parameter.h?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_description_parameter.h (added)
+++ webservices/axis2/trunk/c/include/axis2_description_parameter.h Mon Oct 17 19:18:27 2005
@@ -0,0 +1,239 @@
+/*
+ * 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 AXIS2_PARAMETER_H
+#define AXIS2_PARAMETER_H
+
+/**
+ * @file axis2_parameter.h
+ * @brief axis2 DESCRIPTION CORE parameter
+ */
+ 
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_environment.h>
+#include <axis2_allocator.h>
+#include <axis2_string.h>
+
+/*#include <axis2_om_element.h>*/
+
+#ifdef __cplusplus
+extern "C" 
+{
+#endif
+
+/** @defgroup axis2_description DESCRIPTION (Axis2 Information model)
+  * @ingroup axis2
+  * @{
+  */
+
+/** @} */ 
+
+/**
+ * @defgroup axis2_description_parameter DESCRIPTION Parameter
+ * @ingroup axis2_description 
+ * @{
+ */	
+ 
+/** @cond */
+struct axis2_description_param_ops_s;
+struct axis2_description_param_s;
+/** @endcond */
+
+typedef struct axis2_description_param_ops_s axis2_description_param_ops_t;
+typedef struct axis2_description_param_s axis2_description_param_t;
+
+/* Function pointers */
+/**
+  * memeory deallocation operation
+  * @return Status code
+  */
+typedef axis2_status_t (*axis2_description_param_free_t) 
+	(axis2_environment_t *env, axis2_description_param_t * param);
+
+/**
+  * parameter name set operation
+  * @param parameter name
+  * @return Status code
+  */
+typedef axis2_status_t (*axis2_description_param_set_name_t) 
+	(axis2_environment_t *env, axis2_description_param_t * param
+	, const axis2_char_t *name);
+
+/**
+  * parameter name get operation
+  * @return parameter name
+  */
+typedef axis2_char_t *(*axis2_description_param_get_name_t) 
+	(axis2_environment_t *env, axis2_description_param_t * param);
+
+/**
+  * parameter value set operation
+  * @param parameter value
+  * @return Status code
+  */
+typedef axis2_status_t (*axis2_description_param_set_value_t) 
+	(axis2_environment_t *env, axis2_description_param_t * param
+	, void *value);
+
+/**
+  * parameter value get operation
+  * @return parameter value
+  */
+typedef void *(*axis2_description_param_get_value_t) 
+	(axis2_environment_t *env, axis2_description_param_t * param);
+
+/**
+  * parameter lock check operation
+  * @return whether parameter is locked or not
+  */
+typedef axis2_bool_t (*axis2_description_param_is_locked_t) 
+	(axis2_environment_t *env, axis2_description_param_t * param);
+
+/**
+  * parameter lock set operation
+  * @param lock boolean value 
+  * @return Status code
+  */
+typedef axis2_status_t (*axis2_description_param_set_locked_t) 
+	(axis2_environment_t *env, axis2_description_param_t * param
+	, const axis2_bool_t locked);
+
+/**
+  * Paramter can be any thing, it can be XML element with number of child 
+  * elements , so if some one wants to access the XML elemet we need to store
+  *	that , at the deployment time. To store the XMLelment of the parameter one 
+  * can use this method. It will store whole
+  * <parameter name="ServiceClass1" locked="false">org.apache.axis2.sample
+  * .echo.EchoImpl</parameter> element
+  * @param parameter element
+  * @return Status code
+  */
+/*typedef axis2_status_t (*axis2_description_param_set_param_element_t) 
+	(axis2_environment_t *env, axis2_description_param_t *param
+	, axis2_om_element_t * om_element);
+*/										 
+
+/**
+  * param element get operation
+  * @return parameter element
+  */
+typedef axis2_description_param_t 
+	*(*axis2_description_param_get_param_element_t) (axis2_environment_t *env
+	, axis2_description_param_t *param);
+
+/**
+  * parameter type set operation
+  * @param parameter type
+  * @return Status code
+  */
+typedef axis2_status_t (*axis2_description_param_set_type_t) 
+	(axis2_environment_t *env, axis2_description_param_t * param
+	, const int type);
+
+/**
+  * parameter type get operation
+  * @return parameter type
+  */
+typedef int (*axis2_description_param_get_type_t) 
+	(axis2_environment_t *env, axis2_description_param_t *param);
+
+/* End of function pointers */
+
+typedef enum axis2_parameter_types {
+    AXIS2_PARAMETER_INVALID = -1,
+    AXIS2_PARAMETER_DOM = 10,
+    AXIS2_PARAMETER_TEXT = 20,
+    
+} axis2_parameter_types_t;
+
+/** @struct axis2_description_parameter_ops
+    @brief DESCRIPTION parameter operations struct
+
+    Encapsulator struct for operations of axis2_description_param_t
+*/
+struct axis2_description_param_ops_s
+{
+	axis2_description_param_free_t free;
+	axis2_description_param_set_name_t set_name;
+	axis2_description_param_get_name_t get_name;
+	axis2_description_param_set_value_t set_value;
+	axis2_description_param_get_value_t get_value;
+	axis2_description_param_is_locked_t is_locked;
+	axis2_description_param_set_locked_t set_locked;
+	/*axis2_description_param_set_param_element_t set_param_element;*/
+	axis2_description_param_get_param_element_t get_param_element;
+	axis2_description_param_set_type_t set_type;
+	axis2_description_param_get_type_t get_type;
+};
+
+/** This will return the operations struct of the 
+  * axis2_description_param_t struct
+  * @return operations for axis2_description_param_t
+  */
+axis2_description_param_ops_t *axis2_description_param_get_ops
+	(axis2_environment_t *env, axis2_description_param_t *param);
+
+/**
+  *	Create axis2_description_param_t
+  * @return axis2_description_param_t
+  */
+axis2_description_param_t *axis2_description_param_create 
+	(axis2_environment_t *env);
+
+/**
+ * Create parameter with name and value
+ * @param parameter name
+ * @param parameter value
+ * @return axis2_description_param_t
+ */
+axis2_description_param_t *axis2_description_param_create_with_name_value 
+	(axis2_environment_t *env, const axis2_char_t *name
+	, const axis2_char_t *value);
+
+
+#define axis2_description_param_free(env, param) \
+	(axis2_description_param_get_ops(env, param)->free (env, param))
+
+#define axis2_description_param_set_name(env, param, name) \
+	(axis2_description_param_get_ops(env, param)->set_name (env, param \
+	, name))
+
+#define axis2_description_param_get_name(env, param) \
+	(axis2_description_param_get_ops(env, param)->get_name (env, param))
+	
+#define axis2_description_param_set_value(env, param, value) \
+	(axis2_description_param_get_ops(env, param)->set_value (env \
+	, param, value))
+
+#define axis2_description_param_get_value(env, param) \
+	(axis2_description_param_get_ops(env, param)->get_value (env, param))
+	
+#define axis2_description_param_is_locked(env, param) \
+	(axis2_description_param_get_ops(env, param)->is_locked (env, param))
+	
+#define axis2_description_param_set_locked(env, param, locked) \
+	(axis2_description_param_get_ops(env, param)->set_locked (env \
+	, param, locked))
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* AXIS2_PARAMETER_H */

Added: webservices/axis2/trunk/c/include/axis2_description_service.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_description_service.h?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_description_service.h (added)
+++ webservices/axis2/trunk/c/include/axis2_description_service.h Mon Oct 17 19:18:27 2005
@@ -0,0 +1,50 @@
+#ifndef AXIS2_DESCRIPTION_SERVICE_H
+#define AXIS2_DESCRIPTION_SERVICE_H
+
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_environment.h>
+#include <axis2_allocator.h>
+#include <axis2_string.h>
+
+#include <axis2_description_param_include.h>
+#include <axis2_description_operation.h>
+#include <axis2_description_servicegroup.h>
+
+struct axis2_description_service_s;
+struct axis2_description_service_ops_s;
+typedef axis2_description_service_s axis2_description_service_t;
+typedef axis2_description_service_ops_s axis2_description_service_ops_t;
+
+axis2_description_operation_t *axis2_description_service_get_operation_with_qname(
+	axis2_description_service_t *service_desc, axis2_qname_t *operation_name);
+
+void axis2_description_service_add_operation(axis2_description_service_t
+	*service_desc, axis2_description_operation_t *operation_desc);
+
+void axis2_description_service_add_parameter(axis2_description_service_t
+	*operation_desc, axis2_parameter_t *param);
+
+axis2_parameter_t *axis2_description_service_get_parameter(
+	axis2_description_service_t *service_desc, axis2_char_t *name);
+
+axis2_parameter_t *axis2_description_service_get_parameters(
+	axis2_description_operation_t *service_desc);
+
+axis2_description_operation_t *axis2_description_service_get_operation_with_char(
+	axis2_description_service_t *service_desc, axis2_char_t* operation_name);
+
+apr_hash_t *axis2_description_service_get_operations(
+	axis2_description_service_t *service_desc);
+	
+void setParent(axis2_description_service_t *service_description
+	,axis2_servicegroup_description_t *servicegroup_desc);
+
+axis2_servicegroup_description_t *axis2_description_service_getParent
+(axis2_description_service_t *service_desc);
+
+axis2_description_service_t *axis2_description_service_create_with_qname
+	(axis2_environment_t *env);
+
+#endif /* AXIS2_DESCRIPTION_SERVICE_H */

Added: webservices/axis2/trunk/c/include/axis2_description_servicegroup.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_description_servicegroup.h?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_description_servicegroup.h (added)
+++ webservices/axis2/trunk/c/include/axis2_description_servicegroup.h Mon Oct 17 19:18:27 2005
@@ -0,0 +1,24 @@
+#ifndef AXIS2_DESCRIPTION_SERVICEGROUP_H
+#define AXIS2_DESCRIPTION_SERVICEGROUP_H
+
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_environment.h>
+#include <axis2_allocator.h>
+#include <axis2_string.h>
+
+#include <axis2_description_param_include.h>
+#include <axis2_description_service.h>
+
+struct axis2_description_servicegroup_s;
+struct axis2_description_servicegroup_ops_s;
+typedef axis2_description_servicegroup_s axis2_description_servicegroup_t;
+typedef axis2_description_servicegroup_ops_s 
+		axis2_description_servicegroup_ops_t;
+
+void axis2_description_servicegroup_add_service(axis2_environment_t *env
+		, axis2_description_servicegroup_t* service_group);
+
+
+#endif /* AXIS2_DESCRIPTION_SERVICEGROUP_H	*/

Modified: webservices/axis2/trunk/c/include/axis2_om_element.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_element.h?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_element.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_element.h Mon Oct 17 19:18:27 2005
@@ -18,13 +18,12 @@
 #define AXIS2_OM_ELEMENT_H
 
 #include <axis2_om_namespace.h>
+#include <axis2_stax_ombuilder.h>
 #include <axis2_om_attribute.h>
 #include <axis2_om_output.h>
 #include <axis2_om_node.h>
-#include <apr.h>
-#include <apr_hash.h>
-
 
+typedef struct axis2_om_element_s axis2_om_element_t;
 
 struct axis2_om_element_s{
 	axis2_om_namespace_t *ns;			/* current namespace*/
@@ -36,7 +35,7 @@
 
 
 /*
-*	Create an om element using localname and namespace and parent
+*Create an om element using localname and namespace and parent
 *@param localname can't be null
 *@param ns   namespace can be null
 *@param parent can be null

Modified: webservices/axis2/trunk/c/modules/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/Makefile.am?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/Makefile.am Mon Oct 17 19:18:27 2005
@@ -1 +1,13 @@
-SUBDIRS = util common xml core test
+if COND_XML
+  MAYBE_XML = xml
+endif
+if COND_CORE
+  MAYBE_CORE = core
+endif
+if COND_TEST
+  MAYBE_TEST = test
+endif
+
+#SUBDIRS = util common xml core test
+SUBDIRS = util common $(MAYBE_XML) $(MAYBE_CORE)  $(MAYBE_TEST)
+#SUBDIRS = util common test

Modified: webservices/axis2/trunk/c/modules/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/Makefile.in Mon Oct 17 19:18:27 2005
@@ -35,10 +35,15 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+target_triplet = @target@
 subdir = modules
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -54,7 +59,7 @@
 	uninstall-recursive
 ETAGS = etags
 CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
+DIST_SUBDIRS = util common xml core test
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 AMDEP_FALSE = @AMDEP_FALSE@
@@ -68,6 +73,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -151,8 +164,17 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
-SUBDIRS = util common xml core test
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+@COND_XML_TRUE@MAYBE_XML = xml
+@COND_CORE_TRUE@MAYBE_CORE = core
+@COND_TEST_TRUE@MAYBE_TEST = test
+
+#SUBDIRS = util common xml core test
+SUBDIRS = util common $(MAYBE_XML) $(MAYBE_CORE)  $(MAYBE_TEST)
 all: all-recursive
 
 .SUFFIXES:
@@ -461,6 +483,7 @@
 	mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
 	uninstall uninstall-am uninstall-info-am
 
+#SUBDIRS = util common test
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:

Modified: webservices/axis2/trunk/c/modules/common/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/common/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/common/Makefile.in Mon Oct 17 19:18:27 2005
@@ -35,10 +35,15 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+target_triplet = @target@
 subdir = modules/common
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -68,6 +73,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -151,7 +164,11 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
 SUBDIRS = src test
 all: all-recursive
 

Modified: webservices/axis2/trunk/c/modules/common/src/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/src/Makefile.am?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/common/src/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/common/src/Makefile.am Mon Oct 17 19:18:27 2005
@@ -3,4 +3,4 @@
 libcommon_la_SOURCES = axis2.c
 
 libcommon_la_LIBADD = $(LDFLAGS)
-INCLUDES = -I../../../include -I${CUTEST_HOME}/include
+INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include

Modified: webservices/axis2/trunk/c/modules/common/src/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/src/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/common/src/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/common/src/Makefile.in Mon Oct 17 19:18:27 2005
@@ -38,10 +38,15 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+target_triplet = @target@
 subdir = modules/common/src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -88,6 +93,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -171,12 +184,16 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
 lib_LTLIBRARIES = libcommon.la
 AM_CPPFLAGS = $(CPPFLAGS)
 libcommon_la_SOURCES = axis2.c
 libcommon_la_LIBADD = $(LDFLAGS)
-INCLUDES = -I../../../include -I${CUTEST_HOME}/include
+INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include
 all: all-am
 
 .SUFFIXES:

Modified: webservices/axis2/trunk/c/modules/common/test/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/test/Makefile.am?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/common/test/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/common/test/Makefile.am Mon Oct 17 19:18:27 2005
@@ -1,11 +1,15 @@
-lib_LTLIBRARIES = libtest_common.la
+prgbindir=$(prefix)/bin/unit_test
+prglibdir=$(prefix)/lib/unit_test
+prglib_LTLIBRARIES = libtest_common.la
 AM_CPPFLAGS = $(CPPFLAGS)
 libtest_common_la_SOURCES = common_test.c
+include_HEADERS=$(top_builddir)/modules/common/test/*.h
+libtest_common_la_LIBADD = $(LDFLAGS) \
+                    $(top_builddir)/modules/common/src/libcommon.la
+INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include
 
-libtest_common_la_LIBADD = $(LDFLAGS) ../src/libcommon.la -ldl
-INCLUDES = -I../../../include -I${CUTEST_HOME}/include
-
-bin_PROGRAMS = common_test
+prgbin_PROGRAMS = common_test
 common_test_SOURCES = main.c
-common_test_LDADD   =  $(LDFLAGS) libtest_common.la ../src/libcommon.la -ldl
+common_test_LDADD   =  $(LDFLAGS) libtest_common.la \
+                    $(top_builddir)/modules/common/src/libcommon.la
 

Modified: webservices/axis2/trunk/c/modules/common/test/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/test/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/common/test/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/common/test/Makefile.in Mon Oct 17 19:18:27 2005
@@ -15,6 +15,7 @@
 @SET_MAKE@
 
 
+
 SOURCES = $(libtest_common_la_SOURCES) $(common_test_SOURCES)
 
 srcdir = @srcdir@
@@ -39,11 +40,17 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-bin_PROGRAMS = common_test$(EXEEXT)
+target_triplet = @target@
+prgbin_PROGRAMS = common_test$(EXEEXT)
 subdir = modules/common/test
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -55,20 +62,21 @@
     *) f=$$p;; \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)"
-libLTLIBRARIES_INSTALL = $(INSTALL)
-LTLIBRARIES = $(lib_LTLIBRARIES)
+am__installdirs = "$(DESTDIR)$(prglibdir)" "$(DESTDIR)$(prgbindir)" \
+	"$(DESTDIR)$(includedir)"
+prglibLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(prglib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 libtest_common_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-	../src/libcommon.la
+	$(top_builddir)/modules/common/src/libcommon.la
 am_libtest_common_la_OBJECTS = common_test.lo
 libtest_common_la_OBJECTS = $(am_libtest_common_la_OBJECTS)
-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
-PROGRAMS = $(bin_PROGRAMS)
+prgbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+PROGRAMS = $(prgbin_PROGRAMS)
 am_common_test_OBJECTS = main.$(OBJEXT)
 common_test_OBJECTS = $(am_common_test_OBJECTS)
 common_test_DEPENDENCIES = $(am__DEPENDENCIES_1) libtest_common.la \
-	../src/libcommon.la
+	$(top_builddir)/modules/common/src/libcommon.la
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/conftools/depcomp
 am__depfiles_maybe = depfiles
@@ -82,6 +90,8 @@
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
 SOURCES = $(libtest_common_la_SOURCES) $(common_test_SOURCES)
 DIST_SOURCES = $(libtest_common_la_SOURCES) $(common_test_SOURCES)
+includeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(include_HEADERS)
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -97,6 +107,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -180,14 +198,25 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
-lib_LTLIBRARIES = libtest_common.la
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+prgbindir = $(prefix)/bin/unit_test
+prglibdir = $(prefix)/lib/unit_test
+prglib_LTLIBRARIES = libtest_common.la
 AM_CPPFLAGS = $(CPPFLAGS)
 libtest_common_la_SOURCES = common_test.c
-libtest_common_la_LIBADD = $(LDFLAGS) ../src/libcommon.la -ldl
-INCLUDES = -I../../../include -I${CUTEST_HOME}/include
+include_HEADERS = $(top_builddir)/modules/common/test/*.h
+libtest_common_la_LIBADD = $(LDFLAGS) \
+                    $(top_builddir)/modules/common/src/libcommon.la
+
+INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include
 common_test_SOURCES = main.c
-common_test_LDADD = $(LDFLAGS) libtest_common.la ../src/libcommon.la -ldl
+common_test_LDADD = $(LDFLAGS) libtest_common.la \
+                    $(top_builddir)/modules/common/src/libcommon.la
+
 all: all-am
 
 .SUFFIXES:
@@ -221,59 +250,59 @@
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+install-prglibLTLIBRARIES: $(prglib_LTLIBRARIES)
 	@$(NORMAL_INSTALL)
-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
-	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+	test -z "$(prglibdir)" || $(mkdir_p) "$(DESTDIR)$(prglibdir)"
+	@list='$(prglib_LTLIBRARIES)'; for p in $$list; do \
 	  if test -f $$p; then \
 	    f=$(am__strip_dir) \
-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+	    echo " $(LIBTOOL) --mode=install $(prglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(prglibdir)/$$f'"; \
+	    $(LIBTOOL) --mode=install $(prglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(prglibdir)/$$f"; \
 	  else :; fi; \
 	done
 
-uninstall-libLTLIBRARIES:
+uninstall-prglibLTLIBRARIES:
 	@$(NORMAL_UNINSTALL)
-	@set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+	@set -x; list='$(prglib_LTLIBRARIES)'; for p in $$list; do \
 	  p=$(am__strip_dir) \
-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(prglibdir)/$$p'"; \
+	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(prglibdir)/$$p"; \
 	done
 
-clean-libLTLIBRARIES:
-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
-	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+clean-prglibLTLIBRARIES:
+	-test -z "$(prglib_LTLIBRARIES)" || rm -f $(prglib_LTLIBRARIES)
+	@list='$(prglib_LTLIBRARIES)'; for p in $$list; do \
 	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
 	  test "$$dir" != "$$p" || dir=.; \
 	  echo "rm -f \"$${dir}/so_locations\""; \
 	  rm -f "$${dir}/so_locations"; \
 	done
 libtest_common.la: $(libtest_common_la_OBJECTS) $(libtest_common_la_DEPENDENCIES) 
-	$(LINK) -rpath $(libdir) $(libtest_common_la_LDFLAGS) $(libtest_common_la_OBJECTS) $(libtest_common_la_LIBADD) $(LIBS)
-install-binPROGRAMS: $(bin_PROGRAMS)
+	$(LINK) -rpath $(prglibdir) $(libtest_common_la_LDFLAGS) $(libtest_common_la_OBJECTS) $(libtest_common_la_LIBADD) $(LIBS)
+install-prgbinPROGRAMS: $(prgbin_PROGRAMS)
 	@$(NORMAL_INSTALL)
-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
-	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+	test -z "$(prgbindir)" || $(mkdir_p) "$(DESTDIR)$(prgbindir)"
+	@list='$(prgbin_PROGRAMS)'; for p in $$list; do \
 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
 	  if test -f $$p \
 	     || test -f $$p1 \
 	  ; then \
 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
+	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(prgbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(prgbindir)/$$f'"; \
+	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(prgbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(prgbindir)/$$f" || exit 1; \
 	  else :; fi; \
 	done
 
-uninstall-binPROGRAMS:
+uninstall-prgbinPROGRAMS:
 	@$(NORMAL_UNINSTALL)
-	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+	@list='$(prgbin_PROGRAMS)'; for p in $$list; do \
 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
+	  echo " rm -f '$(DESTDIR)$(prgbindir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(prgbindir)/$$f"; \
 	done
 
-clean-binPROGRAMS:
-	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+clean-prgbinPROGRAMS:
+	@list='$(prgbin_PROGRAMS)'; for p in $$list; do \
 	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
 	  echo " rm -f $$p $$f"; \
 	  rm -f $$p $$f ; \
@@ -321,6 +350,23 @@
 distclean-libtool:
 	-rm -f libtool
 uninstall-info-am:
+install-includeHEADERS: $(include_HEADERS)
+	@$(NORMAL_INSTALL)
+	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
+	@list='$(include_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(am__strip_dir) \
+	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
+	done
+
+uninstall-includeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(include_HEADERS)'; for p in $$list; do \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
+	done
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -371,6 +417,7 @@
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
 distdir: $(DISTFILES)
+	$(mkdir_p) $(distdir)/$(top_builddir)/modules/common/test
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 	list='$(DISTFILES)'; for file in $$list; do \
@@ -399,11 +446,9 @@
 	done
 check-am: all-am
 check: check-am
-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
-install-binPROGRAMS: install-libLTLIBRARIES
-
+all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
 installdirs:
-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)"; do \
+	for dir in "$(DESTDIR)$(prglibdir)" "$(DESTDIR)$(prgbindir)" "$(DESTDIR)$(includedir)"; do \
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
 	done
 install: install-am
@@ -432,8 +477,8 @@
 	@echo "it deletes files that may require special tools to rebuild."
 clean: clean-am
 
-clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
-	clean-libtool mostlyclean-am
+clean-am: clean-generic clean-libtool clean-prgbinPROGRAMS \
+	clean-prglibLTLIBRARIES mostlyclean-am
 
 distclean: distclean-am
 	-rm -rf ./$(DEPDIR)
@@ -451,9 +496,10 @@
 
 info-am:
 
-install-data-am:
+install-data-am: install-includeHEADERS install-prgbinPROGRAMS \
+	install-prglibLTLIBRARIES
 
-install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
+install-exec-am:
 
 install-info: install-info-am
 
@@ -479,22 +525,23 @@
 
 ps-am:
 
-uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
-	uninstall-libLTLIBRARIES
+uninstall-am: uninstall-includeHEADERS uninstall-info-am \
+	uninstall-prgbinPROGRAMS uninstall-prglibLTLIBRARIES
 
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
-	clean-generic clean-libLTLIBRARIES clean-libtool ctags \
-	distclean distclean-compile distclean-generic \
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-prgbinPROGRAMS clean-prglibLTLIBRARIES \
+	ctags distclean distclean-compile distclean-generic \
 	distclean-libtool distclean-tags distdir dvi dvi-am html \
-	html-am info info-am install install-am install-binPROGRAMS \
-	install-data install-data-am install-exec install-exec-am \
-	install-info install-info-am install-libLTLIBRARIES \
-	install-man install-strip installcheck installcheck-am \
-	installdirs maintainer-clean maintainer-clean-generic \
-	mostlyclean mostlyclean-compile mostlyclean-generic \
-	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
-	uninstall-libLTLIBRARIES
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am \
+	install-includeHEADERS install-info install-info-am \
+	install-man install-prgbinPROGRAMS install-prglibLTLIBRARIES \
+	install-strip installcheck installcheck-am installdirs \
+	maintainer-clean maintainer-clean-generic mostlyclean \
+	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+	uninstall-includeHEADERS uninstall-info-am \
+	uninstall-prgbinPROGRAMS uninstall-prglibLTLIBRARIES
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

Modified: webservices/axis2/trunk/c/modules/core/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/core/Makefile.in Mon Oct 17 19:18:27 2005
@@ -35,10 +35,15 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+target_triplet = @target@
 subdir = modules/core
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -68,6 +73,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -151,7 +164,11 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
 SUBDIRS = context description engine
 all: all-recursive
 

Modified: webservices/axis2/trunk/c/modules/core/context/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/core/context/Makefile.in Mon Oct 17 19:18:27 2005
@@ -35,10 +35,15 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+target_triplet = @target@
 subdir = modules/core/context
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -68,6 +73,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -151,7 +164,11 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
 SUBDIRS = src
 all: all-recursive
 

Modified: webservices/axis2/trunk/c/modules/core/context/src/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/src/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/src/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/core/context/src/Makefile.in Mon Oct 17 19:18:27 2005
@@ -38,10 +38,15 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+target_triplet = @target@
 subdir = modules/core/context/src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -76,6 +81,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -159,7 +172,11 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
 noinst_LTLIBRARIES = libcontext.la
 AM_CPPFLAGS = $(CPPFLAGS)
 libcontext_la_SOURCES = 

Modified: webservices/axis2/trunk/c/modules/core/description/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/core/description/Makefile.in Mon Oct 17 19:18:27 2005
@@ -35,10 +35,15 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+target_triplet = @target@
 subdir = modules/core/description
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -68,6 +73,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -151,7 +164,11 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
 SUBDIRS = src
 all: all-recursive
 

Modified: webservices/axis2/trunk/c/modules/core/description/src/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/Makefile.am?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/Makefile.am Mon Oct 17 19:18:27 2005
@@ -1,6 +1,12 @@
 noinst_LTLIBRARIES = libdescription.la
 AM_CPPFLAGS = $(CPPFLAGS)
-libdescription_la_SOURCES = axis2_description_param_include.c axis2_operation_description.c axis2_service_description.c axis2_module_description.c axis2_parameter.c axis2_servicegroup_description.c
+libdescription_la_SOURCES = axis2_description_param_include.c \
+                            axis2_description_operation.c \
+                            axis2_description_service.c \
+                            axis2_description_module.c \
+                            axis2_description_parameter.c \
+                            axis2_description_servicegroup.c
 
 libdescription_la_LIBADD = $(LDFLAGS)
-INCLUDES = -I$(APR_HOME)/include/apr-1 -I${CUTEST_HOME}/include -I../../../xml/guththila/src -I../../../../include 
+INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include \
+            -I$(top_builddir)/modules/xml/guththila/src  

Modified: webservices/axis2/trunk/c/modules/core/description/src/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/Makefile.in?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/Makefile.in Mon Oct 17 19:18:27 2005
@@ -38,10 +38,15 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+target_triplet = @target@
 subdir = modules/core/description/src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/libtool.m4 \
+	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
@@ -51,9 +56,9 @@
 am__DEPENDENCIES_1 =
 libdescription_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
 am_libdescription_la_OBJECTS = axis2_description_param_include.lo \
-	axis2_operation_description.lo axis2_service_description.lo \
-	axis2_module_description.lo axis2_parameter.lo \
-	axis2_servicegroup_description.lo
+	axis2_description_operation.lo axis2_description_service.lo \
+	axis2_description_module.lo axis2_description_parameter.lo \
+	axis2_description_servicegroup.lo
 libdescription_la_OBJECTS = $(am_libdescription_la_OBJECTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/conftools/depcomp
@@ -83,6 +88,14 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_GUTHTHILA_FALSE = @COND_GUTHTHILA_FALSE@
+COND_GUTHTHILA_TRUE = @COND_GUTHTHILA_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -166,12 +179,24 @@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
+target = @target@
 target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
 noinst_LTLIBRARIES = libdescription.la
 AM_CPPFLAGS = $(CPPFLAGS)
-libdescription_la_SOURCES = axis2_description_param_include.c axis2_operation_description.c axis2_service_description.c axis2_module_description.c axis2_parameter.c axis2_servicegroup_description.c
+libdescription_la_SOURCES = axis2_description_param_include.c \
+                            axis2_description_operation.c \
+                            axis2_description_service.c \
+                            axis2_description_module.c \
+                            axis2_description_parameter.c \
+                            axis2_description_servicegroup.c
+
 libdescription_la_LIBADD = $(LDFLAGS)
-INCLUDES = -I$(APR_HOME)/include/apr-1 -I${CUTEST_HOME}/include -I../../../xml/guththila/src -I../../../../include 
+INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include \
+            -I$(top_builddir)/modules/xml/guththila/src  
+
 all: all-am
 
 .SUFFIXES:
@@ -223,12 +248,12 @@
 distclean-compile:
 	-rm -f *.tab.c
 
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_description_module.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_description_operation.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_description_param_include.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_module_description.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_operation_description.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_parameter.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_service_description.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_servicegroup_description.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_description_parameter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_description_service.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/axis2_description_servicegroup.Plo@am__quote@
 
 .c.o:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \

Added: webservices/axis2/trunk/c/modules/core/description/src/axis2_description_module.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/axis2_description_module.c?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/axis2_description_module.c (added)
+++ webservices/axis2/trunk/c/modules/core/description/src/axis2_description_module.c Mon Oct 17 19:18:27 2005
@@ -0,0 +1 @@
+#include <axis2_module_description.h>

Added: webservices/axis2/trunk/c/modules/core/description/src/axis2_description_operation.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/axis2_description_operation.c?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/axis2_description_operation.c (added)
+++ webservices/axis2/trunk/c/modules/core/description/src/axis2_description_operation.c Mon Oct 17 19:18:27 2005
@@ -0,0 +1,167 @@
+#include <axis2_description_operation.h>
+
+/**
+  * @struct axis2_description_operation_s
+  * @brief DESCRIPTION operation
+  * This holds the information about operation.
+  */
+struct axis2_description_operation_s
+{
+	axis2_description_param_include_t *param_include;
+	axis2_service_description_t *parent;
+	axis2_qname_t *name;	
+
+};
+
+axis2_description_operation_t *axis2_description_operation_create 
+		(axis2_environment_t *env)
+{
+	axis2_description_param_include_t * param_include = NULL;
+	axis2_description_operation_t *operation_desc 
+		= (axis2_description_operation_t *)
+			malloc (sizeof (axis2_description_operation_t));
+	if(operation_desc)
+	{
+		
+		param_include = (axis2_description_param_include_t *)
+			create_axis2_description_param_include();		
+		if(param_include)
+		{
+			operation_desc->param_include = param_include;
+			operation_desc->parent = NULL;			
+						
+			return operation_desc;
+		}
+		else
+			fprintf(stderr, "*** error_code:%d, %s\n"
+			, AXIS2_ERROR_MEMORY_ALLOCATION
+			, "AXIS2_ERROR_MEMORY_ALLOCATION");
+			
+	}
+	else
+		fprintf(stderr, "*** error_code:%d, %s\n", AXIS2_ERROR_MEMORY_ALLOCATION
+			, "AXIS2_ERROR_MEMORY_ALLOCATION");
+	return NULL;
+}
+
+axis2_description_operation_t 
+		*axis2_description_operation_create_with_param_include 
+		(axis2_environment_t *env
+		, axis2_description_param_include_t* param_include)
+{
+	axis2_description_operation_t *operation_desc = 
+		(axis2_description_operation_t *)
+		malloc (sizeof (axis2_description_operation_t));
+	if(operation_desc)
+	{
+		if(!param_include)
+			param_include = (axis2_description_param_include_t *)
+				create_axis2_description_param_include();
+		if(param_include)
+		{
+			operation_desc->param_include = param_include;
+			operation_desc->parent = NULL;
+			return operation_desc;
+		}
+		else
+			fprintf(stderr, "*** error_code:%d, %s\n"
+			, AXIS2_ERROR_MEMORY_ALLOCATION
+			, "AXIS2_ERROR_MEMORY_ALLOCATION");
+			
+	}
+	else
+		fprintf(stderr, "*** error_code:%d, %s\n", AXIS2_ERROR_MEMORY_ALLOCATION
+			, "AXIS2_ERROR_MEMORY_ALLOCATION");
+	return NULL;
+}
+
+axis2_description_operation_t *create_axis2_description_operation_with_name 
+		(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include, axis2_qname_t *name)
+{
+	axis2_description_operation_t *operation_desc = 
+		(axis2_description_operation_t *)
+		malloc (sizeof (axis2_description_operation_t));
+	if(operation_desc)
+	{
+		if(!param_include)
+			param_include = (axis2_description_param_include_t *)
+				create_axis2_description_param_include();
+		if(param_include)
+		{
+			operation_desc->param_include = param_include;
+			if(name)
+				operation_desc->name = name;
+			operation_desc->parent = NULL;
+			return operation_desc;
+		}
+		else
+			fprintf(stderr, "*** error_code:%d, %s\n"
+			, AXIS2_ERROR_MEMORY_ALLOCATION
+			, "AXIS2_ERROR_MEMORY_ALLOCATION");
+			
+	}
+	else
+		fprintf(stderr, "*** error_code:%d, %s\n", AXIS2_ERROR_MEMORY_ALLOCATION
+			, "AXIS2_ERROR_MEMORY_ALLOCATION");
+	return NULL;
+}
+
+axis2_status_t axis2_description_operation_free (axis2_environment_t *env
+		, axis2_description_operation_t *operation_desc)
+{
+	if(operation_desc){
+		free(operation_desc);
+		return AXIS2_SUCCESS;
+	}
+	return AXIS2_FAILURE;
+}	
+	
+axis2_status_t axis2_description_operation_add_parameter
+		(axis2_environment_t *env, axis2_description_operation_t *operation_desc
+		, axis2_parameter_t *param)
+{
+	apr_hash_set (operation_desc->param_include->parameters, param->name
+		, APR_HASH_KEY_STRING, param);	
+	return AXIS2_SUCCESS;
+	
+}
+
+axis2_description_param_t *axis2_description_operation_get_parameter(
+		axis2_environment_t *env, axis2_description_operation_t *operation_desc
+		, const axis2_char_t *name)
+{
+	if(operation_desc && operation_desc->param_include)
+		return (axis2_parameter_t *)(apr_hash_get 
+		(operation_desc->param_include->parameters, strdup(name)
+		, APR_HASH_KEY_STRING));
+	return NULL;
+}
+
+axis2_description_param_t *axis2_description_operation_get_parameters(
+		axis2_environment_t *env, axis2_description_operation_t *operation_desc)
+{
+	if(operation_desc && operation_desc->param_include)
+		return (axis2_parameter_t *) operation_desc->param_include->parameters;
+	return NULL;
+}	
+
+axis2_status_t axis2_description_operation_set_parent(axis2_environment_t *env
+		,axis2_description_operation_t *operation_desc
+		, axis2_description_service_t *service_desc)
+{
+	if(operation_desc && service_desc){
+		operation_desc->parent = service_desc;
+		return AXIS2_SUCCESS;
+	}
+	return AXIS2_FAILURE;
+}
+
+axis2_description_service_t *axis2_description_operation_get_parent
+		(axis2_environment_t *env
+		, axis2_description_operation_t *operation_desc)
+{
+	if(operation_desc)
+		return operation_desc->parent;
+	else return NULL;
+}

Modified: webservices/axis2/trunk/c/modules/core/description/src/axis2_description_param_include.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/axis2_description_param_include.c?rev=326015&r1=326014&r2=326015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/axis2_description_param_include.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/axis2_description_param_include.c Mon Oct 17 19:18:27 2005
@@ -16,132 +16,165 @@
  
 #include <axis2_description_param_include.h>
 
-static apr_pool_t *om_pool;
-
-int axis2_description_param_include_add_parameter
-    (axis2_description_param_include_t *param_include,
-     axis2_parameter_t * param);
+/** @struct axis2_description_param_include
+  * @brief DESCRIPTION param_include struct
+  *	Holder for parameters
+  *  
+*/  
+struct axis2_description_param_include_s
+{
+	axis2_description_param_include_ops_t *ops;
+    axis2_hash_t *params;
+    axis2_bool_t is_locked;	
+};
+
+/* Function prototypes */
+
+axis2_status_t axis2_description_param_include_ops_free 
+	(axis2_description_param_include_t *param_include);
+
+axis2_status_t axis2_description_param_include_ops_add_parameter
+    (axis2_environment_t *environment
+	, axis2_description_param_include_t *param_include
+    , const axis2_description_param_t *param);
 	 
-axis2_parameter_t *axis2_description_param_include_get_parameter
-    (axis2_description_param_include_t *param_include, char *name);
+axis2_description_param_t *axis2_description_param_include_ops_get_parameter
+    (axis2_environment_t *env, axis2_description_param_include_t *param_include
+	, const axis2_char_t *name);
 
-/* To get all the parameters in a given description */
-apr_hash_t *axis2_description_param_include_get_parameters
-    (axis2_description_param_include_t *param_include);
-
-/* To check whether the paramter is locked at any level */
-int axis2_description_param_include_is_parameter_locked
-    (axis2_description_param_include_t *param_include, char *param_name);
-	 
-axis2_description_param_include_t *axis2_description_param_include_create ()
+axis2_hash_t *axis2_description_param_include_ops_get_parameters
+    (axis2_environment_t *env
+	, axis2_description_param_include_t *param_include);
+
+axis2_status_t axis2_description_param_include_ops_is_parameter_locked
+    (axis2_environment_t *env, axis2_description_param_include_t *param_include
+	, const axis2_char_t *param_name);
+
+/* End of function prototypes */
+
+axis2_description_param_include_ops_t *axis2_description_param_include_get_ops
+		(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include)
+{
+	if(!param_include)
+	{
+		env->error->errorno = AXIS2_ERROR_INVALID_NULL_PARAMETER;
+		return NULL;
+	}
+	return param_include->ops;
+}
+
+axis2_description_param_include_t *axis2_description_param_include_create (
+		axis2_environment_t *env)
 {
 	axis2_description_param_include_t *param_include = 
 		(axis2_description_param_include_t *)
 		malloc(sizeof(axis2_description_param_include_t));
-	if(param_include)
+	if(!param_include)
 	{
-		axis2_description_param_include_ops_t *ops = 
-			malloc(sizeof(axis2_description_param_include_ops_t));
-		if(ops)
-		{
-			param_include->ops->add_parameter = 
-				(axis2_description_param_include_add_parameter_t) 
-						axis2_description_param_include_add_parameter;
-			param_include->ops->get_parameter = 
-				(axis2_description_param_include_get_parameter_t) 
-						axis2_description_param_include_get_parameter;
-			param_include->ops->get_parameters = 
-				(axis2_description_param_include_get_parameters_t) 
-						axis2_description_param_include_get_parameters;
-			param_include->ops->is_parameter_locked = 
-				(axis2_description_param_include_is_parameter_locked_t) 
-						axis2_description_param_include_is_parameter_locked;
-			
-			apr_pool_create (&om_pool, NULL);
-			param_include->parameters = 
-				(apr_hash_t *) axis2_apr_hash_make (om_pool);
-			if(param_include->parameters)
-			{
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		return NULL;
+	}
+	axis2_description_param_include_ops_t *ops = 
+		malloc(sizeof(axis2_description_param_include_ops_t));
+	if(!ops)
+	{
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		return NULL;
+	}
+	ops->free = (axis2_description_param_include_free_t) 
+				axis2_description_param_include_ops_free;
+	ops->add_parameter = (axis2_description_param_include_add_parameter_t) 
+				axis2_description_param_include_ops_add_parameter;
+	ops->get_parameter = (axis2_description_param_include_get_parameter_t) 
+				axis2_description_param_include_ops_get_parameter;
+	ops->get_parameters = (axis2_description_param_include_get_parameters_t) 
+				axis2_description_param_include_ops_get_parameters;
+	ops->is_parameter_locked = (axis2_description_param_include_is_parameter_locked_t) 
+				axis2_description_param_include_ops_is_parameter_locked;
+	param_include->ops = ops;
 				
-				param_include->is_locked = FALSE;
-				return param_include;
-			}
-			else
-				fprintf(stderr, "*** error_code:%d, %s\n",
-					AXIS2_ERROR_NO_MEMORY,
-					"AXIS2_ERROR_NO_MEMORY");
-		}else
-		{
-			fprintf(stderr, "*** error_code:%d, %s\n", 
-					AXIS2_ERROR_NO_MEMORY,
-			 		"AXIS2_ERROR_NO_MEMORY");
-		}
-		
-	}
-	else
-		fprintf(stderr, "*** error_code:%d, %s\n", 
-			AXIS2_ERROR_NO_MEMORY
-			, "AXIS2_ERROR_NO_MEMORY");
-	
-	
-	return NULL;
+	param_include->params = axis2_hash_make (env);				
+	if(!param_include->params)
+	{
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		return NULL;			
+	}	
+	param_include->is_locked = AXIS2_FALSE;
+	return param_include;
 }
 
-int axis2_description_param_include_free (axis2_description_param_include_t
-    *param_include)
+axis2_status_t axis2_description_param_include_ops_free 
+		(axis2_description_param_include_t *param_include)
 {
 	if(param_include)
 		free(param_include);
+	return AXIS2_SUCCESS;
 }
 
-int axis2_description_param_include_add_parameter
-    (axis2_description_param_include_t *param_include,
-     axis2_parameter_t * param)
+axis2_status_t axis2_description_param_include_ops_add_parameter
+    	(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include
+    	, const axis2_description_param_t *param)
 {
-	if(param_include)
+	if(!param_include)
 	{
-		if (!(param_include->parameters))
-		{        
-            apr_pool_create (&om_pool, NULL);
-			param_include->parameters = 
-				(apr_hash_t *) axis2_apr_hash_make (om_pool);
-		}
-		if(param)
-		{
-			apr_hash_set (param_include->parameters, param->name,
-				APR_HASH_KEY_STRING, param);
-		}
-	}
-	fprintf(stderr, "*** error_code:%d, %s\n"
-		, AXIS2_ERROR_INVALID_NULL_PARAMETER
-		, "AXIS2_ERROR_INVALID_NULL_PARAMETER");
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;
+	}
+	if(!param)
+	{
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;	
+	}
+	if (!(param_include->params))
+	{                    
+		param_include->params = axis2_hash_make (env);
+	}	
+	axis2_hash_set (param_include->params		
+		, axis2_description_param_get_name(env, param)
+		, AXIS2_HASH_KEY_STRING, param);
+	
+	return AXIS2_SUCCESS;
 
 }
 
-axis2_parameter_t *axis2_description_param_include_get_parameter
-    (axis2_description_param_include_t * param_include, char *name)
+axis2_description_param_t *axis2_description_param_include_ops_get_parameter
+    	(axis2_environment_t* env
+		, axis2_description_param_include_t *param_include
+		, const axis2_char_t *name)
 {
-	if(param_include)
-		return (axis2_parameter_t *)(apr_hash_get 
-		(param_include->parameters, strdup(name), APR_HASH_KEY_STRING));
-	return NULL;
+	if(!param_include)
+	{
+		env->error->errorno = AXIS2_ERROR_INVALID_NULL_PARAMETER;
+		return NULL;
+	}
+	return (axis2_description_param_t *)(axis2_hash_get 
+		(param_include->params, env->string->axis2_string_strdup(name)
+		, AXIS2_HASH_KEY_STRING));
 }
 
-/* To get all the parameters in a given description */
-apr_hash_t *axis2_descriptin_param_include_get_parameters
-    (axis2_description_param_include_t * param_include)
+axis2_hash_t *axis2_descriptin_param_include_get_parameters
+    	(axis2_environment_t *env
+		, axis2_description_param_include_t * param_include)
 {
-	if(param_include)
-		return param_include->parameters;
-	return NULL;
+	if(!param_include)
+	{
+		env->error->errorno = AXIS2_ERROR_INVALID_NULL_PARAMETER;
+		return NULL;
+	}
+	return param_include->params;
 }
 
-/* To check whether the paramter is locked at any level */
-int axis2_description_param_include_is_parameter_locked
-    (axis2_description_param_include_t * param_include, char *param_name)
-{
-	return ((axis2_parameter_t *)(apr_hash_get 
-		(param_include->parameters, strdup(param_name), 
-			APR_HASH_KEY_STRING)))->is_locked;
-	return FALSE;
+axis2_status_t axis2_description_param_include_ops_is_parameter_locked
+    	(axis2_environment_t *env
+		, axis2_description_param_include_t *param_include
+		, const axis2_char_t *param_name)
+{
+	axis2_description_param_t *param = (axis2_description_param_t *)
+		(axis2_hash_get (param_include->params
+		, axis2_strdup(env->string, param_name)
+		, AXIS2_HASH_KEY_STRING));
+	
+	if(!param)
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;	
+	return axis2_description_param_is_locked(env, param);
 }

Added: webservices/axis2/trunk/c/modules/core/description/src/axis2_description_parameter.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/axis2_description_parameter.c?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/axis2_description_parameter.c (added)
+++ webservices/axis2/trunk/c/modules/core/description/src/axis2_description_parameter.c Mon Oct 17 19:18:27 2005
@@ -0,0 +1,300 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+#include <axis2_description_parameter.h>
+
+/** @struct axis2_description_parameter
+  * @brief DESCRIPTION parameter struct
+  *	Paramter can be any thing it can be XML element with number of child 
+  * elements
+  *  
+*/  
+struct axis2_description_param_s
+{
+	axis2_description_param_ops_t *ops;
+    axis2_char_t *name;
+    void *value;
+    /*axis2_om_element_t *param_element;*/
+    int type;
+    axis2_bool_t is_locked;
+};
+
+/* Function prototypes */
+axis2_status_t axis2_description_param_ops_free (axis2_environment_t *env
+	, axis2_description_param_t * param);
+
+axis2_status_t axis2_description_param_ops_set_name (axis2_environment_t *env
+	, axis2_description_param_t * param, const axis2_char_t *name);
+
+axis2_char_t *axis2_description_param_ops_get_name (axis2_environment_t *env
+	, axis2_description_param_t * param);
+
+axis2_status_t axis2_description_param_ops_set_value (axis2_environment_t *env
+	, axis2_description_param_t * param, void *value);
+
+void *axis2_description_param_ops_get_value (axis2_environment_t *env
+	, axis2_description_param_t * param);
+
+axis2_bool_t axis2_description_param_ops_is_locked (axis2_environment_t *env
+	, axis2_description_param_t * param);
+
+axis2_status_t axis2_description_param_ops_set_locked (axis2_environment_t *env
+	, axis2_description_param_t * param, const axis2_bool_t locked);
+
+/*void axis2_description_param_ops_set_param_element (axis2_environment_t *env
+	, axis2_description_param_t * param, const axis2_om_element_t * om_element);
+*/										 
+
+axis2_description_param_t *axis2_description_param_ops_get_param_element 
+	(axis2_environment_t *env, axis2_description_param_t *param);
+
+axis2_status_t axis2_description_param_ops_set_type (axis2_environment_t *env
+	, axis2_description_param_t * param, const int type);
+
+int axis2_description_param_ops_get_type (axis2_environment_t *env
+		, axis2_description_param_t * param);
+
+/* End of function prototypes */
+
+axis2_description_param_ops_t *axis2_description_param_get_ops
+	(axis2_environment_t *env, axis2_description_param_t *param)
+{
+	if(!param)
+	{
+		/* set error code*/
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		return NULL;
+	}
+	return (axis2_description_param_ops_t *) param->ops;	
+}
+
+axis2_description_param_t *axis2_description_param_create 
+	(axis2_environment_t *env)
+{
+	axis2_description_param_t *param 
+	= (axis2_description_param_t *) axis2_malloc (env->allocator
+	, sizeof(axis2_description_param_t));
+	if(!param)
+	{
+		/* set the error code*/
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		return NULL;
+	}
+	axis2_description_param_ops_t *ops
+		= (axis2_description_param_ops_t *) axis2_malloc (env->allocator
+		, sizeof(axis2_description_param_ops_t));
+	if(!ops)
+	{
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		axis2_free(env->allocator, param);
+		return NULL;		
+	}
+	ops->free = axis2_description_param_ops_free;
+	ops->set_name = axis2_description_param_ops_set_name;
+	ops->get_name = axis2_description_param_ops_get_name;
+	ops->set_value = axis2_description_param_ops_set_value;
+	ops->get_value = axis2_description_param_ops_get_value;
+	ops->is_locked = axis2_description_param_ops_is_locked;
+	ops->set_locked = axis2_description_param_ops_set_locked;
+	/*ops->set_param_element = axis2_description_param_ops_set_param_element;*/
+	ops->get_param_element = axis2_description_param_ops_get_param_element;
+	ops->set_type = axis2_description_param_ops_set_type;
+	ops->get_type = axis2_description_param_ops_get_type;
+	
+	param->ops = ops;	
+	param->name = NULL;
+	param->value = NULL;
+	/*param->param_element = NULL;*/
+	param->type = AXIS2_PARAMETER_TEXT;
+	param->is_locked = AXIS2_FALSE;
+	return param;	
+}	
+	
+axis2_description_param_t *axis2_description_param_create_with_name_value 
+		(axis2_environment_t *env, const axis2_char_t *name
+		, const axis2_char_t *value)
+{
+	
+	axis2_description_param_t *param 
+		= (axis2_description_param_t *) axis2_malloc (env->allocator
+		, sizeof(axis2_description_param_t));
+	if(!param)
+	{
+		/* set the error code*/
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+	}
+	axis2_description_param_ops_t *ops
+		= (axis2_description_param_ops_t *) axis2_malloc (env->allocator
+		, sizeof(axis2_description_param_ops_t));
+	if(!ops)
+	{
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		axis2_free(env->allocator, param);	
+	}
+	ops->free = axis2_description_param_ops_free;
+	ops->set_name = axis2_description_param_ops_set_name;
+	ops->get_name = axis2_description_param_ops_get_name;
+	ops->set_value = axis2_description_param_ops_set_value;
+	ops->get_value = axis2_description_param_ops_get_value;
+	ops->is_locked = axis2_description_param_ops_is_locked;
+	ops->set_locked = axis2_description_param_ops_set_locked;
+	/*ops->set_param_element = axis2_description_param_ops_set_param_element;*/
+	ops->get_param_element = axis2_description_param_ops_get_param_element;
+	ops->set_type = axis2_description_param_ops_set_type;
+	ops->get_type = axis2_description_param_ops_get_type;
+	
+	param->ops = ops;	
+	param->name = axis2_strdup (env->string, name);
+	if(!param->name)
+	{
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		axis2_free(env->allocator, param);
+	}
+	param->value = axis2_strdup (env->string, value);
+	if(!param->value)
+	{
+		env->error->errorno = AXIS2_ERROR_NO_MEMORY;
+		axis2_free(env->allocator, param);
+		return NULL;
+	}
+	/*param->param_element = NULL;*/
+	param->type = AXIS2_PARAMETER_TEXT;
+	param->is_locked = AXIS2_FALSE;
+	return param;
+}
+
+axis2_status_t axis2_description_param_ops_free (axis2_environment_t *env
+		,axis2_description_param_t * param)
+{
+	if(param)
+		free(param);
+	
+	return AXIS2_SUCCESS;
+}
+
+axis2_status_t axis2_description_param_ops_set_name (axis2_environment_t *env
+		, axis2_description_param_t * param, const axis2_char_t *name)
+{
+	if(!param)
+	{
+		/* return the error code*/
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;		
+	}
+	param->name = axis2_strdup(env->string, name);
+	return AXIS2_SUCCESS;	
+}
+
+axis2_char_t *axis2_description_param_ops_get_name (axis2_environment_t *env
+		, axis2_description_param_t *param)
+{
+	if(!param)
+	{
+		/* set error code*/	
+		env->error->errorno = AXIS2_ERROR_INVALID_NULL_PARAMETER;	
+		return NULL;
+	}
+	return param->name;
+}
+
+axis2_status_t axis2_description_param_ops_set_value (axis2_environment_t *env
+		, axis2_description_param_t * param, void *value)
+{
+	if(!param)
+	{
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;
+	}
+	param->value = value;
+	return AXIS2_SUCCESS;
+}	
+
+void *axis2_description_param_ops_get_value (axis2_environment_t *env
+		, axis2_description_param_t * param)
+{
+	if(!param)
+	{
+		/* set error code*/	
+		env->error->errorno = AXIS2_ERROR_INVALID_NULL_PARAMETER;
+		return NULL;		
+	}
+	return param->value;
+}
+
+axis2_bool_t axis2_description_param_ops_is_locked (axis2_environment_t *env
+		, axis2_description_param_t * param)
+{
+	if(!param)
+	{
+		env->error->errorno = AXIS2_ERROR_INVALID_NULL_PARAMETER;
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;
+	}
+	return param->is_locked;
+}
+
+axis2_status_t axis2_description_param_ops_set_locked (axis2_environment_t *env
+		, axis2_description_param_t * param, const axis2_bool_t is_locked)
+{
+	if(!param)
+	{
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;
+	}
+	param->is_locked = is_locked;	
+	return AXIS2_SUCCESS;
+}
+
+/*axis2_status_t axis2_description_param_ops_set_param_element 
+		(axis2_environment_t *env, axis2_description_param_t * param
+        , const axis2_om_element_t * om_element)
+{
+	if(!param)
+	{
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;
+	}
+	param->param_element = om_element;	
+	return AXIS2_SUCCESS;
+	
+}
+
+axis2_description_param_t *axis2_description_param_get_param_element 
+		(axis2_environment_t *env, axis2_description_param_t *param)
+{
+	if(!param)
+	{
+		env->error.errorno = AXIS2_ERROR_INVALID_NULL_PARAMETER;
+		return NULL;
+	}
+	return (axis2_description_param_t *) param->param_element;
+}*/
+
+axis2_status_t axis2_description_param_ops_set_type (axis2_environment_t *env
+		, axis2_description_param_t * param, const int type)
+{
+	if(!param)
+	{
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;
+	}
+	param->type = type;	
+	return AXIS2_SUCCESS;
+}
+
+int axis2_description_param_ops_get_type (axis2_environment_t *env
+		, axis2_description_param_t * param)
+{
+	if(!param)
+	{
+		return AXIS2_ERROR_INVALID_NULL_PARAMETER;
+	}
+	return param->type;
+}

Added: webservices/axis2/trunk/c/modules/core/description/src/axis2_description_service.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/axis2_description_service.c?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/axis2_description_service.c (added)
+++ webservices/axis2/trunk/c/modules/core/description/src/axis2_description_service.c Mon Oct 17 19:18:27 2005
@@ -0,0 +1,70 @@
+#include <axis2_description_service.h>
+
+/**
+  * @struct axis2_description_service
+  * @brief DESCRIPTION service struct
+  * This holds the information about service
+  */
+struct axis2_service_description_s
+{
+	axis2_description_param_include_t *param_include;
+	axis2_servicegroup_description_t *parent;
+	axis2_hash_t *wasaction_opeartionmap;    
+
+};
+
+axis2_description_operation_t 
+	*axis2_description_service_get_operation_with_qname(
+	axis2_description_service_t *service_desc, axis2_qname_t *operation_name)
+{
+	return NULL;	
+}	
+
+void axis2_description_service_add_operation(axis2_description_service_t
+	*service_desc, axis2_description_operation_t *operation_desc)
+{
+
+}
+
+void axis2_description_service_add_parameter(axis2_description_service_t
+	*operation_desc, axis2_parameter_t *param)
+{
+
+}
+
+axis2_description_param_t *axis2_description_service_get_parameter(
+	axis2_description_service_t *service_desc, char *name)
+{
+	return NULL;
+}
+
+axis2_description_param_t *axis2_description_service_get_params(
+	axis2_description_service_t *service_desc)
+{
+	return NULL;
+}
+
+axis2_description_operation_t 
+	*axis2_description_service_get_operation_with_char(
+	axis2_description_service_t *service_desc, char* name)
+{
+	return NULL;
+}
+
+axis2_hash_t *axis2_description_service_get_operations(
+	axis2_description_service_t *service_desc)
+{
+	return NULL;
+}
+	
+void setParent(axis2_description_service_t *service_desc
+	,axis2_description_servicegroup_t *servicegroup_desc)
+{
+	
+}
+
+axis2_description_servicegroup_t *axis2_description_service_getParent
+(axis2_description_service_t *service_desc)
+{
+	return NULL;
+}

Added: webservices/axis2/trunk/c/modules/core/description/src/axis2_description_servicegroup.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/axis2_description_servicegroup.c?rev=326015&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/axis2_description_servicegroup.c (added)
+++ webservices/axis2/trunk/c/modules/core/description/src/axis2_description_servicegroup.c Mon Oct 17 19:18:27 2005
@@ -0,0 +1,13 @@
+#include <axis2_description_servicegroup.h>
+
+/** @struct axis2_description_servicegroup_s
+  * @brief DESCRIPTION servicegroup
+  * This holds the information about the servicegroup_name
+  */
+struct axis2_description_servicegroup_s
+{
+	axis2_description_param_include_t *param_include;
+	axis2_qname_t *servicegroup_name;
+	axis2_hash_t *services;
+	
+};



Mime
View raw message