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 2010/01/26 11:44:40 UTC

svn commit: r903163 - in /webservices/axis2/trunk/c/util: include/axutil_env.h src/env.c

Author: damitha
Date: Tue Jan 26 10:44:40 2010
New Revision: 903163

URL: http://svn.apache.org/viewvc?rev=903163&view=rev
Log:
Adding the statistics_get_count statistics_set_count function pointers

Modified:
    webservices/axis2/trunk/c/util/include/axutil_env.h
    webservices/axis2/trunk/c/util/src/env.c

Modified: webservices/axis2/trunk/c/util/include/axutil_env.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_env.h?rev=903163&r1=903162&r2=903163&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_env.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_env.h Tue Jan 26 10:44:40 2010
@@ -78,6 +78,9 @@
 
         axis2_status_t (*set_session_fn)(void*, const char*, const char*);
         char * (*get_session_fn)(void*, const char*);
+        
+        axis2_status_t (*set_statistics_count_fn)(void*, const char*, const char*, const int);
+        int (*get_statistics_count_fn)(void*, const char*, const char*);
     }
     axutil_env_t;
 

Modified: webservices/axis2/trunk/c/util/src/env.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/env.c?rev=903163&r1=903162&r2=903163&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/env.c (original)
+++ webservices/axis2/trunk/c/util/src/env.c Tue Jan 26 10:44:40 2010
@@ -59,6 +59,8 @@
     env->ref = 1;
     env->get_session_fn = NULL;
     env->set_session_fn = NULL;
+    env->get_statistics_count_fn = NULL;
+    env->set_statistics_count_fn = NULL;
 
     return env;
 }
@@ -94,6 +96,8 @@
     env->ref = 1;
     env->get_session_fn = NULL;
     env->set_session_fn = NULL;
+    env->get_statistics_count_fn = NULL;
+    env->set_statistics_count_fn = NULL;
 
     return env;
 }
@@ -140,6 +144,8 @@
     env->ref = 1;
     env->get_session_fn = NULL;
     env->set_session_fn = NULL;
+    env->get_statistics_count_fn = NULL;
+    env->set_statistics_count_fn = NULL;
 
     return env;
 }
@@ -188,6 +194,8 @@
     env->ref = 1;
     env->get_session_fn = NULL;
     env->set_session_fn = NULL;
+    env->get_statistics_count_fn = NULL;
+    env->set_statistics_count_fn = NULL;
 
     return env;
 }