axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billblo...@apache.org
Subject svn commit: r1838301 - /axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c
Date Sat, 18 Aug 2018 01:35:40 GMT
Author: billblough
Date: Sat Aug 18 01:35:40 2018
New Revision: 1838301

URL: http://svn.apache.org/viewvc?rev=1838301&view=rev
Log:
Rename axiom_soap_fault_sub_code_get_subcode

* Rename axiom_soap_fault_sub_code_get_subcode to match what is listed in
the header file (axiom_soap_fault_sub_code_get_sub_code).
* Add wrapper function named axiom_soap_fault_sub_code_get_subcode to
maintain API compatibility until it can be deprecated and safely removed.

Modified:
    axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c

Modified: axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c?rev=1838301&r1=1838300&r2=1838301&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c (original)
+++ axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c Sat Aug 18 01:35:40 2018
@@ -222,11 +222,22 @@ axiom_soap_fault_sub_code_set_value(
     return AXIS2_FAILURE;
 }
 
+/* Deprecated - use axiom_soap_fault_sub_code_get_sub_code */
+/* TODO remove in 2.0 */
 AXIS2_EXTERN axiom_soap_fault_sub_code_t *AXIS2_CALL
 axiom_soap_fault_sub_code_get_subcode(
     axiom_soap_fault_sub_code_t * fault_sub_code,
     const axutil_env_t * env)
 {
+    return axiom_soap_fault_sub_code_get_sub_code(fault_sub_code, env);
+}
+
+
+AXIS2_EXTERN axiom_soap_fault_sub_code_t *AXIS2_CALL
+axiom_soap_fault_sub_code_get_sub_code(
+    axiom_soap_fault_sub_code_t * fault_sub_code,
+    const axutil_env_t * env)
+{
     int status = AXIS2_SUCCESS;
 
     if(fault_sub_code->builder)



Mime
View raw message