axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r464953 - /webservices/axis2/trunk/c/include/axis2_svc.h
Date Tue, 17 Oct 2006 16:21:37 GMT
Author: dinesh
Date: Tue Oct 17 09:21:36 2006
New Revision: 464953

URL: http://svn.apache.org/viewvc?view=rev&rev=464953
Log:
fixed:displaying service discriptions

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

Modified: webservices/axis2/trunk/c/include/axis2_svc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc.h?view=diff&rev=464953&r1=464952&r2=464953
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc.h Tue Oct 17 09:21:36 2006
@@ -554,9 +554,33 @@
          * @return last updated time in seconds
          */
         long (AXIS2_CALL *
-                get_last_update)(
-                    const axis2_svc_t *svc,
-                    const axis2_env_t *env);
+				  get_last_update)(
+						const axis2_svc_t *svc,
+						const axis2_env_t *env);
+
+		  /**
+			*Get the description of the services, which is in the
+			*service.xml, <description> tag
+			*@param svc pointer to service struct
+			*@param env pointer to environment struct
+			*@return services description string
+			*/
+
+		  const axis2_char_t *(AXIS2_CALL *
+									  get_svc_desc) (
+											const axis2_svc_t *svc,
+											const axis2_env_t *env);
+
+		  /**
+			*Set the description of the service which is in service.xml
+			*@param svc pointer to service struct
+			*@param env pointer to environment struct
+			*@return AXIS2_SUCCESS on success, else AXIS2_FAILURE */
+		  axis2_status_t (AXIS2_CALL *
+								set_svc_desc) (
+									 axis2_svc_t *svc,
+									 const axis2_env_t *env,
+									 const axis2_char_t *svc_desc);
 
         /**
          * Gets the name of the file that holds the implementation of the 
@@ -1253,6 +1277,16 @@
     @sa axis2_svc_ops#get_last_update */
 #define AXIS2_SVC_GET_LAST_UPDATE(svc, env) \
         ((svc)->ops->get_last_update(svc, env))
+
+/** Gets service description.
+		  @sa axis2_svc_ops#get_svc_desc*/
+#define AXIS2_SVC_GET_SVC_DESC(svc, env) \
+        ((svc)->ops->get_svc_desc(svc, env))
+
+/** Sets service description.
+	 @sa axis2_svc_ops#set_svc_desc */
+#define AXIS2_SVC_SET_SVC_DESC(svc, env, svc_desc) \
+        ((svc)->ops->set_svc_desc(svc, env, svc_desc))
 
 /** Gets file name.
     @sa axis2_svc_ops#get_file_name */



---------------------------------------------------------------------
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