axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r414428 - in /webservices/axis2/trunk/c: include/axis2_svc_grp.h modules/core/description/svc_grp.c
Date Thu, 15 Jun 2006 01:32:21 GMT
Author: samisa
Date: Wed Jun 14 18:32:21 2006
New Revision: 414428

URL: http://svn.apache.org/viewvc?rev=414428&view=rev
Log:
changed get/set name methods to make them simple
AXIS2C-151


Modified:
    webservices/axis2/trunk/c/include/axis2_svc_grp.h
    webservices/axis2/trunk/c/modules/core/description/svc_grp.c

Modified: webservices/axis2/trunk/c/include/axis2_svc_grp.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc_grp.h?rev=414428&r1=414427&r2=414428&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_grp.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_grp.h Wed Jun 14 18:32:21 2006
@@ -61,7 +61,7 @@
      * @return status_code
      */
     axis2_status_t (AXIS2_CALL *
-    set_svc_grp_name) (axis2_svc_grp_t *svc_grp, 
+    set_name) (axis2_svc_grp_t *svc_grp, 
                 const axis2_env_t *env, 
                 axis2_char_t *svc_grp_name);
    /** 
@@ -69,7 +69,7 @@
      * @return service group name
      */
     axis2_char_t *(AXIS2_CALL *
-    get_svc_grp_name) (axis2_svc_grp_t *svc_grp, 
+    get_name) (axis2_svc_grp_t *svc_grp, 
                const axis2_env_t *env) ;
     /** 
      * Add a service to the serivce group
@@ -199,10 +199,10 @@
 #define AXIS2_SVC_GRP_FREE(svc_grp, env) ((svc_grp)->ops->free (svc_grp , env))
    
 #define AXIS2_SVC_GRP_SET_NAME(svc_grp, env , svc_grp_name) \
-        ((svc_grp)->ops->set_svc_grp_name (svc_grp, env, svc_grp_name))
+        ((svc_grp)->ops->set_name (svc_grp, env, svc_grp_name))
       
 #define AXIS2_SVC_GRP_GET_NAME(svc_grp, env) \
-        ((svc_grp)->ops->get_svc_grp_name(svc_grp, env))
+        ((svc_grp)->ops->get_name(svc_grp, env))
 
 #define AXIS2_SVC_GRP_ADD_SVC(svc_grp, env , svc) \
         ((svc_grp)->ops->add_svc (svc_grp, env, svc))

Modified: webservices/axis2/trunk/c/modules/core/description/svc_grp.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/svc_grp.c?rev=414428&r1=414427&r2=414428&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/svc_grp.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/svc_grp.c Wed Jun 14 18:32:21 2006
@@ -43,12 +43,12 @@
                     const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
-axis2_svc_grp_set_svc_grp_name (axis2_svc_grp_t *svc_grp, 
+axis2_svc_grp_set_name (axis2_svc_grp_t *svc_grp, 
                         const axis2_env_t *env,
                       axis2_char_t *name);
 
 axis2_char_t * AXIS2_CALL 
-axis2_svc_grp_get_svc_grp_name (axis2_svc_grp_t *svc_grp, 
+axis2_svc_grp_get_name (axis2_svc_grp_t *svc_grp, 
                         const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
@@ -202,8 +202,8 @@
    }
     
    svc_grp_impl->svc_grp.ops->free = axis2_svc_grp_free;
-   svc_grp_impl->svc_grp.ops->set_svc_grp_name = axis2_svc_grp_set_svc_grp_name;
-   svc_grp_impl->svc_grp.ops->get_svc_grp_name = axis2_svc_grp_get_svc_grp_name;
+   svc_grp_impl->svc_grp.ops->set_name = axis2_svc_grp_set_name;
+   svc_grp_impl->svc_grp.ops->get_name = axis2_svc_grp_get_name;
    svc_grp_impl->svc_grp.ops->add_svc = axis2_svc_grp_add_svc;
    svc_grp_impl->svc_grp.ops->get_svc = axis2_svc_grp_get_svc;
     svc_grp_impl->svc_grp.ops->get_svcs = axis2_svc_grp_get_svcs;
@@ -301,7 +301,7 @@
 }
 
 axis2_status_t AXIS2_CALL 
-axis2_svc_grp_set_svc_grp_name (axis2_svc_grp_t *svc_grp, 
+axis2_svc_grp_set_name (axis2_svc_grp_t *svc_grp, 
                         const axis2_env_t *env,
                       axis2_char_t *name)
 {
@@ -323,7 +323,7 @@
 }
 
 axis2_char_t * AXIS2_CALL 
-axis2_svc_grp_get_svc_grp_name (axis2_svc_grp_t *svc_grp, 
+axis2_svc_grp_get_name (axis2_svc_grp_t *svc_grp, 
                         const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, 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