You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/02/22 06:27:02 UTC

svn commit: r379692 - in /webservices/axis2/trunk/c/include: axis2.h axis2_defines.h

Author: damitha
Date: Tue Feb 21 21:26:56 2006
New Revision: 379692

URL: http://svn.apache.org/viewcvs?rev=379692&view=rev
Log:
added a new type axis2_scope_t

Modified:
    webservices/axis2/trunk/c/include/axis2.h
    webservices/axis2/trunk/c/include/axis2_defines.h

Modified: webservices/axis2/trunk/c/include/axis2.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2.h?rev=379692&r1=379691&r2=379692&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2.h (original)
+++ webservices/axis2/trunk/c/include/axis2.h Tue Feb 21 21:26:56 2006
@@ -94,6 +94,21 @@
 
 typedef int (*AXIS2_FREE_VOID_ARG) (void *obj_to_be_freed, axis2_env_t **env);
 
+/** 
+    * \brief Axis2 scopes
+    *
+    * Possible scope value for Axis2
+    */
+    enum axis2_scopes
+    {
+        /** Application scope */
+        AXIS2_SCOPE_APPLICATION = 0,
+        /** Session scope */
+        AXIS2_SCOPE_SESSION,
+        /** Request scope */
+        AXIS2_SCOPE_REQUEST
+    };
+
 /******************************************************************************/
 /********************Axis2 specific constants**********************************/
 /******************************************************************************/

Modified: webservices/axis2/trunk/c/include/axis2_defines.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_defines.h?rev=379692&r1=379691&r2=379692&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_defines.h (original)
+++ webservices/axis2/trunk/c/include/axis2_defines.h Tue Feb 21 21:26:56 2006
@@ -19,6 +19,7 @@
     typedef char axis2_char_t;
     typedef int axis2_bool_t;
     typedef int axis2_status_t;
+    typedef int axis2_scope_t;
     typedef unsigned int axis2_ssize_t;
 
 /* These constant definitions should later be moved to platform dependant