axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r410566 [49/49] - in /webservices/axis2/trunk/c: axiom/include/ axiom/src/attachments/ axiom/src/om/ axiom/src/parser/guththila/ axiom/src/parser/libxml2/ axiom/src/soap/ axiom/test/om/ axiom/test/soap/ axiom/test/unit/om/ include/ modules/...
Date Wed, 31 May 2006 15:54:39 GMT
Modified: webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_type.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_type.h?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_type.h (original)
+++ webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_type.h Wed May
31 08:54:07 2006
@@ -51,66 +51,66 @@
      */
     axis2_status_t (AXIS2_CALL *
     free) (void *type,
-            axis2_env_t **env);
+            const axis2_env_t *env);
 
     axis2_xml_schema_annotated_t *(AXIS2_CALL *
     get_base_impl) (void *type,
-                    axis2_env_t **env);
+                    const axis2_env_t *env);
                     
     axis2_hash_t* (AXIS2_CALL *
     super_objs)(void *type,
-                axis2_env_t **env);
+                const axis2_env_t *env);
                    
     axis2_xml_schema_types_t (AXIS2_CALL *
     type)(void *type,
-          axis2_env_t **env);                                                  
+          const axis2_env_t *env);                                                  
 
     void *(AXIS2_CALL *
     get_base_schema_type) (void *type,
-                            axis2_env_t **env);
+                            const axis2_env_t *env);
 
     struct axis2_xml_schema_data_type *(AXIS2_CALL *
     get_data_type) (void *type,
-                    axis2_env_t **env);
+                    const axis2_env_t *env);
 
     struct axis2_xml_schema_derivation_method *(AXIS2_CALL *
     get_derive_by) (void *type,
-                            axis2_env_t **env);
+                            const axis2_env_t *env);
 
     struct axis2_xml_schema_derivation_method *(AXIS2_CALL *
     get_final) (void *type,
-                        axis2_env_t **env);
+                        const axis2_env_t *env);
 
     axis2_status_t (AXIS2_CALL *
     set_final) (void *type,
-                axis2_env_t **env,
+                const axis2_env_t *env,
                 struct axis2_xml_schema_derivation_method *final_derivation);
 
     struct axis2_xml_schema_derivation_method *(AXIS2_CALL *
     get_final_resolved) (void *type,
-                        axis2_env_t **env);
+                        const axis2_env_t *env);
 
     axis2_bool_t (AXIS2_CALL *
     is_mixed) (void *type,
-                        axis2_env_t **env);
+                        const axis2_env_t *env);
 
     axis2_status_t (AXIS2_CALL *
     set_mixed) (void *type,
-                        axis2_env_t **env,
+                        const axis2_env_t *env,
                         axis2_bool_t is_mixed); 
 
     axis2_char_t *(AXIS2_CALL *
     get_name) (void *type,
-                        axis2_env_t **env); 
+                        const axis2_env_t *env); 
 
     axis2_status_t (AXIS2_CALL *
     set_name) (void *type,
-                        axis2_env_t **env,
+                        const axis2_env_t *env,
                         axis2_char_t *name); 
 
     axis2_qname_t *(AXIS2_CALL *
     get_qname) (void *type,
-                        axis2_env_t **env);
+                        const axis2_env_t *env);
 
 };
 
@@ -129,7 +129,7 @@
  * (any).
  */
 AXIS2_DECLARE(axis2_xml_schema_type_t *)
-axis2_xml_schema_type_create(axis2_env_t **env,
+axis2_xml_schema_type_create(const axis2_env_t *env,
                                 struct axis2_xml_schema *schema);
 
 /**
@@ -138,7 +138,7 @@
 AXIS2_DECLARE(axis2_status_t)
 axis2_xml_schema_type_resolve_methods(
                                 axis2_xml_schema_type_t *type,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_xml_schema_type_t *type_impl,
                                 axis2_hash_t *methods);
 

Modified: webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_use.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_use.h?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_use.h (original)
+++ webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_use.h Wed May
31 08:54:07 2006
@@ -48,25 +48,25 @@
      */
     axis2_status_t (AXIS2_CALL *
     free) (void *use,
-            axis2_env_t **env);
+            const axis2_env_t *env);
 
     axis2_hash_t *(AXIS2_CALL *
     super_objs) (
             void *use,
-            axis2_env_t **env);
+            const axis2_env_t *env);
 
     axis2_xml_schema_types_t (AXIS2_CALL *
     type) (
             void *use,
-            axis2_env_t **env);
+            const axis2_env_t *env);
 
     axis2_xml_schema_enum_t *(AXIS2_CALL *
     get_base_impl) (void *use,
-                    axis2_env_t **env);
+                    const axis2_env_t *env);
     
     axis2_array_list_t *(AXIS2_CALL *
     get_values)(void *use,
-                axis2_env_t **env);
+                const axis2_env_t *env);
     
 };
 
@@ -77,7 +77,7 @@
 };
 
 AXIS2_DECLARE(axis2_xml_schema_use_t *)
-axis2_xml_schema_use_create(axis2_env_t **env,
+axis2_xml_schema_use_create(const axis2_env_t *env,
                                     axis2_char_t* value);
 
 /******************* macros ***************************************/

Modified: webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_xpath.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_xpath.h?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_xpath.h (original)
+++ webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_schema_xpath.h Wed May
31 08:54:07 2006
@@ -52,27 +52,27 @@
      */
     axis2_status_t (AXIS2_CALL *
     free) (void *xpath,
-            axis2_env_t **env);
+            const axis2_env_t *env);
 
     axis2_xml_schema_annotated_t *(AXIS2_CALL *
     get_base_impl) (void *xpath,
-                    axis2_env_t **env);
+                    const axis2_env_t *env);
                     
     axis2_xml_schema_types_t (AXIS2_CALL *
     type)(void *xpath,
-          axis2_env_t **env);
+          const axis2_env_t *env);
           
     axis2_hash_t* (AXIS2_CALL *
     super_objs)(void *xpath,
-                axis2_env_t **env);
+                const axis2_env_t *env);
 
     axis2_char_t *(AXIS2_CALL *
     get_xpath)(void *xpath,
-                axis2_env_t **env);
+                const axis2_env_t *env);
     
     axis2_status_t (AXIS2_CALL *
     set_xpath)(void *xpath,
-                    axis2_env_t **env,
+                    const axis2_env_t *env,
                     axis2_char_t *x_path);
 
 };
@@ -87,7 +87,7 @@
  * Creates new Xml Schema Xpath
  */
 AXIS2_DECLARE(axis2_xml_schema_xpath_t *)
-axis2_xml_schema_xpath_create(axis2_env_t **env);
+axis2_xml_schema_xpath_create(const axis2_env_t *env);
 
 /**
  * This method is internal to Axis2 C. It is called from Child Constructor
@@ -95,7 +95,7 @@
 AXIS2_DECLARE(axis2_status_t)
 axis2_xml_schema_xpath_resolve_methods(
                                 axis2_xml_schema_xpath_t *xpath,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_xml_schema_xpath_t *xpath_impl,
                                 axis2_hash_t *methods);
  */

Modified: webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_severity_type.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_severity_type.h?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_severity_type.h (original)
+++ webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_severity_type.h Wed
May 31 08:54:07 2006
@@ -51,23 +51,23 @@
      */
     axis2_status_t (AXIS2_CALL *
     free) (void *sevetiry,
-            axis2_env_t **env);
+            const axis2_env_t *env);
 
     axis2_xml_schema_enum_t *(AXIS2_CALL *
     get_base_impl) (void *severity,
-                    axis2_env_t **env);
+                    const axis2_env_t *env);
     
     axis2_array_list_t *(AXIS2_CALL *
     get_values)(void *severity,
-                axis2_env_t **env);
+                const axis2_env_t *env);
                 
     axis2_hash_t* (AXIS2_CALL *
     super_objs)(void *severity,
-                axis2_env_t **env);
+                const axis2_env_t *env);
                 
     axis2_xml_schema_types_t (AXIS2_CALL*
     type)(void *severity,
-          axis2_env_t **env);                              
+          const axis2_env_t *env);                              
     
 };
 
@@ -78,7 +78,7 @@
 };
 
 AXIS2_DECLARE(axis2_xml_severity_type_t *)
-axis2_xml_severity_type_create(axis2_env_t **env,
+axis2_xml_severity_type_create(const axis2_env_t *env,
                                     axis2_char_t* value);
 
 /***************************** Macros ******************************************/

Modified: webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_tokenized_type.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_tokenized_type.h?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_tokenized_type.h (original)
+++ webservices/axis2/trunk/c/xml_schema/include/xml_schema/axis2_xml_tokenized_type.h Wed
May 31 08:54:07 2006
@@ -48,23 +48,23 @@
      */
     axis2_status_t (AXIS2_CALL *
     free) (void *tokenized_type,
-            axis2_env_t **env);
+            const axis2_env_t *env);
 
     axis2_xml_schema_enum_t *(AXIS2_CALL *
     get_base_impl) (void *tokenized_type,
-                    axis2_env_t **env);
+                    const axis2_env_t *env);
     
     axis2_array_list_t *(AXIS2_CALL *
     get_values)(void *tokenized_type,
-                axis2_env_t **env);
+                const axis2_env_t *env);
                 
     axis2_hash_t* (AXIS2_CALL *
     super_objs)(void *tokenized_type,
-                axis2_env_t **env);
+                const axis2_env_t *env);
                 
     axis2_xml_schema_types_t (AXIS2_CALL *
     type)(void *tokenized_type,
-          axis2_env_t **env);                                
+          const axis2_env_t *env);                                
     
 };
 
@@ -75,7 +75,7 @@
 };
 
 AXIS2_DECLARE(axis2_xml_tokenized_type_t *)
-axis2_xml_tokenized_type_create(axis2_env_t **env,
+axis2_xml_tokenized_type_create(const axis2_env_t *env,
                                     axis2_char_t* value);
 
 /********************** Macros **************************************************************/

Modified: webservices/axis2/trunk/c/xml_schema/test/xml_schema_test.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/test/xml_schema_test.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/test/xml_schema_test.c (original)
+++ webservices/axis2/trunk/c/xml_schema/test/xml_schema_test.c Wed May 31 08:54:07 2006
@@ -23,7 +23,7 @@
 
 
 static axis2_om_document_t* 
-get_root_element_from_filename(axis2_env_t **env, 
+get_root_element_from_filename(const axis2_env_t *env, 
                                axis2_char_t *filename);
 
 void test_simple_type_schema_generation(CuTest *tc);
@@ -64,7 +64,7 @@
 
 void test_simple_type_schema_generation(CuTest *tc)
 {
-    axis2_env_t *env = NULL;
+    const axis2_env_t *env = NULL;
     axis2_om_document_t *om_doc = NULL;
     axis2_xml_schema_collection_t *sch_collection = NULL;
     axis2_xml_schema_t *schema = NULL;
@@ -79,28 +79,28 @@
     
     
     env = axis2_env_create_all("test.log", 1);
-    om_doc = get_root_element_from_filename(&env, filename);
-    sch_collection = axis2_xml_schema_collection_create(&env);
+    om_doc = get_root_element_from_filename(env, filename);
+    sch_collection = axis2_xml_schema_collection_create(env);
     schema = AXIS2_XML_SCHEMA_COLLECTION_READ_DOCUMENT(
-        sch_collection, &env, om_doc);
+        sch_collection, env, om_doc);
     
     CuAssertPtrNotNull(tc, schema); 
     
-    obj_table = AXIS2_XML_SCHEMA_GET_ELEMENTS(schema, &env);
+    obj_table = AXIS2_XML_SCHEMA_GET_ELEMENTS(schema, env);
     
     CuAssertPtrNotNull(tc, obj_table); 
     
-    list = AXIS2_XML_SCHEMA_OBJ_TABLE_GET_VALUES(obj_table, &env);
+    list = AXIS2_XML_SCHEMA_OBJ_TABLE_GET_VALUES(obj_table, env);
     
     CuAssertPtrNotNull(tc, list);
     
-    for(i = 0; i < AXIS2_ARRAY_LIST_SIZE(list, &env); i++)
+    for(i = 0; i < AXIS2_ARRAY_LIST_SIZE(list, env); i++)
     {
-        ele = AXIS2_ARRAY_LIST_GET(list, &env, i);
+        ele = AXIS2_ARRAY_LIST_GET(list, env, i);
             
         CuAssertPtrNotNull(tc, ele);
         
-        sch_type = AXIS2_XML_SCHEMA_ELEMENT_GET_SCHEMA_TYPE(ele, &env);
+        sch_type = AXIS2_XML_SCHEMA_ELEMENT_GET_SCHEMA_TYPE(ele, env);
         
         CuAssertPtrNotNull(tc, sch_type);
         
@@ -124,7 +124,7 @@
 void test_two_schmes(CuTest *tc){}
 
 static axis2_om_document_t* 
-get_root_element_from_filename(axis2_env_t **env, 
+get_root_element_from_filename(const axis2_env_t *env, 
                                axis2_char_t *filename)
 {
     axis2_xml_reader_t *reader = NULL;



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


Mime
View raw message