axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r367186 - in /webservices/axis2/trunk/c: include/axis2_env.h modules/util/env.c
Date Mon, 09 Jan 2006 04:01:49 GMT
Author: samisa
Date: Sun Jan  8 20:01:43 2006
New Revision: 367186

URL: http://svn.apache.org/viewcvs?rev=367186&view=rev
Log:
Removed stream from env

Modified:
    webservices/axis2/trunk/c/include/axis2_env.h
    webservices/axis2/trunk/c/modules/util/env.c

Modified: webservices/axis2/trunk/c/include/axis2_env.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_env.h?rev=367186&r1=367185&r2=367186&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_env.h (original)
+++ webservices/axis2/trunk/c/include/axis2_env.h Sun Jan  8 20:01:43 2006
@@ -25,7 +25,6 @@
 
 #include <axis2_allocator.h>
 #include <axis2_error.h>
-#include <axis2_stream.h>
 #include <axis2_log.h>
 
 #ifdef __cplusplus
@@ -61,8 +60,6 @@
         axis2_allocator_t *allocator;
         /** Error handling */
         axis2_error_t *error;
-        /** IO routines */
-        axis2_stream_t *stream;
         /** Logging routines */
         axis2_log_t *log;
 		/** This flag indicate whether logging is enabled or not */
@@ -87,10 +84,9 @@
     * it would be taken as a flag for no logging.    
     * @return pointer to the newly created environment struct 
     */
-    AXIS2_DECLARE(axis2_env_t *) axis2_env_create_with_error_stream 
+    AXIS2_DECLARE(axis2_env_t *) axis2_env_create_with_error 
 													(axis2_allocator_t *allocator
-                                                   , axis2_error_t *error
-                                                   , axis2_stream_t *stream);
+                                                   , axis2_error_t *error);
 	
 	/**
     * Creates an environment struct
@@ -101,10 +97,9 @@
     * it would be taken as a flag for no logging.    
     * @return pointer to the newly created environment struct 
     */
-    AXIS2_DECLARE(axis2_env_t *) axis2_env_create_with_error_stream_log 
+    AXIS2_DECLARE(axis2_env_t *) axis2_env_create_with_error_log 
 													(axis2_allocator_t *allocator
                                                    , axis2_error_t *error
-                                                   , axis2_stream_t *stream
                                                    , axis2_log_t *log);
 
   /**

Modified: webservices/axis2/trunk/c/modules/util/env.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/env.c?rev=367186&r1=367185&r2=367186&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/env.c (original)
+++ webservices/axis2/trunk/c/modules/util/env.c Sun Jan  8 20:01:43 2006
@@ -22,9 +22,6 @@
 
 AXIS2_DECLARE(axis2_status_t)  axis2_env_free (axis2_env_t *env)
 {
-    if(env != NULL && env->stream != NULL && (env->stream->ops)
!= NULL)
-		AXIS2_STREAM_FREE(env->stream);
-
     if(NULL != env && NULL != env->log)
         AXIS2_LOG_FREE(env->log);
 	
@@ -62,16 +59,16 @@
 }
 
 AXIS2_DECLARE(axis2_env_t*)
-axis2_env_create_with_error_stream (axis2_allocator_t *allocator
-                          , axis2_error_t *error, axis2_stream_t *stream)
+axis2_env_create_with_error (axis2_allocator_t *allocator
+                          , axis2_error_t *error)
 {
-	return axis2_env_create_with_error_stream_log(allocator, error
-		, stream, NULL);    
+	return axis2_env_create_with_error_log(allocator, error
+		, NULL);    
 }
 
 AXIS2_DECLARE(axis2_env_t *)
-axis2_env_create_with_error_stream_log (axis2_allocator_t *allocator
-                          , axis2_error_t *error, axis2_stream_t *stream
+axis2_env_create_with_error_log (axis2_allocator_t *allocator
+                          , axis2_error_t *error
                           , axis2_log_t *log)
 {
     axis2_env_t *environment;
@@ -91,9 +88,6 @@
         return NULL;
     environment->error = error;
 
-	if(NULL == stream)
-		return NULL;
-    environment->stream = stream;    
 
     if (NULL == log)
         environment->log_enabled = AXIS2_FALSE;



Mime
View raw message