axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r580209 [2/4] - in /webservices/axis2/trunk/c/util/include: ./ platforms/ platforms/unix/ platforms/windows/
Date Fri, 28 Sep 2007 03:31:21 GMT
Modified: webservices/axis2/trunk/c/util/include/axutil_error.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_error.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_error.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_error.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -25,28 +26,34 @@
 extern "C"
 {
 #endif
-	/** 
-	 * \brief Axis2 status codes
-	 *
-	 * Possible status values for Axis2
-	 */
+
+    /**
+    * \brief Axis2 status codes
+    *
+    * Possible status values for Axis2
+    */
     enum axis2_status_codes
     {
+
         /** Critical Failure state */
         AXIS2_CRITICAL_FAILURE = -1,
+
         /** Failure state */
         AXIS2_FAILURE,
+
         /** Success state */
         AXIS2_SUCCESS
     };
-	/** 
-	 * \brief Axis2 error codes
-	 *
-	 * Set of error codes for Axis2
-	 */
+
+    /**
+    * \brief Axis2 error codes
+    *
+    * Set of error codes for Axis2
+    */
     enum axutil_error_codes
     {
-        /** No error. 
+
+        /** No error.
             This must be the first error all the time and the assigned value of 0 
             must not be changed as it is assumed in the error message array that 
             the error list starts with a value of 0.
@@ -54,13 +61,15 @@
             to an arbitrary value as it is assumed in the implementation when mapping 
             error codes to error messages that the error codes are contiguous and 
             the last error value is always AXIS2_ERROR_LAST.
-		*/
-        /* 
+        */
+        /*
          * Group - Common Errors
          */
         AXIS2_ERROR_NONE = 0,
+
         /** Out of memory */
         AXIS2_ERROR_NO_MEMORY,
+
         /** NULL paramater was passed when a non NULL parameter was expected */
         AXIS2_ERROR_INVALID_NULL_PARAM,
 
@@ -71,18 +80,23 @@
         /*
          * Group - core:clientapi
          */
+
         /** Blocking invocation expects response */
         AXIS2_ERROR_BLOCKING_INVOCATION_EXPECTS_RESPONSE,
+
         /** cannot infer transport from URL */
         AXIS2_ERROR_CANNOT_INFER_TRANSPORT,
+
         /** Client side support only one configuration context */
         AXIS2_ERROR_CLIENT_SIDE_SUPPORT_ONLY_ONE_CONF_CTX,
         /* MEP cannot be NULL in MEP client */
         AXIS2_ERROR_MEP_CANNOT_BE_NULL_IN_MEP_CLIENT,
         /* MEP Mismatch */
         AXIS2_ERROR_MEP_MISMATCH_IN_MEP_CLIENT,
+
         /** Two way channel needs addressing module to be engaged */
         AXIS2_ERROR_TWO_WAY_CHANNEL_NEEDS_ADDRESSING,
+
         /** Unknown Transport */
         AXIS2_ERROR_UNKNOWN_TRANSPORT,
         /* Unsupported SOAP style */
@@ -96,21 +110,26 @@
         /*
          * Group - core:context
          */
+
         /** Invalid SOAP envelope state */
         AXIS2_ERROR_INVALID_SOAP_ENVELOPE_STATE,
+
         /** Invalid message context state  */
         AXIS2_ERROR_INVALID_STATE_MSG_CTX,
+
         /** Service accessed has invalid state */
         AXIS2_ERROR_INVALID_STATE_SVC,
+
         /** Service group accessed has invalid state */
         AXIS2_ERROR_INVALID_STATE_SVC_GRP,
+
         /** Service not yet found */
         AXIS2_ERROR_SERVICE_NOT_YET_FOUND,
 
-		/*
-		 * Group - core:deployment
-		 */ 
-        /* Invalid phase found in phase validation*/
+        /*
+         * Group - core:deployment
+         */
+        /* Invalid phase found in phase validation */
         AXI2_ERROR_INVALID_PHASE,
         /* axis2.xml cannot be found */
         AXIS2_ERROR_CONFIG_NOT_FOUND,
@@ -118,11 +137,12 @@
         AXIS2_ERROR_DATA_ELEMENT_IS_NULL,
         /* In transport sender, Inflow is not allowed */
         AXIS2_ERROR_IN_FLOW_NOT_ALLOWED_IN_TRS_OUT,
+
         /** Invalid handler state */
         AXIS2_ERROR_INVALID_HANDLER_STATE,
         /* Invalid Module Ref encountered */
         AXIS2_ERROR_INVALID_MODUELE_REF,
-        /* Invalid Module Reference by Operation*/
+        /* Invalid Module Reference by Operation */
         AXIS2_ERROR_INVALID_MODUELE_REF_BY_OP,
         /* Invalid Module Configuration */
         AXIS2_ERROR_INVALID_MODULE_CONF,
@@ -130,15 +150,16 @@
         AXIS2_ERROR_INVALID_STATE_DESC_BUILDER,
         /* Module Not Found */
         AXIS2_ERROR_MODULE_NOT_FOUND,
-        /* Module Validation Failed*/
+        /* Module Validation Failed */
         AXIS2_ERROR_MODULE_VALIDATION_FAILED,
+
         /** Module xml file is not found in the given path */
         AXIS2_ERROR_MODULE_XML_NOT_FOUND_FOR_THE_MODULE,
-        /* No dispatcher found*/
+        /* No dispatcher found */
         AXIS2_ERROR_NO_DISPATCHER_FOUND,
         /* Operation name is missing */
         AXIS2_ERROR_OP_NAME_MISSING,
-        /* In transport Receiver, Outflow is not allowed*/
+        /* In transport Receiver, Outflow is not allowed */
         AXIS2_ERROR_OUT_FLOW_NOT_ALLOWED_IN_TRS_IN,
         /* Repository name cannot be NULL */
         AXIS2_ERROR_REPO_CAN_NOT_BE_NULL,
@@ -146,6 +167,7 @@
         AXIS2_ERROR_REPOSITORY_NOT_EXIST,
         /* Repository Listener initialization failed */
         AXIS2_ERROR_REPOS_LISTENER_INIT_FAILED,
+
         /** Service xml file is not found in the given path */
         AXIS2_ERROR_SERVICE_XML_NOT_FOUND,
         /* Service Name Error */
@@ -156,60 +178,78 @@
         AXIS2_PATH_TO_CONFIG_CAN_NOT_BE_NULL,
         /* Invalid Service */
         AXIS2_ERROR_INVALID_SVC,
-		/*
-		 * Group - core:description
-		 */ 
-        /* Cannot correlate message*/
+        /*
+         * Group - core:description
+         */
+        /* Cannot correlate message */
         AXIS2_ERROR_CANNOT_CORRELATE_MSG,
+
         /** Could not Map the MEP URI to a axis MEP constant value */
         AXIS2_ERROR_COULD_NOT_MAP_MEP_URI_TO_MEP_CONSTANT,
         /* Invalid messge addition , operation context completed */
         AXIS2_ERROR_INVALID_MESSAGE_ADDITION,
+
         /** Module description accessed has invalid state */
         AXIS2_ERROR_INVALID_STATE_MODULE_DESC,
+
         /** Parameter container not set */
         AXIS2_ERROR_INVALID_STATE_PARAM_CONTAINER,
+
         /** module has alredy engaged to the op op terminated !!! */
         AXIS2_ERROR_MODULE_ALREADY_ENGAGED_TO_OP,
+
         /** module has alredy been engaged on the service.Operation terminated !!! */
         AXIS2_ERROR_MODULE_ALREADY_ENGAGED_TO_SVC,
+
         /** module has alredy been engaged on the service. Group Operation terminated !!! */
         AXIS2_ERROR_MODULE_ALREADY_ENGAGED_TO_SVC_GRP,
+
         /** Parameter locked, Cannot override */
         AXIS2_ERROR_PARAMETER_LOCKED_CANNOT_OVERRIDE,
         /* schema list is empty or NULL in svc */
         AXIS2_ERROR_EMPTY_SCHEMA_LIST,
-		/*
-		 * Group - core:engine
-		 */ 
+        /*
+         * Group - core:engine
+         */
+
         /** Both before and after handlers cannot be the same */
         AXIS2_ERROR_BEFORE_AFTER_HANDLERS_SAME,
+
         /** Invalid handler rules  */
         AXIS2_ERROR_INVALID_HANDLER_RULES,
         /* Invalid Module */
         AXIS2_ERROR_INVALID_MODULE,
+
         /** Invalid first handler for phase  */
         AXIS2_ERROR_INVALID_PHASE_FIRST_HANDLER,
+
         /** Invalid last handler for phase  */
         AXIS2_ERROR_INVALID_PHASE_LAST_HANDLER,
-		/** Invalid engine config state */
+
+        /** Invalid engine config state */
         AXIS2_ERROR_INVALID_STATE_CONF,
+
         /** Message context processing a fault already */
         AXIS2_ERROR_INVALID_STATE_PROCESSING_FAULT_ALREADY,
+
         /** fault to field not specified in message context */
         AXIS2_ERROR_NOWHERE_TO_SEND_FAULT,
+
         /** Only one handler allowed for phase, adding handler is not allowed  */
         AXIS2_ERROR_PHASE_ADD_HANDLER_INVALID,
+
         /** First handler of phase already set */
         AXIS2_ERROR_PHASE_FIRST_HANDLER_ALREADY_SET,
+
         /** Last handler of phase already set */
         AXIS2_ERROR_PHASE_LAST_HANDLER_ALREADY_SET,
-        /**Two service can not have same name, a service with same name alredy 
+
+        /**Two service can not have same name, a service with same name alredy
            exist in the system */
         AXIS2_ERROR_TWO_SVCS_CANNOT_HAVE_SAME_NAME,
-		/*
-		 * Group - core:phaseresolver
-		 */ 
+        /*
+         * Group - core:phaseresolver
+         */
         /* Invalid Module Ref */
         AXIS2_ERROR_INVALID_MODULE_REF,
         /* Invalid Phase */
@@ -226,11 +266,12 @@
         /*
          * Group - core:wsdl
          */
+
         /**  Schema is NULL */
         AXIS2_ERROR_WSDL_SCHEMA_IS_NULL,
-		/*
-		 * Group - core:receivers
-		 */ 
+        /*
+         * Group - core:receivers
+         */
         /* Om Element has invalid state */
         AXIS2_ERROR_OM_ELEMENT_INVALID_STATE,
         /* Om Elements do not match */
@@ -241,28 +282,31 @@
         AXIS2_ERROR_UNKNOWN_STYLE,
         /* String does not represent a valid NCName */
         AXIS2_ERROR_STRING_DOES_NOT_REPRESENT_A_VALID_NC_NAME,
-		/*
-		 * Group - core:transport
-		 */ 
-
-		/*
-		 * Group - core:transport:http
-		 */ 
+        /*
+         * Group - core:transport
+         */
+
+        /*
+         * Group - core:transport:http
+         */
         /* Error occured in transport */
         AXIS2_ERROR_HTTP_CLIENT_TRANSPORT_ERROR,
+
         /** A read attempt(HTTP) for the reply without sending the request */
         AXIS2_ERROR_HTTP_REQUEST_NOT_SENT,
+
         /** Invalid string passed as a http header */
         AXIS2_ERROR_INVALID_HEADER,
         /* Invalid header start linei (request line or response line) */
         AXIS2_ERROR_INVALID_HTTP_HEADER_START_LINE,
         /* Transport protocol is unsupported by axis2 */
         AXIS2_ERROR_INVALID_TRANSPORT_PROTOCOL,
+
         /** No body present in the request or the response */
         AXIS2_ERROR_NULL_BODY,
         /* A valid conf_ctx is reqd for the http worker */
         AXIS2_ERROR_NULL_CONFIGURATION_CONTEXT,
-        /* HTTP version cannot be null in the status/request line */ 
+        /* HTTP version cannot be null in the status/request line */
         AXIS2_ERROR_NULL_HTTP_VERSION,
         /* Input stream is NULL in msg_ctx */
         AXIS2_ERROR_NULL_IN_STREAM_IN_MSG_CTX,
@@ -274,75 +318,89 @@
         AXIS2_ERROR_NULL_STREAM_IN_CHUNKED_STREAM,
         /* We got a NULL strem in the response body */
         AXIS2_ERROR_NULL_STREAM_IN_RESPONSE_BODY,
+
         /** URL NULL in http client */
         AXIS2_ERROR_NULL_URL,
-        /* We need transport_info in msg_ctx*/
+        /* We need transport_info in msg_ctx */
         AXIS2_ERROR_OUT_TRNSPORT_INFO_NULL,
         /*Content-Type header missing in HTTP response" */
         AXIS2_ERROR_RESPONSE_CONTENT_TYPE_MISSING,
+
         /** Response timed out */
         AXIS2_ERROR_RESPONSE_TIMED_OUT,
+
         /** Server shutdown*/
         AXIS2_ERROR_RESPONSE_SERVER_SHUTDOWN,
+
         /** SOAP envelope or SOAP body NULL */
         AXIS2_ERROR_SOAP_ENVELOPE_OR_SOAP_BODY_NULL,
         /* Error occured in SSL engine */
         AXIS2_ERROR_SSL_ENGINE,
-        /* Either axis2c cannot find certificates or the env variable is not set*/
+        /* Either axis2c cannot find certificates or the env variable is not set */
         AXIS2_ERROR_SSL_NO_CA_FILE,
         /* Error in writing the response in response writer */
         AXIS2_ERROR_WRITING_RESPONSE,
-        /* Required parameter is missing in url encoded request*/
+        /* Required parameter is missing in url encoded request */
         AXIS2_ERROR_REQD_PARAM_MISSING,
         /* Unsuppoted schema type in REST */
         AXIS2_ERROR_UNSUPPORTED_SCHEMA_TYPE,
         /* Service or operation not found */
         AXIS2_ERROR_SVC_OR_OP_NOT_FOUND,
-		/*
-		 * Group - mod_addr
-		 */ 
-
-		/*
-		 * Group - platforms
-		 */
-    
-		/*
-		 * Group - utils
-		 */
-		/** Could not open the axis2 file */
-		AXIS2_ERROR_COULD_NOT_OPEN_FILE,
+        /*
+         * Group - mod_addr
+         */
+
+        /*
+         * Group - platforms
+         */
+
+        /*
+         * Group - utils
+         */
+
+        /** Could not open the axis2 file */
+        AXIS2_ERROR_COULD_NOT_OPEN_FILE,
         /* Failed in creating DLL */
         AXIS2_ERROR_DLL_CREATE_FAILED,
         /* DLL loading failed */
         AXIS2_ERROR_DLL_LOADING_FAILED,
-		/** Environment passed is null */
-		AXIS2_ERROR_ENVIRONMENT_IS_NULL,
+
+        /** Environment passed is null */
+        AXIS2_ERROR_ENVIRONMENT_IS_NULL,
         /* Axis2 File does not have a file name */
         AXIS2_ERROR_FILE_NAME_NOT_SET,
         /* DLL Description Info Object has invalid state */
         AXIS2_ERROR_INVALID_STATE_DLL_DESC,
-        /* Failed in creating Handler*/
+        /* Failed in creating Handler */
         AXIS2_ERROR_HANDLER_CREATION_FAILED,
+
         /** Array list index out of bounds */
         AXIS2_ERROR_INDEX_OUT_OF_BOUNDS,
-		/** Invalid IP or hostname */
-		AXIS2_ERROR_INVALID_ADDRESS,
-		/** Trying to do operation on invalid file descriptor */
-		AXIS2_ERROR_INVALID_FD,
-		/** Trying to do operation on closed/not opened socket */
-		AXIS2_ERROR_INVALID_SOCKET,
+
+        /** Invalid IP or hostname */
+        AXIS2_ERROR_INVALID_ADDRESS,
+
+        /** Trying to do operation on invalid file descriptor */
+        AXIS2_ERROR_INVALID_FD,
+
+        /** Trying to do operation on closed/not opened socket */
+        AXIS2_ERROR_INVALID_SOCKET,
+
         /** Parameter not set */
         AXIS2_ERROR_INVALID_STATE_PARAM,
         /* Module create failed */
         AXIS2_ERROR_MODULE_CREATION_FAILED,
-        /* Failed in creating Message Receiver*/
+        /* Failed in creating Message Receiver */
         AXIS2_ERROR_MSG_RECV_CREATION_FAILED,
+
         /** No such element */
         AXIS2_ERROR_NO_SUCH_ELEMENT,
-		/** Socket bind failed. Another process may be already using this port*/
-		AXIS2_ERROR_SOCKET_BIND_FAILED,
-		/** Error creating a socket. Most probably error returned by OS */
-		AXIS2_ERROR_SOCKET_ERROR,
+
+        /** Socket bind failed. Another process may be already using this port*/
+        AXIS2_ERROR_SOCKET_BIND_FAILED,
+
+        /** Error creating a socket. Most probably error returned by OS */
+        AXIS2_ERROR_SOCKET_ERROR,
         /* Listen failed for the server socket */
         AXIS2_ERROR_SOCKET_LISTEN_FAILED,
         /* Failed in creating Service Skeleton */
@@ -355,15 +413,17 @@
         AXIS2_ERROR_UUID_GEN_FAILED,
         /* Possible deadlock */
         AXIS2_ERROR_POSSIBLE_DEADLOCK,
-		/*
-		 * Group - wsdl
-		 */
+        /*
+         * Group - wsdl
+         */
         /* Interface or Port Type not found for the binding */
         AXIS2_ERROR_INTERFACE_OR_PORT_TYPE_NOT_FOUND_FOR_THE_BINDING,
-		/* Interfaces or Ports not found for the partially built WOM */
-		AXIS2_ERROR_INTERFACES_OR_PORTS_NOT_FOUND_FOR_PARTIALLY_BUILT_WOM,
+        /* Interfaces or Ports not found for the partially built WOM */
+        AXIS2_ERROR_INTERFACES_OR_PORTS_NOT_FOUND_FOR_PARTIALLY_BUILT_WOM,
+
         /** Wsdl op accessed has invalid state */
         AXIS2_ERROR_INVALID_STATE_WSDL_OP,
+
         /** Wsdl Service accessed has invalid state */
         AXIS2_ERROR_INVALID_STATE_WSDL_SVC,
         /* Cannot determine MEP */
@@ -376,167 +436,211 @@
         AXIS2_ERROR_WSDL_PARSER_INVALID_STATE,
         /* Wsdl svc name cannot be null(Required) */
         AXIS2_ERROR_WSDL_SVC_NAME_IS_REQUIRED,
-		/*
-		 * Group - xml
-		 */
-
-		/*
-		 * Group - xml:attachments
-		 */
-        
-		/*
-		 * Group - xml:om
-		 */
+        /*
+         * Group - xml
+         */
+
+        /*
+         * Group - xml:attachments
+         */
+
+        /*
+         * Group - xml:om
+         */
+
         /** Builder done with pulling. Cannot pull any more */
         AXIS2_ERROR_BUILDER_DONE_CANNOT_PULL,
+
         /** Discard faile because the builder state is invalid */
         AXIS2_ERROR_INVALID_BUILDER_STATE_CANNOT_DISCARD,
+
         /** Bulder's last node is NULL when it is not supposed to be NULL */
         AXIS2_ERROR_INVALID_BUILDER_STATE_LAST_NODE_NULL,
+
         /** Document root is NULL, when it is not supposed to be NULL */
         AXIS2_ERROR_INVALID_DOCUMENT_STATE_ROOT_NULL,
+
         /** Undefined namespace used */
         AXIS2_ERROR_INVALID_DOCUMENT_STATE_UNDEFINED_NAMESPACE,
+
         /** error a namespace should have a valid uri */
         AXIS2_ERROR_INVALID_EMPTY_NAMESPACE_URI,
+
         /** next method has not been called so cannot remove
-			an element before calling next valid for any om iterator */
+        an element before calling next valid for any om iterator */
         AXIS2_ERROR_ITERATOR_NEXT_METHOD_HAS_NOT_YET_BEEN_CALLED,
-        /** remove method has alread been called once so cann't remove till 
-			next method is called valid for any om children iterator*/
+
+        /** remove method has alread been called once so cann't remove till
+        next method is called valid for any om children iterator*/
         AXIS2_ERROR_ITERATOR_REMOVE_HAS_ALREADY_BEING_CALLED,
+
         /** axiom_xml_reader returned NULL element */
         AXIS2_ERROR_XML_READER_ELEMENT_NULL,
+
         /** axiom_xml_reader returned NULL value */
         AXIS2_ERROR_XML_READER_VALUE_NULL,
-		/*
-		 * Group - xml:parser
-		 */
+        /*
+         * Group - xml:parser
+         */
+
         /** error occured creating xml stream reader */
         AXIS2_ERROR_CREATING_XML_STREAM_READER,
+
         /** error occured creating xml stream writer */
         AXIS2_ERROR_CREATING_XML_STREAM_WRITER,
+
         /** error in writing attribute */
         AXIS2_ERROR_WRITING_ATTRIBUTE,
+
         /** error in writing attribute with namespace */
         AXIS2_ERROR_WRITING_ATTRIBUTE_WITH_NAMESPACE,
+
         /** error in writing attribute with namespace prefix */
         AXIS2_ERROR_WRITING_ATTRIBUTE_WITH_NAMESPACE_PREFIX,
+
         /** error in writing comment */
         AXIS2_ERROR_WRITING_COMMENT,
+
         /** error in writing data source*/
         AXIS2_ERROR_WRITING_DATA_SOURCE,
+
         /** error in writing default namespace */
         AXIS2_ERROR_WRITING_DEFAULT_NAMESPACE,
+
         /** error in writing dtd */
         AXIS2_ERROR_WRITING_DTD,
+
         /** error occured in writing empty element */
         AXIS2_ERROR_WRITING_EMPTY_ELEMENT,
+
         /** error occured in writing empty element with namespace */
         AXIS2_ERROR_WRITING_EMPTY_ELEMENT_WITH_NAMESPACE,
+
         /** error in writing empty element with namespace prefix */
         AXIS2_ERROR_WRITING_EMPTY_ELEMENT_WITH_NAMESPACE_PREFIX,
+
         /** error occured in writing end document in xml writer */
         AXIS2_ERROR_WRITING_END_DOCUMENT,
+
         /** error occured in writing end element in xml writer */
         AXIS2_ERROR_WRITING_END_ELEMENT,
+
         /** error in writing processing instruction */
         AXIS2_ERROR_WRITING_PROCESSING_INSTRUCTION,
+
         /** error occured in writing start element in start document in xml writer */
         AXIS2_ERROR_WRITING_START_DOCUMENT,
+
         /** error occured in writing start element in xml writer */
         AXIS2_ERROR_WRITING_START_ELEMENT,
+
         /** error occured in writing start element with namespace in xml writer*/
         AXIS2_ERROR_WRITING_START_ELEMENT_WITH_NAMESPACE,
+
         /** error occured in writing start element with namespace prefix */
         AXIS2_ERROR_WRITING_START_ELEMENT_WITH_NAMESPACE_PREFIX,
+
         /** error in writing cdata section */
         AXIS2_ERROR_WRITING_CDATA,
-		/** AXIS2_XML_PARSER_TYPE_BUFFER or AXIS2_XML_PARSER_TYPE_DOC is expected */
-		AXIS2_ERROR_XML_PARSER_INVALID_MEM_TYPE,
-      
-		/*
-		 * Group - xml:soap
-		 */
+
+        /** AXIS2_XML_PARSER_TYPE_BUFFER or AXIS2_XML_PARSER_TYPE_DOC is expected */
+        AXIS2_ERROR_XML_PARSER_INVALID_MEM_TYPE,
+
+        /*
+         * Group - xml:soap
+         */
+
         /** invalid type passed */
         AXIS2_ERROR_INVALID_BASE_TYPE,
+
         /** invalid soap namespace uri found */
         AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI,
+
         /** Invalid SOAP version */
         AXIS2_ERROR_INVALID_SOAP_VERSION,
-        /* invalid value found in must understand attribute*/
+        /* invalid value found in must understand attribute */
         AXIS2_ERROR_INVALID_VALUE_FOUND_IN_MUST_UNDERSTAND,
-        /*multiple code elements encountered in soap fault element*/
+        /*multiple code elements encountered in soap fault element */
         AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED,
-        /*multiple detail elements encountered in soap fault element*/
+        /*multiple detail elements encountered in soap fault element */
         AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED,
-        /*multiple node elements encountered in soap fault element*/
+        /*multiple node elements encountered in soap fault element */
         AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED,
-        /*multiple reason elements encountered in soap fault element*/
+        /*multiple reason elements encountered in soap fault element */
         AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED,
-        /*multiple role elements encounterd in soap fault element*/
+        /*multiple role elements encounterd in soap fault element */
         AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED,
-        /*multiple sub code values encountered in soap fault element*/
+        /*multiple sub code values encountered in soap fault element */
         AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
         /* multiple value elements encounered */
         AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT,
         /* must understatnd attribute should have values of true or false */
         AXIS2_ERROR_MUST_UNDERSTAND_SHOULD_BE_1_0_TRUE_FALSE,
+
         /** om element is expected */
         AXIS2_ERROR_OM_ELEMENT_EXPECTED,
         /* processing soap11 fault value element should have only
            text as its children */
         AXIS2_ERROR_ONLY_CHARACTERS_ARE_ALLOWED_HERE,
+
         /** only one SOAP fault allowed in SOAP body */
         AXIS2_ERROR_ONLY_ONE_SOAP_FAULT_ALLOWED_IN_BODY,
-        /*soap11 fault actor element should not have child elements*/
+        /*soap11 fault actor element should not have child elements */
         AXIS2_ERROR_SOAP11_FAULT_ACTOR_SHOULD_NOT_HAVE_CHILD_ELEMENTS,
-        /** soap builder found a child element other than header or body in envelope 
-			element */
+
+        /** soap builder found a child element other than header or body in envelope
+        element */
         AXIS2_ERROR_SOAP_BUILDER_ENVELOPE_CAN_HAVE_ONLY_HEADER_AND_BODY,
+
         /** soap builder encounterd body element first and header next */
         AXIS2_ERROR_SOAP_BUILDER_HEADER_BODY_WRONG_ORDER,
+
         /** soap builder multiple body elements encounterd */
         AXIS2_ERROR_SOAP_BUILDER_MULTIPLE_BODY_ELEMENTS_ENCOUNTERED,
+
         /** soap builder encountered multiple headers */
         AXIS2_ERROR_SOAP_BUILDER_MULTIPLE_HEADERS_ENCOUNTERED,
         /*soap fault code element should a mandatory fault value element */
         AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE,
         /*soap fault reason element should have a text */
         AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT,
-        /*soap fault role element should have a text value*/
+        /*soap fault role element should have a text value */
         AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT,
-        /* soap fault value should be present before sub code element in soap fault code*/
+        /* soap fault value should be present before sub code element in soap fault code */
         AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE,
+
         /** soap message does not have an envelope element */
         AXIS2_ERROR_SOAP_MESSAGE_DOES_NOT_CONTAIN_AN_ENVELOPE,
-        /*soap message first element must contain a localname*/
+        /*soap message first element must contain a localname */
         AXIS2_ERROR_SOAP_MESSAGE_FIRST_ELEMENT_MUST_CONTAIN_LOCAL_NAME,
-        /* this localname is not supported inside a reason element*/
+        /* this localname is not supported inside a reason element */
         AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT,
-        /*this localname is not supported inside a sub code element*/
+        /*this localname is not supported inside a sub code element */
         AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT,
-        /*this localname is not supported inside the code element*/
+        /*this localname is not supported inside the code element */
         AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT,
-        /*transport level identified soap version does not match with the soap version*/
+        /*transport level identified soap version does not match with the soap version */
         AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP,
-        /*unsupported element in soap fault element*/
+        /*unsupported element in soap fault element */
         AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT,
-        /*wrong element order encounterd*/
+        /*wrong element order encounterd */
         AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED,
-		/*
-		 * Group - services
-		 */
+        /*
+         * Group - services
+         */
+
         /** Invalid XML format in request */
         AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST,
+
         /** Input OM node NULL, Probably error in SOAP request */
         AXIS2_ERROR_SVC_SKEL_INPUT_OM_NODE_NULL,
+
         /** Invalid parameters for service operation in SOAP request */
         AXIS2_ERROR_SVC_SKEL_INVALID_OPERATION_PARAMETERS_IN_SOAP_REQUEST,
-        
-		/*
-		 * Group - repos
-		 */
+
+        /*
+         * Group - repos
+         */
         /* not authenticated */
         AXIS2_ERROR_REPOS_NOT_AUTHENTICATED,
         /* unsupported mode */
@@ -553,52 +657,52 @@
         /*
          *Group - Neethi
          */
-        /*  No Namespace*/
+        /*  No Namespace */
         AXIS2_ERROR_NEETHI_ELEMENT_WITH_NO_NAMESPACE,
-        /*Policy cannot be created from element*/
+        /*Policy cannot be created from element */
         AXIS2_ERROR_NEETHI_POLICY_CREATION_FAILED_FROM_ELEMENT,
-        /*All Cannot be created from element*/
+        /*All Cannot be created from element */
         AXIS2_ERROR_NEETHI_ALL_CREATION_FAILED_FROM_ELEMENT,
-        /*Exactlyone Cannot be created element*/
+        /*Exactlyone Cannot be created element */
         AXIS2_ERROR_NEETHI_EXACTLYONE_CREATION_FAILED_FROM_ELEMENT,
-        /*Reference Cannot be created from element*/
+        /*Reference Cannot be created from element */
         AXIS2_ERROR_NEETHI_REFERENCE_CREATION_FAILED_FROM_ELEMENT,
-        /*Assertion Cannot be created from element*/
+        /*Assertion Cannot be created from element */
         AXIS2_ERROR_NEETHI_ASSERTION_CREATION_FAILED_FROM_ELEMENT,
-        /*All creation failed*/
+        /*All creation failed */
         AXIS2_ERROR_NEETHI_ALL_CREATION_FAILED,
-        /*Exactlyone creation failed*/
+        /*Exactlyone creation failed */
         AXIS2_ERROR_NEETHI_EXACTLYONE_CREATION_FAILED,
-        /*Policy Creation failed*/
+        /*Policy Creation failed */
         AXIS2_ERROR_NEETHI_POLICY_CREATION_FAILED,
-        /*Normalization failed*/
+        /*Normalization failed */
         AXIS2_ERROR_NEETHI_NORMALIZATION_FAILED,
-        /*Merging Failed. Wrong Input*/
+        /*Merging Failed. Wrong Input */
         AXIS2_ERROR_NEETHI_WRONG_INPUT_FOR_MERGE,
-        /*Merging Failed. Cross Product failed*/
+        /*Merging Failed. Cross Product failed */
         AXIS2_ERROR_NEETHI_CROSS_PRODUCT_FAILED,
-        /*No Children Policy Components*/
+        /*No Children Policy Components */
         AXIS2_ERROR_NEETHI_NO_CHILDREN_POLICY_COMPONENTS,
-        /*Uri Not specified*/
+        /*Uri Not specified */
         AXIS2_ERROR_NEETHI_URI_NOT_SPECIFIED,
-        /*Policy NULL for the given uri*/
+        /*Policy NULL for the given uri */
         AXIS2_ERROR_NEETHI_NO_ENTRY_FOR_THE_GIVEN_URI,
-        /*Exactlyone not found in Normalized policy*/
+        /*Exactlyone not found in Normalized policy */
         AXIS2_ERROR_NEETHI_EXACTLYONE_NOT_FOUND_IN_NORMALIZED_POLICY,
-        /*Exactlyone is Empty*/
+        /*Exactlyone is Empty */
         AXIS2_ERROR_NEETHI_EXACTLYONE_IS_EMPTY,
-        /*Exactlyone not found while getting cross product*/
+        /*Exactlyone not found while getting cross product */
         AXIS2_ERROR_NEETHI_ALL_NOT_FOUND_WHILE_GETTING_CROSS_PRODUCT,
 
         /** The following has to be the last error value all the time.
             All other error codes should appear above this.
             AXIS2_ERROR_LAST is used to track the number of error codes present
             for the purpose of sizing the error message array.
-		*/
+        */
         AXIS2_ERROR_LAST
     };
-        
-    /** 
+
+    /**
      * \brief Array to hold error messages
      * Array to hold error messages. Note that array has capacity for 
      * additional error messages. These are reserved for modules.
@@ -615,71 +719,83 @@
           occupied spaces. 
      */
     struct axutil_error;
-	typedef enum axis2_status_codes axis2_status_codes_t;
-	typedef enum axutil_error_codes axutil_error_codes_t;
+    typedef enum axis2_status_codes axis2_status_codes_t;
+    typedef enum axutil_error_codes axutil_error_codes_t;
 
-/**
- * @defgroup axutil_error error
- * @ingroup axis2_util 
- * @{
- */
+    /**
+     * @defgroup axutil_error error
+     * @ingroup axis2_util
+     * @{
+     */
 
-	/**
-	 * deallocate memory of a error struct
-	 * @return axis2_status_t status code
-	 */
+    /**
+    * deallocate memory of a error struct
+    * @return axis2_status_t status code
+    */
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_error_free(struct axutil_error *error);
-    
-	/**
-	 * get error message for the last error
-	 * @return error message for the last error. NULL on error.
-	 */
-	AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axutil_error_get_message(const struct axutil_error *error);
-  
-	/**
-	 * This fucntion is supposed to be overridden in an extended error structure.
-	 * For example in Sandesha error structure this fucntion is overridden so that
-	 * errors of axis2 range call the get_message function of error struct but
-	 * errors of sandesha2 range get the messages from an array of that struct.
-	 * @return error message for the extended struct.
-	 */
-	AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
-    axutil_error_get_extended_message(const struct axutil_error *error);
-  
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_error_set_error_number(struct axutil_error *error,
+    axutil_error_free(
+        struct axutil_error *error);
+
+    /**
+    * get error message for the last error
+    * @return error message for the last error. NULL on error.
+    */
+    AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
+    axutil_error_get_message(
+        const struct axutil_error *error);
+
+    /**
+    * This fucntion is supposed to be overridden in an extended error structure.
+    * For example in Sandesha error structure this fucntion is overridden so that
+    * errors of axis2 range call the get_message function of error struct but
+    * errors of sandesha2 range get the messages from an array of that struct.
+    * @return error message for the extended struct.
+    */
+    AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
+
+    axutil_error_get_extended_message(
+        const struct axutil_error *error);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_error_set_error_number(
+        struct axutil_error *error,
         axutil_error_codes_t error_number);
-	
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_error_set_status_code(struct axutil_error *error, 
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_error_set_status_code(
+        struct axutil_error *error,
         axis2_status_codes_t status_code);
-  
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_error_get_status_code(struct axutil_error *error);
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_error_set_error_message(struct axutil_error *error,
-        axis2_char_t *message);
-          
-	/** 
-	 * \brief Axis2 Error struct
-	 *
-	 * Error holds the last errorno
-	 */
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_error_get_status_code(
+        struct axutil_error *error);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_error_set_error_message(
+        struct axutil_error *error,
+        axis2_char_t * message);
+
+    /**
+    * \brief Axis2 Error struct
+    *
+    * Error holds the last errorno
+    */
     typedef struct axutil_error
     {
+
         /** error related ops */
         axutil_allocator_t *allocator;
+
         /** last error number */
         int error_number;
         int status_code;
-		axis2_char_t *message;
-    } axutil_error_t;
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axutil_error_init();
+        axis2_char_t *message;
+    }
+    axutil_error_t;
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_error_init(
+    );
 
 #define AXIS2_ERROR_FREE(error) axutil_error_free(error)
 
@@ -691,20 +807,16 @@
 
 #define AXIS2_ERROR_SET_ERROR_NUMBER(error, error_number) \
         axutil_error_set_error_number(error, error_number)
-   
+
 #define AXIS2_ERROR_SET_STATUS_CODE(error, status_code) \
         axutil_error_set_status_code(error, status_code)
-        
-#define AXIS2_ERROR_GET_STATUS_CODE(error) axutil_error_get_status_code(error)
 
+#define AXIS2_ERROR_GET_STATUS_CODE(error) axutil_error_get_status_code(error)
 
+    /** @} */
 
-/** @} */
-    
 #ifdef __cplusplus
 }
 #endif
 
-
 #endif                          /* AXIS2_ERROR_H */
-

Modified: webservices/axis2/trunk/c/util/include/axutil_error_default.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_error_default.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_error_default.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_error_default.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -27,26 +28,25 @@
 {
 #endif
 
-/**
- * @defgroup axutil_error Error
- * @ingroup axis2_util 
- * @{
- */
-
+    /**
+     * @defgroup axutil_error Error
+     * @ingroup axis2_util
+     * @{
+     */
+
+    /**
+      * Creates an error struct
+      * @param allocator allocator to be used. Mandatory, cannot be NULL  
+      * @return pointer to the newly created error struct 
+      */
+    AXIS2_EXTERN axutil_error_t *AXIS2_CALL
+    axutil_error_create(
+        axutil_allocator_t * allocator);
 
-  /**
-    * Creates an error struct
-    * @param allocator allocator to be used. Mandatory, cannot be NULL    
-    * @return pointer to the newly created error struct 
-    */
-    AXIS2_EXTERN axutil_error_t *AXIS2_CALL axutil_error_create (axutil_allocator_t * allocator);
+    /** @} */
 
-
-/** @} */
-    
 #ifdef __cplusplus
 }
 #endif
-
 
 #endif                          /* AXIS2_ERROR_DEFAULT_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_file.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_file.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_file.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_file.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -24,7 +25,6 @@
 #include <axutil_utils.h>
 #include <platforms/axutil_platform_auto_sense.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -42,51 +42,58 @@
      * create new file
      * @return file newly created file
      */
-    AXIS2_EXTERN axutil_file_t * AXIS2_CALL
-    axutil_file_create(const axutil_env_t *env);
+    AXIS2_EXTERN axutil_file_t *AXIS2_CALL
+    axutil_file_create(
+        const axutil_env_t * env);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_file_free(axutil_file_t *file,
-        const axutil_env_t *env);
+    axutil_file_free(
+        axutil_file_t * file,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_file_set_name(axutil_file_t *file,
-        const axutil_env_t *env,
-        axis2_char_t *name);
-
-    AXIS2_EXTERN axis2_char_t * AXIS2_CALL
-    axutil_file_get_name(axutil_file_t *file,
-        const axutil_env_t *env);
+    axutil_file_set_name(
+        axutil_file_t * file,
+        const axutil_env_t * env,
+        axis2_char_t * name);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_file_get_name(
+        axutil_file_t * file,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_file_set_path(axutil_file_t *file,
-        const axutil_env_t *env,
-        axis2_char_t *path);
-
-    AXIS2_EXTERN axis2_char_t * AXIS2_CALL
-    axutil_file_get_path(axutil_file_t *file,
-        const axutil_env_t *env);
+    axutil_file_set_path(
+        axutil_file_t * file,
+        const axutil_env_t * env,
+        axis2_char_t * path);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_file_get_path(
+        axutil_file_t * file,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_file_set_timestamp(axutil_file_t *file,
-        const axutil_env_t *env,
+    axutil_file_set_timestamp(
+        axutil_file_t * file,
+        const axutil_env_t * env,
         AXIS2_TIME_T timestamp);
 
     AXIS2_EXTERN AXIS2_TIME_T AXIS2_CALL
-    axutil_file_get_timestamp(axutil_file_t *file,
-        const axutil_env_t *env);
+    axutil_file_get_timestamp(
+        axutil_file_t * file,
+        const axutil_env_t * env);
 
     /**
      * create a newly allocated clone of the argument file
      */
-    AXIS2_EXTERN axutil_file_t * AXIS2_CALL
-    axutil_file_clone(axutil_file_t *file,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axutil_file_t *AXIS2_CALL
+    axutil_file_clone(
+        axutil_file_t * file,
+        const axutil_env_t * env);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif  /* AXIS2_FILE_H */
-
-
+#endif                          /* AXIS2_FILE_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_file_handler.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_file_handler.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_file_handler.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_file_handler.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2004,2005 The Apache Software Foundation.
  *
@@ -24,53 +25,55 @@
 {
 #endif
 
+    /**
+     * @defgroup axutil_file_handler file handler
+     * @ingroup axis2_util
+     * @{
+     */
+
+    /**
+     * open a file for read according to the file options given
+     * @param file_name file to be opened
+     * @param options file options given.
+     * @return status code
+     */
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_file_handler_open(
+        const char *file_name,
+        const char *options);
+
+    /**
+     * close a file
+     * @param file_ptr file pointer of the file need to be closed
+     * @return status code
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_file_handler_close(
+        void *file_ptr);
+
+    /**
+     * determine accessibility of file
+     * checks the named file for accessibility according to mode
+     * @param path path name naming a file
+     * @param mode
+     *  AXIS2_R_OK
+     *   - test for read permission
+     *  AXIS2_W_OK
+     *   - test for write permission
+     *  AXIS2_X_OK
+     *   - test for execute or search permission
+     *  AXIS2_F_OK
+     *   - test whether the directories leading to the file can be searched and the
+     *     file exists
+     * @return status
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_file_handler_access(
+        const axis2_char_t * path,
+        int mode);
 
-/**
- * @defgroup axutil_file_handler file handler
- * @ingroup axis2_util 
- * @{
- */
-
-/**
- * open a file for read according to the file options given
- * @param file_name file to be opened
- * @param options file options given.
- * @return status code
- */ 
-AXIS2_EXTERN void * AXIS2_CALL 
-axutil_file_handler_open(const char *file_name, 
-                        const char *options);
-
-/**
- * close a file
- * @param file_ptr file pointer of the file need to be closed
- * @return status code
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-axutil_file_handler_close (void *file_ptr);
-
-/**
- * determine accessibility of file
- * checks the named file for accessibility according to mode
- * @param path path name naming a file
- * @param mode 
- *  AXIS2_R_OK
- *   - test for read permission 
- *  AXIS2_W_OK
- *   - test for write permission 
- *  AXIS2_X_OK
- *   - test for execute or search permission 
- *  AXIS2_F_OK
- *   - test whether the directories leading to the file can be searched and the 
- *     file exists
- * @return status
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-axutil_file_handler_access(const axis2_char_t *path, 
-                            int mode);
+    /** @} */
 
-/** @} */
-    
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/util/include/axutil_generic_obj.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_generic_obj.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_generic_obj.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_generic_obj.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -23,7 +24,6 @@
 #include <axutil_env.h>
 #include <axutil_utils.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -41,41 +41,45 @@
      * create new generic_obj
      * @return generic_obj newly created generic_obj
      */
-    AXIS2_EXTERN axutil_generic_obj_t * AXIS2_CALL
-    axutil_generic_obj_create(const axutil_env_t *env);
+    AXIS2_EXTERN axutil_generic_obj_t *AXIS2_CALL
+    axutil_generic_obj_create(
+        const axutil_env_t * env);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_generic_obj_free(axutil_generic_obj_t *generic_obj,
-        const axutil_env_t *env);
+    axutil_generic_obj_free(
+        axutil_generic_obj_t * generic_obj,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_generic_obj_set_free_func(axutil_generic_obj_t *generic_obj,
-        const axutil_env_t *env,
+    axutil_generic_obj_set_free_func(
+        axutil_generic_obj_t * generic_obj,
+        const axutil_env_t * env,
         AXIS2_FREE_VOID_ARG free_func);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_generic_obj_set_value(axutil_generic_obj_t *generic_obj,
-        const axutil_env_t *env,
+    axutil_generic_obj_set_value(
+        axutil_generic_obj_t * generic_obj,
+        const axutil_env_t * env,
         void *value);
 
-    AXIS2_EXTERN void * AXIS2_CALL
-    axutil_generic_obj_get_value(axutil_generic_obj_t *generic_obj,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_generic_obj_get_value(
+        axutil_generic_obj_t * generic_obj,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_generic_obj_set_type(axutil_generic_obj_t *generic_obj,
-        const axutil_env_t *env,
+    axutil_generic_obj_set_type(
+        axutil_generic_obj_t * generic_obj,
+        const axutil_env_t * env,
         int type);
 
     AXIS2_EXTERN int AXIS2_CALL
-    axutil_generic_obj_get_type(axutil_generic_obj_t *generic_obj,
-        const axutil_env_t *env);
-
+    axutil_generic_obj_get_type(
+        axutil_generic_obj_t * generic_obj,
+        const axutil_env_t * env);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif  /* AXIS2_GENERIC_OBJ_H */
-
-
+#endif                          /* AXIS2_GENERIC_OBJ_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_hash.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_hash.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_hash.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_hash.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -65,21 +66,26 @@
      * @param klen The length of the key, or AXIS2_HASH_KEY_STRING to use the string
      *             length. If AXIS2_HASH_KEY_STRING then returns the actual key length.
      */
-    typedef unsigned int(*axutil_hashfunc_t)(const char *key, axis2_ssize_t *klen);
+    typedef unsigned int(
+        *axutil_hashfunc_t)(
+            const char *key,
+            axis2_ssize_t * klen);
 
     /**
      * The default hash function.
      */
-    unsigned int axutil_hashfunc_default(const char *key, 
-        axis2_ssize_t *klen);
+    unsigned int axutil_hashfunc_default(
+        const char *key,
+        axis2_ssize_t * klen);
 
     /**
      * Create a hash table.
      * @param env The environment to allocate the hash table out of
      * @return The hash table just created
       */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL 
-    axutil_hash_make(const axutil_env_t *env);
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axutil_hash_make(
+        const axutil_env_t * env);
 
     /**
      * Create a hash table with a custom hash function
@@ -87,8 +93,9 @@
      * @param hash_func A custom hash function.
      * @return The hash table just created
       */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL 
-    axutil_hash_make_custom(const axutil_env_t *env,
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axutil_hash_make_custom(
+        const axutil_env_t * env,
         axutil_hashfunc_t hash_func);
 
     /**
@@ -98,9 +105,10 @@
      * @return The hash table just created
      * @remark Makes a shallow copy
      */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL 
-    axutil_hash_copy(const axutil_hash_t *ht,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axutil_hash_copy(
+        const axutil_hash_t * ht,
+        const axutil_env_t * env);
 
     /**
      * Associate a value with a key in a hash table.
@@ -110,10 +118,11 @@
      * @param val Value to associate with the key
      * @remark If the value is NULL the hash entry is deleted.
      */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_hash_set(axutil_hash_t *ht, 
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_hash_set(
+        axutil_hash_t * ht,
         const void *key,
-        axis2_ssize_t klen, 
+        axis2_ssize_t klen,
         const void *val);
 
     /**
@@ -123,8 +132,9 @@
      * @param klen Length of the key. Can be AXIS2_HASH_KEY_STRING to use the string length.
      * @return Returns NULL if the key is not present.
      */
-    AXIS2_EXTERN void* AXIS2_CALL 
-    axutil_hash_get(axutil_hash_t *ht, 
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_hash_get(
+        axutil_hash_t * ht,
         const void *key,
         axis2_ssize_t klen);
 
@@ -140,6 +150,7 @@
 
      * @example
      */
+
     /**
      * <PRE>
      *
@@ -156,9 +167,10 @@
      * }
      * </PRE>
      */
-    AXIS2_EXTERN axutil_hash_index_t* AXIS2_CALL 
-    axutil_hash_first(axutil_hash_t *ht,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axutil_hash_index_t *AXIS2_CALL
+    axutil_hash_first(
+        axutil_hash_t * ht,
+        const axutil_env_t * env);
 
     /**
      * Continue iterating over the entries in a hash table.
@@ -166,9 +178,10 @@
      * @return a pointer to the updated iteration state.  NULL if there are no more
      *         entries.
      */
-    AXIS2_EXTERN axutil_hash_index_t* AXIS2_CALL 
-    axutil_hash_next(const axutil_env_t *env,
-        axutil_hash_index_t *hi);
+    AXIS2_EXTERN axutil_hash_index_t *AXIS2_CALL
+    axutil_hash_next(
+        const axutil_env_t * env,
+        axutil_hash_index_t * hi);
 
     /**
      * Get the current entry's details from the iteration state.
@@ -179,10 +192,11 @@
      * @remark The return pointers should point to a variable that will be set to the
      *         corresponding data, or they may be NULL if the data isn't interesting.
      */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_hash_this(axutil_hash_index_t *hi, 
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_hash_this(
+        axutil_hash_index_t * hi,
         const void **key,
-        axis2_ssize_t *klen, 
+        axis2_ssize_t * klen,
         void **val);
 
     /**
@@ -190,8 +204,9 @@
      * @param ht The hash table
      * @return The number of key/value pairs in the hash table.
      */
-    AXIS2_EXTERN  unsigned int AXIS2_CALL 
-    axutil_hash_count(axutil_hash_t *ht);
+    AXIS2_EXTERN unsigned int AXIS2_CALL
+    axutil_hash_count(
+        axutil_hash_t * ht);
 
     /**
      * Merge two hash tables into one new hash table. The values of the overlay
@@ -202,10 +217,11 @@
      * @param base The table that represents the initial values of the new table
      * @return A new hash table containing all of the data from the two passed in
      */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL 
-    axutil_hash_overlay(const axutil_hash_t *overlay,
-        const axutil_env_t *env, 
-        const axutil_hash_t *base);
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axutil_hash_overlay(
+        const axutil_hash_t * overlay,
+        const axutil_env_t * env,
+        const axutil_hash_t * base);
 
     /**
      * Merge two hash tables into one new hash table. If the same key
@@ -221,16 +237,17 @@
      * @param data Client data to pass to the merger function
      * @return A new hash table containing all of the data from the two passed in
      */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL 
-    axutil_hash_merge(const axutil_hash_t *h1,
-        const axutil_env_t *env, 
-        const axutil_hash_t *h2,
-        void *(*merger)(const axutil_env_t *env, 
-            const void *key,
-            axis2_ssize_t klen, 
-            const void *h1_val, 
-            const void *h2_val,
-            const void *data), 
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axutil_hash_merge(
+        const axutil_hash_t * h1,
+        const axutil_env_t * env,
+        const axutil_hash_t * h2,
+        void *(*merger)(const axutil_env_t * env,
+                const void *key,
+                axis2_ssize_t klen,
+                const void *h1_val,
+                const void *h2_val,
+                const void *data),
         const void *data);
 
     /**
@@ -241,9 +258,10 @@
      * @return return whether hash table contains key
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axutil_hash_contains_key(axutil_hash_t *ht,
-        const axutil_env_t *env,
-        const axis2_char_t *key);
+    axutil_hash_contains_key(
+        axutil_hash_t * ht,
+        const axutil_env_t * env,
+        const axis2_char_t * key);
 
     /**
      * @param ht hash table to be freed
@@ -252,9 +270,10 @@
      *
      */
 
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_hash_free(axutil_hash_t *ht,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_hash_free(
+        axutil_hash_t * ht,
+        const axutil_env_t * env);
 
     /**
      * Free a hash table with hash table given as void
@@ -264,8 +283,9 @@
      */
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_hash_free_void_arg(void *ht_void, 
-        const axutil_env_t* env);
+    axutil_hash_free_void_arg(
+        void *ht_void,
+        const axutil_env_t * env);
 
     /** @} */
 
@@ -274,5 +294,3 @@
 #endif
 
 #endif                          /* !AXIS2_HASH_H */
-
-

Modified: webservices/axis2/trunk/c/util/include/axutil_linked_list.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_linked_list.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_linked_list.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_linked_list.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -44,6 +45,7 @@
      */
     typedef struct entry_s
     {
+
         /** The element in the list. */
         void *data;
 
@@ -54,17 +56,19 @@
         struct entry_s *previous;
 
     }
-    entry_t; /* struct entry */
+    entry_t;                /* struct entry */
 
     /**
     * Create an empty linked list.
     */
-    AXIS2_EXTERN axutil_linked_list_t* AXIS2_CALL 
-    axutil_linked_list_create(const axutil_env_t *env);
+    AXIS2_EXTERN axutil_linked_list_t *AXIS2_CALL
+    axutil_linked_list_create(
+        const axutil_env_t * env);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_linked_list_free(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env);
+    axutil_linked_list_free(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env);
 
     /**
     * Obtain the Entry at a given position in a list. This method of course
@@ -78,9 +82,10 @@
     * @param n the number of the entry to get
     * @return the entry at position n
     */
-    AXIS2_EXTERN entry_t * AXIS2_CALL
-    axutil_linked_list_get_entry(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    AXIS2_EXTERN entry_t *AXIS2_CALL
+    axutil_linked_list_get_entry(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         int n);
 
     /**
@@ -90,10 +95,10 @@
      * @param e the entry to remove
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_linked_list_remove_entry(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
-        entry_t *e);
-
+    axutil_linked_list_remove_entry(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
+        entry_t * e);
 
     /**
      * Checks that the index is in the range of possible elements (inclusive).
@@ -101,8 +106,10 @@
      * @param index the index to check
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axutil_linked_list_check_bounds_inclusive(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+
+    axutil_linked_list_check_bounds_inclusive(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         int index);
 
     /**
@@ -111,8 +118,10 @@
     * @param index the index to check
     */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axutil_linked_list_check_bounds_exclusive(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+
+    axutil_linked_list_check_bounds_exclusive(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         int index);
 
     /**
@@ -120,36 +129,40 @@
     *
     * @return the first list element
     */
-    AXIS2_EXTERN void * AXIS2_CALL
-    axutil_linked_list_get_first(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_linked_list_get_first(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env);
 
     /**
     * Returns the last element in the list.
     *
     * @return the last list element
     */
-    AXIS2_EXTERN void * AXIS2_CALL
-    axutil_linked_list_get_last(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_linked_list_get_last(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env);
 
     /**
     * Remove and return the first element in the list.
     *
     * @return the former first element in the list
     */
-    AXIS2_EXTERN void * AXIS2_CALL
-    axutil_linked_list_remove_first(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_linked_list_remove_first(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env);
 
     /**
     * Remove and return the last element in the list.
     *
     * @return the former last element in the list
     */
-    AXIS2_EXTERN void * AXIS2_CALL
-    axutil_linked_list_remove_last(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_linked_list_remove_last(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env);
 
     /**
     * Insert an element at the first of the list.
@@ -157,8 +170,9 @@
     * @param o the element to insert
     */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_linked_list_add_first(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    axutil_linked_list_add_first(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         void *o);
 
     /**
@@ -167,8 +181,9 @@
     * @param o the element to insert
     */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_linked_list_add_last(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    axutil_linked_list_add_last(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         void *o);
 
     /**
@@ -179,8 +194,9 @@
     * @return true if it is found
     */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axutil_linked_list_contains(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    axutil_linked_list_contains(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         void *o);
 
     /**
@@ -189,8 +205,9 @@
     * @return the list size
     */
     AXIS2_EXTERN int AXIS2_CALL
-    axutil_linked_list_size(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env);
+    axutil_linked_list_size(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env);
 
     /**
     * Adds an element to the end of the list.
@@ -199,8 +216,9 @@
     * @return true, as it always succeeds
     */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axutil_linked_list_add(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    axutil_linked_list_add(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         void *o);
 
     /**
@@ -211,16 +229,18 @@
     * @return true if an instance of the object was removed
     */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axutil_linked_list_remove(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    axutil_linked_list_remove(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         void *o);
 
     /**
     * Remove all elements from this list.
     */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_linked_list_clear(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env);
+    axutil_linked_list_clear(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env);
 
     /**
     * Return the element at index.
@@ -228,9 +248,10 @@
     * @param index the place to look
     * @return the element at index
     */
-    AXIS2_EXTERN void * AXIS2_CALL
-    axutil_linked_list_get(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_linked_list_get(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         int index);
 
     /**
@@ -240,10 +261,11 @@
     * @param o the new element
     * @return the prior element
     */
-    AXIS2_EXTERN void * AXIS2_CALL
-    axutil_linked_list_set(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
-        int index, 
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_linked_list_set(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
+        int index,
         void *o);
 
     /**
@@ -253,8 +275,9 @@
     * @param o the element to insert
     */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_linked_list_add_at_index(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    axutil_linked_list_add_at_index(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         int index,
         void *o);
 
@@ -264,9 +287,10 @@
     * @param index the location of the element to remove
     * @return the removed element
     */
-    AXIS2_EXTERN void * AXIS2_CALL
-    axutil_linked_list_remove_at_index(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_linked_list_remove_at_index(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         int index);
 
     /**
@@ -276,8 +300,9 @@
     * @return its position, or -1 if not found
     */
     AXIS2_EXTERN int AXIS2_CALL
-    axutil_linked_list_index_of(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    axutil_linked_list_index_of(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         void *o);
 
     /**
@@ -287,8 +312,9 @@
     * @return its position, or -1 if not found
     */
     AXIS2_EXTERN int AXIS2_CALL
-    axutil_linked_list_last_index_of(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env,
+    axutil_linked_list_last_index_of(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env,
         void *o);
 
     /**
@@ -296,12 +322,13 @@
     *
     * @return an array containing the list elements
     */
-    AXIS2_EXTERN void ** AXIS2_CALL
-    axutil_linked_list_to_array(axutil_linked_list_t *linked_list,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void **AXIS2_CALL
+    axutil_linked_list_to_array(
+        axutil_linked_list_t * linked_list,
+        const axutil_env_t * env);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_LINKED_LIST_H */
+#endif                          /* AXIS2_LINKED_LIST_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_log.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_log.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_log.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_log.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -28,7 +29,6 @@
     typedef struct axutil_log_ops axutil_log_ops_t;
     typedef struct axutil_log axutil_log_t;
 
-
 #define AXIS2_LOG_SI __FILE__,__LINE__
 
     /**
@@ -49,21 +49,28 @@
       *CRITICAL and ERROR logs are always written to file and other logs are written 
       *depending on the log level set (log->level)
       */
+
     /**
       * \brief Axis2 log levels
       */
     typedef enum axutil_log_levels
     {
+
         /** Critical level, logs only critical errors */
         AXIS2_LOG_LEVEL_CRITICAL = 0,
+
         /** Error level, logs only errors */
         AXIS2_LOG_LEVEL_ERROR,
+
         /** Warning level, logs only warnings */
         AXIS2_LOG_LEVEL_WARNING,
+
         /** Info level, logs information */
         AXIS2_LOG_LEVEL_INFO,
+
         /** Debug level, logs everything */
         AXIS2_LOG_LEVEL_DEBUG,
+
         /** Trace level, Enable with compiler time option AXIS2_TRACE */
         AXIS2_LOG_LEVEL_TRACE
     } axutil_log_levels_t;
@@ -81,9 +88,11 @@
          * @return axis2_status_t AXIS2_SUCCESS on success else AXIS2_FAILURE
          */
 
-        void(AXIS2_CALL *
-        free)(axutil_allocator_t *allocator,
-            struct axutil_log *log);
+        void(
+            AXIS2_CALL
+            * free)(
+                axutil_allocator_t * allocator,
+                struct axutil_log * log);
 
         /**
           * writes to the log
@@ -91,12 +100,14 @@
           * @param size size of the buffer to be written to log
           * @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE
           */
-        void(AXIS2_CALL *
-        write)(axutil_log_t *log,
-            const axis2_char_t *buffer,
-            axutil_log_levels_t level,
-            const axis2_char_t *file,
-            const int line);
+        void(
+            AXIS2_CALL
+            * write)(
+                axutil_log_t * log,
+                const axis2_char_t * buffer,
+                axutil_log_levels_t level,
+                const axis2_char_t * file,
+                const int line);
     };
 
     /**
@@ -106,58 +117,75 @@
       */
     struct axutil_log
     {
+
         /** Log related ops */
         const axutil_log_ops_t *ops;
+
         /** Log level */
         axutil_log_levels_t level;
+
         /** Is logging enabled? */
         axis2_bool_t enabled;
 
     };
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_log_impl_log_critical(axutil_log_t *log,
-            const axis2_char_t *filename,
-            const int linenumber,
-            const axis2_char_t *format, ...);
+    axutil_log_impl_log_critical(
+        axutil_log_t * log,
+        const axis2_char_t * filename,
+        const int linenumber,
+        const axis2_char_t * format,
+        ...);
+
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_log_impl_log_error(
+        axutil_log_t * log,
+        const axis2_char_t * filename,
+        const int linenumber,
+        const axis2_char_t * format,
+        ...);
+
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_log_impl_log_warning(
+        axutil_log_t * log,
+        const axis2_char_t * filename,
+        const int linenumber,
+        const axis2_char_t * format,
+        ...);
+
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_log_impl_log_info(
+        axutil_log_t * log,
+        const axis2_char_t * format,
+        ...);
+
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_log_impl_log_debug(
+        axutil_log_t * log,
+        const axis2_char_t * filename,
+        const int linenumber,
+        const axis2_char_t * format,
+        ...);
+
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_log_impl_log_trace(
+        axutil_log_t * log,
+        const axis2_char_t * filename,
+        const int linenumber,
+        const axis2_char_t * format,
+        ...);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_log_impl_log_error(axutil_log_t *log,
-            const axis2_char_t *filename,
-            const int linenumber,
-            const axis2_char_t *format, ...);
-
-    AXIS2_EXTERN void AXIS2_CALL
-    axutil_log_impl_log_warning(axutil_log_t *log,
-            const axis2_char_t *filename,
-            const int linenumber,
-            const axis2_char_t *format, ...);
-
-    AXIS2_EXTERN void AXIS2_CALL
-    axutil_log_impl_log_info(axutil_log_t *log,
-            const axis2_char_t *format, ...);
-
-    AXIS2_EXTERN void AXIS2_CALL
-    axutil_log_impl_log_debug(axutil_log_t *log,
-            const axis2_char_t *filename,
-            const int linenumber,
-            const axis2_char_t *format, ...);
-
-    AXIS2_EXTERN void AXIS2_CALL
-    axutil_log_impl_log_trace(axutil_log_t *log,
-            const axis2_char_t *filename,
-            const int linenumber,
-            const axis2_char_t *format, ...);
-
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_log_free(axutil_allocator_t *allocator,
+    axutil_log_free(
+        axutil_allocator_t * allocator,
         struct axutil_log *log);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_log_write(axutil_log_t *log,
-        const axis2_char_t *buffer,
+    axutil_log_write(
+        axutil_log_t * log,
+        const axis2_char_t * buffer,
         axutil_log_levels_t level,
-        const axis2_char_t *file,
+        const axis2_char_t * file,
         const int line);
 
 #define AXIS2_LOG_FREE(allocator, log) \
@@ -195,7 +223,3 @@
 #endif
 
 #endif                          /* AXIS2_LOG_H */
-
-
-
-

Modified: webservices/axis2/trunk/c/util/include/axutil_log_default.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_log_default.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_log_default.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_log_default.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -23,36 +24,39 @@
 #include <axutil_log.h>
 #include <axutil_allocator.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-
-/**
- * @defgroup axutil_log Log
- * @ingroup axis2_util 
- * @{
- */
+    /**
+     * @defgroup axutil_log Log
+     * @ingroup axis2_util
+     * @{
+     */
 
 #define AXIS2_LEN_VALUE 6000
 
+    /**
+      * Creates a log struct
+      * @param allocator allocator to be used. Mandatory, cannot be NULL  
+      * @return pointer to the newly created log struct 
+      */
+    AXIS2_EXTERN axutil_log_t *AXIS2_CALL
+    axutil_log_create(
+        axutil_allocator_t * allocator,
+        axutil_log_ops_t * ops,
+        const axis2_char_t * stream_name);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_log_impl_get_time_str(
+        void);
+
+    AXIS2_EXTERN axutil_log_t *AXIS2_CALL
+    axutil_log_create_default(
+        axutil_allocator_t * allocator);
 
-  /**
-    * Creates a log struct
-    * @param allocator allocator to be used. Mandatory, cannot be NULL    
-    * @return pointer to the newly created log struct 
-    */
-    AXIS2_EXTERN axutil_log_t * AXIS2_CALL axutil_log_create (axutil_allocator_t * allocator,
-                     axutil_log_ops_t * ops, const axis2_char_t * stream_name);
-    AXIS2_EXTERN axis2_char_t *AXIS2_CALL  axutil_log_impl_get_time_str(void);
-    
-    AXIS2_EXTERN axutil_log_t * AXIS2_CALL 
-    axutil_log_create_default (axutil_allocator_t *allocator);
+    /** @} */
 
-/** @} */
-    
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/util/include/axutil_network_handler.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_network_handler.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_network_handler.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_network_handler.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2004,2005 The Apache Software Foundation.
  *
@@ -23,14 +24,11 @@
 #include <sys/types.h>
 #include <platforms/axutil_platform_auto_sense.h>
 
-
-
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-
     /**
      * @defgroup axutil_network_handler network handler
      * @ingroup axis2_util
@@ -44,9 +42,11 @@
      * @return opened socket
      */
     AXIS2_EXTERN axis2_socket_t AXIS2_CALL
-    axutil_network_handler_open_socket(const axutil_env_t *env,
-            char *server,
-            int port);
+
+    axutil_network_handler_open_socket(
+        const axutil_env_t * env,
+        char *server,
+        int port);
 
     /**
      * creates a server socket for a given port
@@ -54,8 +54,10 @@
      * @return creates server socket
      */
     AXIS2_EXTERN axis2_socket_t AXIS2_CALL
-    axutil_network_handler_create_server_socket(const axutil_env_t *env,
-            int port);
+
+    axutil_network_handler_create_server_socket(
+        const axutil_env_t * env,
+        int port);
 
     /**
      * closes a socket
@@ -63,8 +65,10 @@
      * @return status code
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_network_handler_close_socket(const axutil_env_t *env,
-            axis2_socket_t socket);
+
+    axutil_network_handler_close_socket(
+        const axutil_env_t * env,
+        axis2_socket_t socket);
 
     /**
      * used to set up socket options such as timeouts, non-blocking ..etc
@@ -74,31 +78,38 @@
      * @return status of the operations as axis2_status_t
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_network_handler_set_sock_option(const axutil_env_t *env,
-            axis2_socket_t socket,
-            int option,
-            int value);
+
+    axutil_network_handler_set_sock_option(
+        const axutil_env_t * env,
+        axis2_socket_t socket,
+        int option,
+        int value);
+
     /**
      * Accepts remote connections for a server socket
      * @param socket valid server socket (obtained by socket() or similar call)
      * @return created socket to handle the incoming client connection
      */
     AXIS2_EXTERN axis2_socket_t AXIS2_CALL
-    axutil_network_handler_svr_socket_accept(const axutil_env_t *env,
-            axis2_socket_t socket);
+
+    axutil_network_handler_svr_socket_accept(
+        const axutil_env_t * env,
+        axis2_socket_t socket);
 
     /**
      * Returns the ip address of the server associated with the socket
      * @param socket valid socket (obtained by accept() or similar call)
      * @return ip address asoociated with the socket or NULL
      */
-    AXIS2_EXTERN axis2_char_t * AXIS2_CALL
-    axutil_network_handler_get_svr_ip(const axutil_env_t *env,
-            axis2_socket_t socket);
-
-    AXIS2_EXTERN axis2_char_t * AXIS2_CALL
-    axutil_network_handler_get_peer_ip(const axutil_env_t *env,
-            axis2_socket_t socket);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_network_handler_get_svr_ip(
+        const axutil_env_t * env,
+        axis2_socket_t socket);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_network_handler_get_peer_ip(
+        const axutil_env_t * env,
+        axis2_socket_t socket);
 
     /** @} */
 

Modified: webservices/axis2/trunk/c/util/include/axutil_param.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_param.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_param.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_param.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -33,7 +34,6 @@
 {
 #endif
 
-
     /**
      * @defgroup axutil_param parameter
      * @ingroup axis2_util
@@ -55,35 +55,39 @@
     /**
      * creates param struct
      */
-    AXIS2_EXTERN axutil_param_t* AXIS2_CALL
-    axutil_param_create(const axutil_env_t *env,
-        axis2_char_t *name,
+    AXIS2_EXTERN axutil_param_t *AXIS2_CALL
+    axutil_param_create(
+        const axutil_env_t * env,
+        axis2_char_t * name,
         void *value);
 
     /**
      * Parameter name accessor
      * @return name of the param
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axutil_param_get_name(struct axutil_param *param,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_param_get_name(
+        struct axutil_param *param,
+        const axutil_env_t * env);
 
     /**
      * Parameter value accessor
      * @return Object
      */
-    AXIS2_EXTERN void* AXIS2_CALL
-    axutil_param_get_value(struct axutil_param *param,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_param_get_value(
+        struct axutil_param *param,
+        const axutil_env_t * env);
 
     /**
      * param name mutator
      * @param name
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_set_name(struct axutil_param *param,
-        const axutil_env_t *env,
-        const axis2_char_t *name);
+    axutil_param_set_name(
+        struct axutil_param *param,
+        const axutil_env_t * env,
+        const axis2_char_t * name);
 
     /**
      * Method setValue
@@ -91,8 +95,9 @@
      * @param value
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_set_value(struct axutil_param *param,
-        const axutil_env_t *env,
+    axutil_param_set_value(
+        struct axutil_param *param,
+        const axutil_env_t * env,
         const void *value);
 
     /**
@@ -101,8 +106,9 @@
      * @return boolean
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axutil_param_is_locked(struct axutil_param *param,
-        const axutil_env_t *env);
+    axutil_param_is_locked(
+        struct axutil_param *param,
+        const axutil_env_t * env);
 
     /**
      * Method setLocked
@@ -110,8 +116,9 @@
      * @param value
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_set_locked(struct axutil_param *param,
-        const axutil_env_t *env,
+    axutil_param_set_locked(
+        struct axutil_param *param,
+        const axutil_env_t * env,
         axis2_bool_t value);
 
     /**
@@ -120,48 +127,58 @@
      * @return int
      */
     AXIS2_EXTERN int AXIS2_CALL
-    axutil_param_get_param_type(struct axutil_param *param,
-        const axutil_env_t *env);
+    axutil_param_get_param_type(
+        struct axutil_param *param,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_set_param_type(struct axutil_param *param,
-        const axutil_env_t *env,
+    axutil_param_set_param_type(
+        struct axutil_param *param,
+        const axutil_env_t * env,
         int type);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_param_free(struct axutil_param *param,
-        const axutil_env_t *env);
-
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_set_attributes(struct axutil_param *param,
-        const axutil_env_t *env,
-        axutil_hash_t *attrs);
-
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL
-    axutil_param_get_attributes(struct axutil_param *param,
-        const axutil_env_t *env);
-
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_set_value_list(struct axutil_param *param,
-        const axutil_env_t *env,
-        axutil_array_list_t *value_list);
-
-    AXIS2_EXTERN axutil_array_list_t* AXIS2_CALL
-    axutil_param_get_value_list(struct axutil_param *param,
-        const axutil_env_t *env);
+    axutil_param_free(
+        struct axutil_param *param,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_param_set_attributes(
+        struct axutil_param *param,
+        const axutil_env_t * env,
+        axutil_hash_t * attrs);
+
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axutil_param_get_attributes(
+        struct axutil_param *param,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_param_set_value_list(
+        struct axutil_param *param,
+        const axutil_env_t * env,
+        axutil_array_list_t * value_list);
+
+    AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+    axutil_param_get_value_list(
+        struct axutil_param *param,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_param_value_free(void *param_value,
-        const axutil_env_t *env);
+    axutil_param_value_free(
+        void *param_value,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_set_value_free(struct axutil_param *param,
-        const axutil_env_t *env,
+    axutil_param_set_value_free(
+        struct axutil_param *param,
+        const axutil_env_t * env,
         void *free_fn);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_dummy_free_fn(void *param,
-        const axutil_env_t *env);
+    axutil_param_dummy_free_fn(
+        void *param,
+        const axutil_env_t * env);
 
     /** @} */
 
@@ -169,4 +186,4 @@
 }
 #endif
 
-#endif    /* AXIS2_PARAM_H */
+#endif                          /* AXIS2_PARAM_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_param_container.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_param_container.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_param_container.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_param_container.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -51,9 +52,11 @@
      * type of function implemented. When the param value is set this function
      * should also be assigned to param free function
      */
-    typedef void (AXIS2_CALL *
-    AXIS2_PARAM_VALUE_FREE)(void *param, 
-        const axutil_env_t *env);
+    typedef void(
+        AXIS2_CALL
+        * AXIS2_PARAM_VALUE_FREE)(
+            void *param,
+            const axutil_env_t * env);
 
     typedef struct axutil_param_container axutil_param_container_t;
 
@@ -61,8 +64,10 @@
      * Creates param container struct
      * @return pointer to newly created param container
      */
-    AXIS2_EXTERN axutil_param_container_t * AXIS2_CALL
-    axutil_param_container_create(const axutil_env_t *env);
+    AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
+
+    axutil_param_container_create(
+        const axutil_env_t * env);
 
     /**
      * Free param_container passed as void pointer. This will be
@@ -70,55 +75,61 @@
      * into the param_container structure's free method
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_param_container_free_void_arg(void *param_container,
-        const axutil_env_t *env);
+    axutil_param_container_free_void_arg(
+        void *param_container,
+        const axutil_env_t * env);
 
     /** De-allocate memory
        * @return status code
        */
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_param_container_free(axutil_param_container_t *param_container,
-        const axutil_env_t *env);
+    axutil_param_container_free(
+        axutil_param_container_t * param_container,
+        const axutil_env_t * env);
 
     /** Add a param
       * @param param param to be added
       * @return status code
       */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_param_container_add_param(axutil_param_container_t *param_container,
-        const axutil_env_t *env,
-        axutil_param_t *param);
+    axutil_param_container_add_param(
+        axutil_param_container_t * param_container,
+        const axutil_env_t * env,
+        axutil_param_t * param);
 
     /** To get a param in a given description
       * @param name param name
       * @return param
       */
-    AXIS2_EXTERN axutil_param_t * AXIS2_CALL
-    axutil_param_container_get_param(axutil_param_container_t *param_container,
-        const axutil_env_t *env,
-        const axis2_char_t *name);
-
+    AXIS2_EXTERN axutil_param_t *AXIS2_CALL
+    axutil_param_container_get_param(
+        axutil_param_container_t * param_container,
+        const axutil_env_t * env,
+        const axis2_char_t * name);
 
     /** To get all the params in a given description
      * @return all the params contained
      */
-    AXIS2_EXTERN axutil_array_list_t * AXIS2_CALL
-    axutil_param_container_get_params(axutil_param_container_t *param_container,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+
+    axutil_param_container_get_params(
+        axutil_param_container_t * param_container,
+        const axutil_env_t * env);
 
     /** To check whether the paramter is locked at any level
      * @param param_name name of the param
      * @return whether param is locked
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axutil_param_container_is_param_locked(axutil_param_container_t *param_container,
-        const axutil_env_t *env,
-        const axis2_char_t *param_name) ;
 
+    axutil_param_container_is_param_locked(
+        axutil_param_container_t * param_container,
+        const axutil_env_t * env,
+        const axis2_char_t * param_name);
 
     /** @} */
 
 #ifdef __cplusplus
 }
 #endif
-#endif  /* AXIS2_PARAM_CONTAINER_H */
+#endif                          /* AXIS2_PARAM_CONTAINER_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_properties.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_properties.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_properties.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_properties.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -41,8 +42,9 @@
      * create new properties
      * @return properties newly created properties
      */
-    AXIS2_EXTERN axutil_properties_t * AXIS2_CALL
-    axutil_properties_create(const axutil_env_t *env);
+    AXIS2_EXTERN axutil_properties_t *AXIS2_CALL
+    axutil_properties_create(
+        const axutil_env_t * env);
 
     /**
      * free w2c_properties.
@@ -52,8 +54,9 @@
      *     else AXIS2_FAILURE
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_properties_free(axutil_properties_t *properties,
-        const axutil_env_t *env);
+    axutil_properties_free(
+        axutil_properties_t * properties,
+        const axutil_env_t * env);
 
     /**
      * get string value for property with specified key.
@@ -62,10 +65,12 @@
      * @param  key MUST NOT be NULL
      * @return value of the property
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-    axutil_properties_get_property(axutil_properties_t *properties,
-        const axutil_env_t *env,
-        axis2_char_t *key);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_properties_get_property(
+        axutil_properties_t * properties,
+        const axutil_env_t * env,
+        axis2_char_t * key);
+
     /**
      * set a property ( key, value) pair.
      * @param  properties pointer to properties struct
@@ -76,19 +81,22 @@
      *     else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_properties_set_property(axutil_properties_t *properties,
-        const axutil_env_t *env,
-        axis2_char_t *key,
-        axis2_char_t *value);
+    axutil_properties_set_property(
+        axutil_properties_t * properties,
+        const axutil_env_t * env,
+        axis2_char_t * key,
+        axis2_char_t * value);
+
     /**
      * retrieve the hash with all the properties
      * @param  properties pointer to properties struct
      * @param  env Environment. MUST NOT be NULL
      * @return hash (key,value)
      */
-    AXIS2_EXTERN axutil_hash_t* AXIS2_CALL
-    axutil_properties_get_all(axutil_properties_t *properties,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+    axutil_properties_get_all(
+        axutil_properties_t * properties,
+        const axutil_env_t * env);
 
     /**
      * load properties
@@ -99,9 +107,10 @@
      *     else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_properties_load(axutil_properties_t *properties,
-        const axutil_env_t *env,
-        axis2_char_t *input_filename);
+    axutil_properties_load(
+        axutil_properties_t * properties,
+        const axutil_env_t * env,
+        axis2_char_t * input_filename);
 
     /**
      * store properties
@@ -112,13 +121,12 @@
      *     else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_properties_store(axutil_properties_t *properites,
-        const axutil_env_t *env,
-        FILE *output);
-    
-    /*************************** End of function macros ***************************/
-
+    axutil_properties_store(
+        axutil_properties_t * properites,
+        const axutil_env_t * env,
+        FILE * output);
 
+    /*************************** End of function macros ***************************/
 
     /** @} */
 
@@ -126,4 +134,4 @@
 }
 #endif
 
-#endif  /* AXIS2_PROPERTIES_H */
+#endif                          /* AXIS2_PROPERTIES_H */



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