axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r416310 - in /webservices/axis2/trunk/c: include/axis2_svc_client.h modules/core/clientapi/svc_client.c
Date Thu, 22 Jun 2006 09:47:54 GMT
Author: samisa
Date: Thu Jun 22 02:47:53 2006
New Revision: 416310

URL: http://svn.apache.org/viewvc?rev=416310&view=rev
Log:
Fixed more doc comment stuff
-This line, and those below, will be ignored--

M    modules/core/clientapi/svc_client.c
M    include/axis2_svc_client.h

Modified:
    webservices/axis2/trunk/c/include/axis2_svc_client.h
    webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c

Modified: webservices/axis2/trunk/c/include/axis2_svc_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc_client.h?rev=416310&r1=416309&r2=416310&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_client.h Thu Jun 22 02:47:53 2006
@@ -138,9 +138,10 @@
           * Gets the overriding options.
           * @param svc_client pointer to service client struct
           * @param env pointer to environment struct
-          * @return pointer to overriding options struct
+          * @return pointer to overriding options struct if options set, else NULL.
+          * Returns a reference, not a cloned copy.
           */
-        axis2_options_t *(AXIS2_CALL *
+        const axis2_options_t *(AXIS2_CALL *
                 get_override_options)(
                     const axis2_svc_client_t *svc_client,
                     const axis2_env_t *env);
@@ -317,7 +318,7 @@
           */
         const axis2_endpoint_ref_t *(AXIS2_CALL *
                 get_own_endpoint_ref)(
-                    axis2_svc_client_t *svc_client,
+                    const axis2_svc_client_t *svc_client,
                     const axis2_env_t *env,
                     const axis2_char_t *transport);
 
@@ -330,7 +331,7 @@
           */
         const axis2_endpoint_ref_t *(AXIS2_CALL *
                 get_target_endpoint_ref)(
-                    axis2_svc_client_t *svc_client,
+                    const axis2_svc_client_t *svc_client,
                     const axis2_env_t *env);
 
         /**
@@ -396,8 +397,10 @@
      * Creates a service client struct for a specified service and configuration
      * context.
      * @param env pointer to environment struct
-     * @param conf_ctx pointer to configuration context
-     * @param svc pointer to service struct representing the service to be consumed
+     * @param conf_ctx pointer to configuration context. Newly created client 
+     * assumes ownership of the conf_ctx
+     * @param svc pointer to service struct representing the service to be consumed.
+     * Newly created client assumes ownership of the service 
      * @param client_home name of the directory that contains the Axis2/C repository
      * @return a pointer to newly created service client struct,
      *         or NULL on error with error code set in environment's error

Modified: webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c?rev=416310&r1=416309&r2=416310&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Thu Jun 22 02:47:53 2006
@@ -92,7 +92,7 @@
     const axis2_env_t *env,
     const axis2_options_t *override_options);
 
-axis2_options_t* AXIS2_CALL 
+const axis2_options_t* AXIS2_CALL 
 axis2_svc_client_get_override_options(const axis2_svc_client_t *svc_client,
     const axis2_env_t *env);
 
@@ -150,12 +150,12 @@
                         const axis2_env_t *env);
     
 const axis2_endpoint_ref_t* AXIS2_CALL 
-axis2_svc_client_get_own_endpoint_ref(struct axis2_svc_client *svc_client,
+axis2_svc_client_get_own_endpoint_ref(const struct axis2_svc_client *svc_client,
                 const axis2_env_t *env,
                 const axis2_char_t *transport);
 
 const axis2_endpoint_ref_t* AXIS2_CALL 
-axis2_svc_client_get_target_endpoint_ref(struct axis2_svc_client *svc_client,
+axis2_svc_client_get_target_endpoint_ref(const struct axis2_svc_client *svc_client,
                     const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
@@ -352,7 +352,7 @@
    return AXIS2_SUCCESS;
 }
 
-axis2_options_t* AXIS2_CALL 
+const axis2_options_t* AXIS2_CALL 
 axis2_svc_client_get_override_options(const axis2_svc_client_t *svc_client,
     const axis2_env_t *env)
 {
@@ -832,7 +832,7 @@
 }
     
 const axis2_endpoint_ref_t* AXIS2_CALL 
-axis2_svc_client_get_own_endpoint_ref(struct axis2_svc_client *svc_client,
+axis2_svc_client_get_own_endpoint_ref(const struct axis2_svc_client *svc_client,
                 const axis2_env_t *env,
                 const axis2_char_t *transport)
 {
@@ -847,7 +847,7 @@
 }
 
 const axis2_endpoint_ref_t* AXIS2_CALL 
-axis2_svc_client_get_target_endpoint_ref(struct axis2_svc_client *svc_client,
+axis2_svc_client_get_target_endpoint_ref(const struct axis2_svc_client *svc_client,
                     const axis2_env_t *env)
 {
    axis2_svc_client_impl_t *svc_client_impl = 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