axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r521172 - /webservices/axis2/trunk/c/modules/core/clientapi/options.c
Date Thu, 22 Mar 2007 09:36:59 GMT
Author: pini
Date: Thu Mar 22 02:36:58 2007
New Revision: 521172

URL: http://svn.apache.org/viewvc?view=rev&rev=521172
Log:
Fixed indentation.


Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/options.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/options.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/options.c?view=diff&rev=521172&r1=521171&r2=521172
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/options.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/options.c Thu Mar 22 02:36:58 2007
@@ -54,12 +54,11 @@
     axis2_bool_t manage_session;
     axis2_bool_t enable_mtom;
     axis2_string_t *soap_action;
-	axis2_bool_t xml_parser_reset;
+    axis2_bool_t xml_parser_reset;
 };
 
 AXIS2_EXTERN axis2_options_t *AXIS2_CALL
-axis2_options_create(
-    const axis2_env_t *env)
+axis2_options_create(const axis2_env_t *env)
 {
     axis2_options_t *options = NULL;
 
@@ -107,8 +106,7 @@
 }
 
 AXIS2_EXTERN axis2_options_t *AXIS2_CALL
-axis2_options_create_with_parent(
-    const axis2_env_t *env,
+axis2_options_create_with_parent(const axis2_env_t *env,
     axis2_options_t *parent)
 {
 
@@ -124,8 +122,7 @@
 }
 
 AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-axis2_options_get_action(
-    const axis2_options_t *options,
+axis2_options_get_action(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     const axis2_char_t *action = NULL;
@@ -142,8 +139,7 @@
 }
 
 AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
-axis2_options_get_fault_to(
-    const axis2_options_t *options,
+axis2_options_get_fault_to(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     axis2_endpoint_ref_t *fault_to = NULL;
@@ -161,8 +157,7 @@
 
 
 AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
-axis2_options_get_from(
-    const axis2_options_t *options,
+axis2_options_get_from(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     axis2_endpoint_ref_t *from = NULL;
@@ -179,8 +174,7 @@
 }
 
 AXIS2_EXTERN axis2_transport_receiver_t *AXIS2_CALL
-axis2_options_get_transport_receiver(
-    const axis2_options_t *options,
+axis2_options_get_transport_receiver(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
@@ -193,10 +187,8 @@
     return options->receiver;
 }
 
-
 AXIS2_EXTERN axis2_transport_in_desc_t *AXIS2_CALL
-axis2_options_get_transport_in(
-    const axis2_options_t *options,
+axis2_options_get_transport_in(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
@@ -211,7 +203,7 @@
 
 AXIS2_EXTERN AXIS2_TRANSPORT_ENUMS AXIS2_CALL
 axis2_options_get_transport_in_protocol(const axis2_options_t *options,
-        const axis2_env_t *env)
+    const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
 
@@ -225,7 +217,7 @@
 
 AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
 axis2_options_get_message_id(const axis2_options_t *options,
-        const axis2_env_t *env)
+    const axis2_env_t *env)
 {
     const axis2_char_t *message_id = NULL;
     AXIS2_ENV_CHECK(env, NULL);
@@ -242,7 +234,7 @@
 
 AXIS2_EXTERN axis2_hash_t *AXIS2_CALL
 axis2_options_get_properties(const axis2_options_t *options,
-        const axis2_env_t *env)
+    const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
 
@@ -256,8 +248,8 @@
 
 AXIS2_EXTERN void *AXIS2_CALL
 axis2_options_get_property(const axis2_options_t *options,
-        const axis2_env_t *env,
-        const axis2_char_t *key)
+    const axis2_env_t *env,
+    const axis2_char_t *key)
 {
     void *property = NULL;
     AXIS2_ENV_CHECK(env, NULL);
@@ -273,8 +265,7 @@
 }
 
 AXIS2_EXTERN axis2_relates_to_t *AXIS2_CALL
-axis2_options_get_relates_to(
-    const axis2_options_t *options,
+axis2_options_get_relates_to(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     axis2_relates_to_t *relates_to = NULL;
@@ -290,10 +281,8 @@
     return relates_to;
 }
 
-
 AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
-axis2_options_get_reply_to(
-    const axis2_options_t *options,
+axis2_options_get_reply_to(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     axis2_endpoint_ref_t *reply_to = NULL;
@@ -310,8 +299,7 @@
 }
 
 AXIS2_EXTERN axis2_transport_out_desc_t *AXIS2_CALL
-axis2_options_get_transport_out(
-    const axis2_options_t *options,
+axis2_options_get_transport_out(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
@@ -325,8 +313,7 @@
 }
 
 AXIS2_EXTERN AXIS2_TRANSPORT_ENUMS AXIS2_CALL
-axis2_options_get_sender_transport_protocol(
-    const axis2_options_t *options,
+axis2_options_get_sender_transport_protocol(const axis2_options_t *options,
     const axis2_env_t *env)
 {
 
@@ -341,8 +328,7 @@
 }
 
 AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-axis2_options_get_soap_version_uri(
-    const axis2_options_t *options,
+axis2_options_get_soap_version_uri(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
@@ -361,8 +347,7 @@
 }
 
 AXIS2_EXTERN long AXIS2_CALL
-axis2_options_get_timeout_in_milli_seconds(
-    const axis2_options_t *options,
+axis2_options_get_timeout_in_milli_seconds(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     if (options->timeout_in_milli_seconds == -1 && options->parent)
@@ -381,7 +366,7 @@
 
 AXIS2_EXTERN axis2_endpoint_ref_t* AXIS2_CALL
 axis2_options_get_to(const axis2_options_t *options,
-        const axis2_env_t *env)
+    const axis2_env_t *env)
 {
     axis2_endpoint_ref_t *to = NULL;
     AXIS2_ENV_CHECK(env, NULL);
@@ -399,7 +384,7 @@
 
 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
 axis2_options_get_use_separate_listener(const axis2_options_t *options,
-        const axis2_env_t *env)
+    const axis2_env_t *env)
 {
     if (options->use_separate_listener == -1 && options->parent)
     {
@@ -415,16 +400,14 @@
 }
 
 AXIS2_EXTERN axis2_options_t *AXIS2_CALL
-axis2_options_get_parent(
-    const axis2_options_t *options,
+axis2_options_get_parent(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     return options->parent;
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_parent(
-    axis2_options_t *options,
+axis2_options_set_parent(axis2_options_t *options,
     const axis2_env_t *env,
     const axis2_options_t *parent)
 {
@@ -433,8 +416,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_action(
-    axis2_options_t *options,
+axis2_options_set_action(axis2_options_t *options,
     const axis2_env_t *env,
     const axis2_char_t *action)
 {
@@ -443,8 +425,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_fault_to(
-    axis2_options_t *options,
+axis2_options_set_fault_to(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_endpoint_ref_t *fault_to)
 {
@@ -453,8 +434,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_from(
-    axis2_options_t *options,
+axis2_options_set_from(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_endpoint_ref_t *from)
 {
@@ -463,8 +443,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_to(
-    axis2_options_t *options,
+axis2_options_set_to(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_endpoint_ref_t *to)
 {
@@ -473,8 +452,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_transport_receiver(
-    axis2_options_t *options,
+axis2_options_set_transport_receiver(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_transport_receiver_t *receiver)
 {
@@ -483,8 +461,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_transport_in(
-    axis2_options_t *options,
+axis2_options_set_transport_in(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_transport_in_desc_t *transport_in)
 {
@@ -493,8 +470,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_transport_in_protocol(
-    axis2_options_t *options,
+axis2_options_set_transport_in_protocol(axis2_options_t *options,
     const axis2_env_t *env,
     const AXIS2_TRANSPORT_ENUMS transport_in_protocol)
 {
@@ -502,10 +478,8 @@
     return AXIS2_SUCCESS;
 }
 
-
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_message_id(
-    axis2_options_t *options,
+axis2_options_set_message_id(axis2_options_t *options,
     const axis2_env_t *env,
     const axis2_char_t *message_id)
 {
@@ -514,8 +488,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_properties(
-    axis2_options_t *options,
+axis2_options_set_properties(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_hash_t *properties)
 {
@@ -530,21 +503,18 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_property(
-    axis2_options_t *options,
+axis2_options_set_property(axis2_options_t *options,
     const axis2_env_t *env,
     const axis2_char_t *property_key,
     const void *property)
 {
     axis2_hash_set(options->properties, property_key,
-            AXIS2_HASH_KEY_STRING, property);
+        AXIS2_HASH_KEY_STRING, property);
     return AXIS2_SUCCESS;
 }
 
-
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_relates_to(
-    axis2_options_t *options,
+axis2_options_set_relates_to(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_relates_to_t *relates_to)
 {
@@ -553,8 +523,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_reply_to(
-    axis2_options_t *options,
+axis2_options_set_reply_to(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_endpoint_ref_t *reply_to)
 {
@@ -563,8 +532,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_transport_out(
-    axis2_options_t *options,
+axis2_options_set_transport_out(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_transport_out_desc_t *transport_out)
 {
@@ -573,8 +541,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_sender_transport(
-    axis2_options_t *options,
+axis2_options_set_sender_transport(axis2_options_t *options,
     const axis2_env_t *env,
     const AXIS2_TRANSPORT_ENUMS sender_transport,
     axis2_conf_t *conf)
@@ -592,8 +559,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_soap_version_uri(
-    axis2_options_t *options,
+axis2_options_set_soap_version_uri(axis2_options_t *options,
     const axis2_env_t *env,
     const axis2_char_t *soap_version_uri)
 {
@@ -612,8 +578,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_timeout_in_milli_seconds(
-    axis2_options_t *options,
+axis2_options_set_timeout_in_milli_seconds(axis2_options_t *options,
     const axis2_env_t *env,
     long timeout_in_milli_seconds)
 {
@@ -621,10 +586,8 @@
     return AXIS2_SUCCESS;
 }
 
-
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_transport_info(
-    axis2_options_t *options,
+axis2_options_set_transport_info(axis2_options_t *options,
     const axis2_env_t *env,
     const AXIS2_TRANSPORT_ENUMS sender_transport,
     const AXIS2_TRANSPORT_ENUMS receiver_transport,
@@ -647,7 +610,7 @@
     else
     {
         axis2_options_set_use_separate_listener(options,
-                env, use_separate_listener);
+            env, use_separate_listener);
     }
     axis2_options_set_transport_in_protocol(options, env, receiver_transport);
     options->sender_transport_protocol = sender_transport;
@@ -656,8 +619,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_use_separate_listener(
-    axis2_options_t *options,
+axis2_options_set_use_separate_listener(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_bool_t use_separate_listener)
 {
@@ -666,20 +628,18 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_add_reference_parameter(
-    axis2_options_t *options,
+axis2_options_add_reference_parameter(axis2_options_t *options,
     const axis2_env_t *env,
     axiom_node_t *reference_parameter)
 {
     axis2_msg_info_headers_add_ref_param(options->msg_info_headers,
-            env, reference_parameter);
+        env, reference_parameter);
     return AXIS2_SUCCESS;
 }
 
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_manage_session(
-    axis2_options_t *options,
+axis2_options_set_manage_session(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_bool_t manage_session)
 {
@@ -688,8 +648,7 @@
 }
 
 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-axis2_options_get_manage_session(
-    const axis2_options_t *options,
+axis2_options_get_manage_session(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FALSE);
@@ -708,8 +667,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_msg_info_headers(
-    axis2_options_t *options,
+axis2_options_set_msg_info_headers(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_msg_info_headers_t *msg_info_headers)
 {
@@ -717,10 +675,8 @@
     return AXIS2_SUCCESS;
 }
 
-
 AXIS2_EXTERN axis2_msg_info_headers_t *AXIS2_CALL
-axis2_options_get_msg_info_headers(
-    const axis2_options_t *options,
+axis2_options_get_msg_info_headers(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
@@ -729,8 +685,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_free(
-    axis2_options_t *options,
+axis2_options_free(axis2_options_t *options,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -741,7 +696,7 @@
         void *val = NULL;
         const void *key = NULL;
         for (hi = axis2_hash_first(options->properties, env);
-                hi; hi = axis2_hash_next(env, hi))
+            hi; hi = axis2_hash_next(env, hi))
         {
             axis2_property_t *property = NULL;
 
@@ -777,8 +732,7 @@
 }
 
 AXIS2_EXTERN int AXIS2_CALL
-axis2_options_get_soap_version(
-    const axis2_options_t *options,
+axis2_options_get_soap_version(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     return options->soap_version;
@@ -786,8 +740,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_soap_version(
-    axis2_options_t *options,
+axis2_options_set_soap_version(axis2_options_t *options,
     const axis2_env_t *env,
     int soap_version)
 {
@@ -797,20 +750,19 @@
     {
         options->soap_version = soap_version;
         axis2_options_set_soap_version_uri(options, env,
-                AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI);
+            AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI);
     }
     else
     {
         options->soap_version = AXIOM_SOAP12;
         axis2_options_set_soap_version_uri(options, env,
-                AXIOM_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI);
+            AXIOM_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI);
     }
     return AXIS2_SUCCESS;
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_options_set_enable_mtom(
-    axis2_options_t *options,
+axis2_options_set_enable_mtom(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_bool_t enable_mtom)
 {
@@ -830,16 +782,14 @@
 }
 
 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-axis2_options_get_enable_mtom(
-    const axis2_options_t *options,
+axis2_options_get_enable_mtom(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     return options->enable_mtom;
 }
 
-AXIS2_EXTERN axis2_string_t* AXIS2_CALL
-axis2_options_get_soap_action(
-    const axis2_options_t *options,
+AXIS2_EXTERN axis2_string_t *AXIS2_CALL
+axis2_options_get_soap_action(const axis2_options_t *options,
     const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
@@ -848,8 +798,7 @@
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-axis2_options_set_soap_action(
-    axis2_options_t *options,
+axis2_options_set_soap_action(axis2_options_t *options,
     const axis2_env_t *env,
     axis2_string_t *soap_action)
 {
@@ -870,20 +819,18 @@
 
 
 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-axis2_options_get_xml_parser_reset (
-	const axis2_options_t *options,
+axis2_options_get_xml_parser_reset(const axis2_options_t *options,
 	const axis2_env_t *env)
 {
     return options->xml_parser_reset;
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-axis2_options_set_xml_parser_reset (
-    axis2_options_t *options,
+axis2_options_set_xml_parser_reset(axis2_options_t *options,
     const axis2_env_t *env,
     const axis2_bool_t xml_parser_reset)
 {
-	options->xml_parser_reset = xml_parser_reset;
+    options->xml_parser_reset = xml_parser_reset;
     return AXIS2_SUCCESS;
 }
 



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