You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/09/28 05:31:21 UTC

svn commit: r580209 [1/4] - in /webservices/axis2/trunk/c/util/include: ./ platforms/ platforms/unix/ platforms/windows/

Author: samisa
Date: Thu Sep 27 20:31:17 2007
New Revision: 580209

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

Modified:
    webservices/axis2/trunk/c/util/include/axutil_allocator.h
    webservices/axis2/trunk/c/util/include/axutil_array_list.h
    webservices/axis2/trunk/c/util/include/axutil_base64.h
    webservices/axis2/trunk/c/util/include/axutil_base64_binary.h
    webservices/axis2/trunk/c/util/include/axutil_class_loader.h
    webservices/axis2/trunk/c/util/include/axutil_config.h
    webservices/axis2/trunk/c/util/include/axutil_date_time.h
    webservices/axis2/trunk/c/util/include/axutil_date_time_util.h
    webservices/axis2/trunk/c/util/include/axutil_dir_handler.h
    webservices/axis2/trunk/c/util/include/axutil_dll_desc.h
    webservices/axis2/trunk/c/util/include/axutil_duration.h
    webservices/axis2/trunk/c/util/include/axutil_env.h
    webservices/axis2/trunk/c/util/include/axutil_error.h
    webservices/axis2/trunk/c/util/include/axutil_error_default.h
    webservices/axis2/trunk/c/util/include/axutil_file.h
    webservices/axis2/trunk/c/util/include/axutil_file_handler.h
    webservices/axis2/trunk/c/util/include/axutil_generic_obj.h
    webservices/axis2/trunk/c/util/include/axutil_hash.h
    webservices/axis2/trunk/c/util/include/axutil_linked_list.h
    webservices/axis2/trunk/c/util/include/axutil_log.h
    webservices/axis2/trunk/c/util/include/axutil_log_default.h
    webservices/axis2/trunk/c/util/include/axutil_network_handler.h
    webservices/axis2/trunk/c/util/include/axutil_param.h
    webservices/axis2/trunk/c/util/include/axutil_param_container.h
    webservices/axis2/trunk/c/util/include/axutil_properties.h
    webservices/axis2/trunk/c/util/include/axutil_property.h
    webservices/axis2/trunk/c/util/include/axutil_qname.h
    webservices/axis2/trunk/c/util/include/axutil_rand.h
    webservices/axis2/trunk/c/util/include/axutil_stack.h
    webservices/axis2/trunk/c/util/include/axutil_stream.h
    webservices/axis2/trunk/c/util/include/axutil_string.h
    webservices/axis2/trunk/c/util/include/axutil_string_util.h
    webservices/axis2/trunk/c/util/include/axutil_thread.h
    webservices/axis2/trunk/c/util/include/axutil_thread_pool.h
    webservices/axis2/trunk/c/util/include/axutil_types.h
    webservices/axis2/trunk/c/util/include/axutil_uri.h
    webservices/axis2/trunk/c/util/include/axutil_url.h
    webservices/axis2/trunk/c/util/include/axutil_utils.h
    webservices/axis2/trunk/c/util/include/axutil_utils_defines.h
    webservices/axis2/trunk/c/util/include/axutil_uuid_gen.h
    webservices/axis2/trunk/c/util/include/axutil_version.h
    webservices/axis2/trunk/c/util/include/platforms/axutil_platform_auto_sense.h
    webservices/axis2/trunk/c/util/include/platforms/unix/axutil_date_time_util_unix.h
    webservices/axis2/trunk/c/util/include/platforms/unix/axutil_thread_unix.h
    webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h
    webservices/axis2/trunk/c/util/include/platforms/unix/axutil_uuid_gen_unix.h
    webservices/axis2/trunk/c/util/include/platforms/windows/axutil_date_time_util_windows.h
    webservices/axis2/trunk/c/util/include/platforms/windows/axutil_dir_windows.h
    webservices/axis2/trunk/c/util/include/platforms/windows/axutil_getopt_windows.h
    webservices/axis2/trunk/c/util/include/platforms/windows/axutil_thread_mutex_windows.h
    webservices/axis2/trunk/c/util/include/platforms/windows/axutil_thread_windows.h
    webservices/axis2/trunk/c/util/include/platforms/windows/axutil_uuid_gen_windows.h
    webservices/axis2/trunk/c/util/include/platforms/windows/axutil_windows.h

Modified: webservices/axis2/trunk/c/util/include/axutil_allocator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_allocator.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_allocator.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_allocator.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
@@ -30,108 +31,130 @@
 {
 #endif
 
-/**
- * @defgroup axutil_allocator allocator
- * @ingroup axis2_util 
-
- * @{
- */
- 
- 
-
-/** 
-  * \brief Axis2 memory allocator
-  *
-  * Encapsulator for memory allocating routines
-  */
+    /**
+     * @defgroup axutil_allocator allocator
+     * @ingroup axis2_util
+
+     * @{
+     */
+
+    /**
+      * \brief Axis2 memory allocator
+      *
+      * Encapsulator for memory allocating routines
+      */
     typedef struct axutil_allocator
     {
-      /**
-        * allocates memory
-        * @param allocator pointer to allocator struct. In the default 
-        * implementation this is not used, however this parameter is useful 
-        * when the allocator implementation is dealing with a memory pool.
-        * @param size size of the memory block to be allocated
-        * @return pointer to the allocated memory block
-        */
-         void * (AXIS2_CALL *malloc_fn) (struct axutil_allocator *allocator, size_t size);
-      /**
-        * re-llocates memory
-        * @param allocator pointer to allocator struct. In the default 
-        * implementation this is not used, however this parameter is useful 
-        * when the allocator implementation is dealing with a memory pool.
-        * @param ptr memory block who's size to be changed
-        * @param size size of the memory block to be allocated
-        * @return pointer to the allocated memory block
-        */
-         void * (AXIS2_CALL *realloc) (struct axutil_allocator *allocator, void *ptr, size_t size);
-      /**
-        * frees memory
-        * @param allocator pointer to allocator struct. In the default 
-        * implementation this is not used, however this parameter is useful 
-        * when the allocator implementation is dealing with a memory pool.
-        * @param ptr pointer to be freed
-        */
-         void (AXIS2_CALL *free_fn) (struct axutil_allocator *allocator, void *ptr);
+
+        /**
+          * allocates memory
+          * @param allocator pointer to allocator struct. In the default 
+          * implementation this is not used, however this parameter is useful 
+          * when the allocator implementation is dealing with a memory pool.
+          * @param size size of the memory block to be allocated
+          * @return pointer to the allocated memory block
+          */
+        void *(
+            AXIS2_CALL
+            * malloc_fn)(
+                struct axutil_allocator * allocator,
+                size_t size);
+
+        /**
+          * re-llocates memory
+          * @param allocator pointer to allocator struct. In the default 
+          * implementation this is not used, however this parameter is useful 
+          * when the allocator implementation is dealing with a memory pool.
+          * @param ptr memory block who's size to be changed
+          * @param size size of the memory block to be allocated
+          * @return pointer to the allocated memory block
+          */
+        void *(
+            AXIS2_CALL
+            * realloc)(
+                struct axutil_allocator * allocator,
+                void *ptr,
+                size_t size);
+
+        /**
+          * frees memory
+          * @param allocator pointer to allocator struct. In the default 
+          * implementation this is not used, however this parameter is useful 
+          * when the allocator implementation is dealing with a memory pool.
+          * @param ptr pointer to be freed
+          */
+        void(
+            AXIS2_CALL
+            * free_fn)(
+                struct axutil_allocator * allocator,
+                void *ptr);
+
         /** local memory pool */
-         void *local_pool;
+        void *local_pool;
+
         /** global memory pool */
-         void *global_pool;
-         /** memory pool in use currently */
-         void *current_pool;
-    } axutil_allocator_t;
-
-  /**
-    * Initializes (creates) an allocator.
-    * @param allocator user defined allcator. Optional, can be NULL. If NULL, a default allocator will be returned.
-    * @return initialized allocator. NULL on error.
-    */
-    AXIS2_EXTERN axutil_allocator_t * AXIS2_CALL 
-    axutil_allocator_init (axutil_allocator_t *allocator);
-
-  /** 
-    * This function should be used to deallocate memory if the default allocator provided by
-    * axutil_allocator_init() 
-    * @param allocator 
-    */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_allocator_free(axutil_allocator_t *allocator);
-
-  /** 
-    * Swaps the local_pool and global_pool values. 
-    * In case of using pools, local_pool is suppoed to hold the pool out of which
-    * local values are allocated. In case of values that live beyond a request 
-    * globle pool should be used, hence this method has to be called to swithch to 
-    * globle pool for allocation. 
-    * @param allocator allocator whose memory pools are to be switched
-    */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_allocator_switch_to_global_pool(axutil_allocator_t *allocator);
-
-  /** 
-    * Swaps the local_pool and global_pool values. 
-    * In case of using pools, local_pool is suppoed to hold the pool out of which
-    * local values are allocated. In case of values that live beyond a request 
-    * globle pool should be used. This method can be used to inverse the switching 
-    * done by axutil_allocator_switch_to_global_pool, to start using the local pool again.
-    * @param allocator allocator whose memory pools are to be switched
-    */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_allocator_switch_to_local_pool(axutil_allocator_t *allocator);
+        void *global_pool;
+
+        /** memory pool in use currently */
+        void *current_pool;
+    }
+    axutil_allocator_t;
+
+    /**
+      * Initializes (creates) an allocator.
+      * @param allocator user defined allcator. Optional, can be NULL. If NULL, a default allocator will be returned.
+      * @return initialized allocator. NULL on error.
+      */
+    AXIS2_EXTERN axutil_allocator_t *AXIS2_CALL
+    axutil_allocator_init(
+        axutil_allocator_t * allocator);
+
+    /**
+      * This function should be used to deallocate memory if the default allocator provided by
+      * axutil_allocator_init() 
+      * @param allocator 
+      */
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_allocator_free(
+        axutil_allocator_t * allocator);
+
+    /**
+      * Swaps the local_pool and global_pool values. 
+      * In case of using pools, local_pool is suppoed to hold the pool out of which
+      * local values are allocated. In case of values that live beyond a request 
+      * globle pool should be used, hence this method has to be called to swithch to 
+      * globle pool for allocation. 
+      * @param allocator allocator whose memory pools are to be switched
+      */
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_allocator_switch_to_global_pool(
+        axutil_allocator_t * allocator);
+
+    /**
+      * Swaps the local_pool and global_pool values. 
+      * In case of using pools, local_pool is suppoed to hold the pool out of which
+      * local values are allocated. In case of values that live beyond a request 
+      * globle pool should be used. This method can be used to inverse the switching 
+      * done by axutil_allocator_switch_to_global_pool, to start using the local pool again.
+      * @param allocator allocator whose memory pools are to be switched
+      */
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_allocator_switch_to_local_pool(
+        axutil_allocator_t * allocator);
 
 #define AXIS2_MALLOC(allocator, size) \
       ((allocator)->malloc_fn(allocator, size))
-   
+
 #define AXIS2_REALLOC(allocator, ptr, size) \
       ((allocator)->realloc(allocator, ptr, size))
-      
+
 #define AXIS2_FREE(allocator, ptr) \
       ((allocator)->free_fn(allocator, ptr))
 
-/** @} */
-    
+    /** @} */
+
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_ALLOCATOR_H */
+#endif                          /* AXIS2_ALLOCATOR_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_array_list.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_array_list.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_array_list.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_array_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
@@ -51,8 +52,9 @@
      * @param env pointer to environment struct
      * @param capacity initial capacity of this array_list
      */
-    AXIS2_EXTERN axutil_array_list_t* AXIS2_CALL axutil_array_list_create(
-        const axutil_env_t *env,
+    AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+    axutil_array_list_create(
+        const axutil_env_t * env,
         int capacity);
 
     /**
@@ -63,7 +65,7 @@
     AXIS2_EXTERN void AXIS2_CALL
     axutil_array_list_free_void_arg(
         void *array_list,
-        const axutil_env_t *env);
+        const axutil_env_t * env);
 
     /**
      * Guarantees that this list will have at least enough capacity to
@@ -74,10 +76,10 @@
      * @param min_capacity the minimum guaranteed capacity
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axutil_array_list_ensure_capacity(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         int min_capacity);
 
     /**
@@ -86,10 +88,10 @@
      * @param env pointer to environment struct
      * @return the list size
      */
-    AXIS2_EXTERN int AXIS2_CALL 
+    AXIS2_EXTERN int AXIS2_CALL
     axutil_array_list_size(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env);
+        const axutil_env_t * env);
 
     /**
      * Checks if the list is empty.
@@ -97,10 +99,10 @@
      * @param env pointer to environment struct
      * @return true if there are no elements, else false
      */
-    AXIS2_EXTERN axis2_bool_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
     axutil_array_list_is_empty(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env);
+        const axutil_env_t * env);
 
     /**
      * Returns true iff element is in this array_list.
@@ -109,10 +111,10 @@
      * @param e the element whose inclusion in the List is being tested
      * @return true if the list contains e
      */
-    AXIS2_EXTERN axis2_bool_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
     axutil_array_list_contains(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         void *e);
 
     /**
@@ -124,10 +126,10 @@
      * @param e the element whose inclusion in the List is being tested
      * @return the index where e was found
      */
-    AXIS2_EXTERN int AXIS2_CALL 
+    AXIS2_EXTERN int AXIS2_CALL
     axutil_array_list_index_of(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         void *e);
 
     /**
@@ -137,9 +139,10 @@
      * @param index the index of the element we are fetching
      * @return element at the given index
      */
-    AXIS2_EXTERN void* AXIS2_CALL 
-    axutil_array_list_get(struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_array_list_get(
+        struct axutil_array_list *array_list,
+        const axutil_env_t * env,
         int index);
 
     /**
@@ -151,12 +154,12 @@
      * @param e the element to be set
      * @return the element previously at the specified index
      */
-    AXIS2_EXTERN void* AXIS2_CALL 
+    AXIS2_EXTERN void *AXIS2_CALL
     axutil_array_list_set(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         int index,
-        void* e);
+        void *e);
 
     /**
      * Appends the supplied element to the end of this list.
@@ -166,11 +169,11 @@
      * @param e the element to be appended to this list
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axutil_array_list_add(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env,
-        const void* e);
+        const axutil_env_t * env,
+        const void *e);
 
     /**
      * Adds the supplied element at the specified index, shifting all
@@ -182,12 +185,12 @@
      * @param e the item being added
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axutil_array_list_add_at(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         const int index,
-        const void* e);
+        const void *e);
 
     /**
      * Removes the element at the user-supplied index.
@@ -196,9 +199,10 @@
      * @param index the index of the element to be removed
      * @return the removed void* pointer
      */
-    AXIS2_EXTERN void* AXIS2_CALL 
-    axutil_array_list_remove(struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_array_list_remove(
+        struct axutil_array_list *array_list,
+        const axutil_env_t * env,
         int index);
 
     /**
@@ -208,10 +212,11 @@
      * @param index the index to check
      * @return AXIS2_FALSE if index > size or index < 0, else AXIS2_TRUE
      */
-    AXIS2_EXTERN axis2_bool_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+
     axutil_array_list_check_bound_inclusive(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         int index);
 
     /**
@@ -221,10 +226,11 @@
      * @param index the index to check
      * @return AXIS2_FALSE if index >= size or index < 0, else AXIS2_TRUE
      */
-    AXIS2_EXTERN axis2_bool_t AXIS2_CALL 
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+
     axutil_array_list_check_bound_exclusive(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         int index);
 
     /**
@@ -232,13 +238,13 @@
      * @param env pointer to environment struct
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN void AXIS2_CALL 
+    AXIS2_EXTERN void AXIS2_CALL
     axutil_array_list_free(
         struct axutil_array_list *array_list,
-        const axutil_env_t *env);
+        const axutil_env_t * env);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_ARRAY_LIST_H */
+#endif                          /* AXIS2_ARRAY_LIST_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_base64.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_base64.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_base64.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_base64.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  *   Copyright 2003-2004 The Apache Software Foundation.
  *
@@ -15,6 +16,7 @@
  */
 
 #include <axutil_utils_defines.h>
+
 /*
  * @file axutil_base64.h
  * @brief AXIS2-UTIL Base64 Encoding
@@ -23,83 +25,98 @@
 #define AXUTIL_BASE64_H
 
 #ifdef __cplusplus
-extern "C" {
+extern "C"
+{
 #endif
 
-/*
- * @defgroup AXIS2_Util_Base64 base64 encoding
- * @ingroup AXIS2_Util
- */
-
-/* Simple BASE64 encode/decode functions.
- * 
- * As we might encode binary strings, hence we require the length of
- * the incoming plain source. And return the length of what we decoded.
- *
- * The decoding function takes any non valid char (i.e. whitespace, \0
- * or anything non A-Z,0-9 etc as terminal.
- * 
- * plain strings/binary sequences are not assumed '\0' terminated. Encoded
- * strings are neither. But probably should.
- *
- */
-
-/*
- * Given the length of an un-encrypted string, get the length of the 
- * encrypted string.
- * @param len the length of an unencrypted string.
- * @return the length of the string after it is encrypted
- */ 
-AXIS2_EXTERN int AXIS2_CALL axutil_base64_encode_len(int len);
-
-/*
- * Encode a text string using base64encoding.
- * @param coded_dst The destination string for the encoded string.
- * @param plain_src The original string in plain text
- * @param len_plain_src The length of the plain text string
- * @return the length of the encoded string
- */ 
-AXIS2_EXTERN int AXIS2_CALL axutil_base64_encode(char * coded_dst, const char *plain_src, 
-                                 int len_plain_src);
-
-/*
- * Encode an EBCDIC string using base64encoding.
- * @param coded_dst The destination string for the encoded string.
- * @param plain_src The original string in plain text
- * @param len_plain_src The length of the plain text string
- * @return the length of the encoded string
- */ 
-AXIS2_EXTERN int AXIS2_CALL axutil_base64_encode_binary(char * coded_dst, 
-                                        const unsigned char *plain_src,
-                                        int len_plain_src);
-
-/*
- * Determine the length of a plain text string given the encoded version
- * @param coded_src The encoded string
- * @return the length of the plain text string
- */ 
-AXIS2_EXTERN int AXIS2_CALL axutil_base64_decode_len(const char * coded_src);
-
-/*
- * Decode a string to plain text
- * @param plain_dst The destination string for the plain text
- * @param coded_src The encoded string 
- * @return the length of the plain text string
- */ 
-AXIS2_EXTERN int AXIS2_CALL axutil_base64_decode(char * plain_dst, const char *coded_src);
-
-/*
- * Decode an EBCDIC string to plain text
- * @param plain_dst The destination string for the plain text
- * @param coded_src The encoded string 
- * @return the length of the plain text string
- */ 
-AXIS2_EXTERN int AXIS2_CALL axutil_base64_decode_binary(unsigned char * plain_dst, 
-                                        const char *coded_src);
+    /*
+     * @defgroup AXIS2_Util_Base64 base64 encoding
+     * @ingroup AXIS2_Util
+     */
+
+    /* Simple BASE64 encode/decode functions.
+     *
+     * As we might encode binary strings, hence we require the length of
+     * the incoming plain source. And return the length of what we decoded.
+     *
+     * The decoding function takes any non valid char (i.e. whitespace, \0
+     * or anything non A-Z,0-9 etc as terminal.
+     *
+     * plain strings/binary sequences are not assumed '\0' terminated. Encoded
+     * strings are neither. But probably should.
+     *
+     */
+
+    /*
+     * Given the length of an un-encrypted string, get the length of the
+     * encrypted string.
+     * @param len the length of an unencrypted string.
+     * @return the length of the string after it is encrypted
+     */
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_base64_encode_len(
+        int len);
+
+    /*
+     * Encode a text string using base64encoding.
+     * @param coded_dst The destination string for the encoded string.
+     * @param plain_src The original string in plain text
+     * @param len_plain_src The length of the plain text string
+     * @return the length of the encoded string
+     */
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_base64_encode(
+        char *coded_dst,
+        const char *plain_src,
+        int len_plain_src);
+
+    /*
+     * Encode an EBCDIC string using base64encoding.
+     * @param coded_dst The destination string for the encoded string.
+     * @param plain_src The original string in plain text
+     * @param len_plain_src The length of the plain text string
+     * @return the length of the encoded string
+     */
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_base64_encode_binary(
+        char *coded_dst,
+        const unsigned char *plain_src,
+        int len_plain_src);
+
+    /*
+     * Determine the length of a plain text string given the encoded version
+     * @param coded_src The encoded string
+     * @return the length of the plain text string
+     */
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_base64_decode_len(
+        const char *coded_src);
+
+    /*
+     * Decode a string to plain text
+     * @param plain_dst The destination string for the plain text
+     * @param coded_src The encoded string
+     * @return the length of the plain text string
+     */
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_base64_decode(
+        char *plain_dst,
+        const char *coded_src);
+
+    /*
+     * Decode an EBCDIC string to plain text
+     * @param plain_dst The destination string for the plain text
+     * @param coded_src The encoded string
+     * @return the length of the plain text string
+     */
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_base64_decode_binary(
+        unsigned char *plain_dst,
+        const char *coded_src);
 
-/* @} */
+    /* @} */
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* !AXIS2_BASE64_H */
+#endif                          /* !AXIS2_BASE64_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_base64_binary.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_base64_binary.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_base64_binary.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_base64_binary.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
@@ -46,9 +47,10 @@
      * @param env double pointer to environment struct. MUST NOT be NULL
      * @return pointer to newly created axutil_base64_binary struct
      */
-    AXIS2_EXTERN axutil_base64_binary_t* AXIS2_CALL
+    AXIS2_EXTERN axutil_base64_binary_t *AXIS2_CALL
+
     axutil_base64_binary_create(
-        const axutil_env_t *env);
+        const axutil_env_t * env);
 
     /**
      * Creates axutil_base64_binary struct
@@ -56,9 +58,10 @@
      * @param plain_binary binary buffer to initialize
      * @return pointer to newly created axutil_base64_binary struct
      */
-    AXIS2_EXTERN axutil_base64_binary_t* AXIS2_CALL
+    AXIS2_EXTERN axutil_base64_binary_t *AXIS2_CALL
+
     axutil_base64_binary_create_with_plain_binary(
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         const unsigned char *plain_binary,
         int plain_binary_len);
 
@@ -68,9 +71,10 @@
      * @param encoded_binary binary buffer to initialize 
      * @return pointer to newly created axutil_base64_binary struct
      */
-    AXIS2_EXTERN axutil_base64_binary_t* AXIS2_CALL
+    AXIS2_EXTERN axutil_base64_binary_t *AXIS2_CALL
+
     axutil_base64_binary_create_with_encoded_binary(
-        const axutil_env_t *env,
+        const axutil_env_t * env,
         const char *encoded_binary);
 
     /**
@@ -79,9 +83,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_base64_binary_free(axutil_base64_binary_t *base64_binary,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_base64_binary_free(
+        axutil_base64_binary_t * base64_binary,
+        const axutil_env_t * env);
 
     /**
      * store the value from plain binary.
@@ -91,10 +96,12 @@
      * @param plain_binary_len length of the plain_binary binary buffer
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axutil_base64_binary_set_plain_binary(axutil_base64_binary_t *base64_binary,
-        const axutil_env_t *env,
-        const unsigned char* plain_binary,
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+    axutil_base64_binary_set_plain_binary(
+        axutil_base64_binary_t * base64_binary,
+        const axutil_env_t * env,
+        const unsigned char *plain_binary,
         int plain_binary_len);
 
     /**
@@ -105,10 +112,12 @@
      * @return the plain binary
      */
 
-    AXIS2_EXTERN unsigned char* AXIS2_CALL 
-    axutil_base64_binary_get_plain_binary(axutil_base64_binary_t *base64_binary,
-        const axutil_env_t *env,
-        int* plain_binary_len);
+    AXIS2_EXTERN unsigned char *AXIS2_CALL
+
+    axutil_base64_binary_get_plain_binary(
+        axutil_base64_binary_t * base64_binary,
+        const axutil_env_t * env,
+        int *plain_binary_len);
 
     /**
      * store the value from encoded binary.
@@ -117,10 +126,12 @@
      * @param encoded_binary encoded binary buffer to store
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axutil_base64_binary_set_encoded_binary(axutil_base64_binary_t *base64_binary,
-        const axutil_env_t *env,
-        const char* encoded_binary);
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+    axutil_base64_binary_set_encoded_binary(
+        axutil_base64_binary_t * base64_binary,
+        const axutil_env_t * env,
+        const char *encoded_binary);
 
     /**
      * retrieve the value from encoded binary.
@@ -128,9 +139,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return the encoded binary
      */
-    AXIS2_EXTERN char* AXIS2_CALL 
-    axutil_base64_binary_get_encoded_binary(axutil_base64_binary_t *base64_binary,
-        const axutil_env_t *env);
+    AXIS2_EXTERN char *AXIS2_CALL
+    axutil_base64_binary_get_encoded_binary(
+        axutil_base64_binary_t * base64_binary,
+        const axutil_env_t * env);
 
     /**
      * retrieve the value from encoded binary length.
@@ -138,9 +150,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return the encoded binary length
      */
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_base64_binary_get_encoded_binary_len(axutil_base64_binary_t *base64_binary,
-        const axutil_env_t *env);
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_base64_binary_get_encoded_binary_len(
+        axutil_base64_binary_t * base64_binary,
+        const axutil_env_t * env);
 
     /**
      * retrieve the value from decoded binary length.
@@ -148,12 +161,13 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return the decoded binary length
      */
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_base64_binary_get_decoded_binary_len(axutil_base64_binary_t *base64_binary,
-        const axutil_env_t *env);
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_base64_binary_get_decoded_binary_len(
+        axutil_base64_binary_t * base64_binary,
+        const axutil_env_t * env);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* AXIS2_BASE64_BINARY_H */
+#endif                          /* AXIS2_BASE64_BINARY_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_class_loader.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_class_loader.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_class_loader.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_class_loader.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
@@ -14,7 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 #ifndef AXUTIL_CLASS_LOADER_H
 #define AXUTIL_CLASS_LOADER_H
 
@@ -35,26 +36,28 @@
 {
 #endif
 
-/** @defgroup axutil_class_loader class loader 
- * @ingroup axis2_util
- * @{
- */
-    
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axutil_class_loader_init(const axutil_env_t *env);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axutil_class_loader_delete_dll (const axutil_env_t *env,
-                                    axutil_dll_desc_t *dll_desc);
-
-AXIS2_EXTERN void * AXIS2_CALL
-axutil_class_loader_create_dll (const axutil_env_t *env,
-                                axutil_param_t *impl_info_param);
-    
- 
-/** @} */
+    /** @defgroup axutil_class_loader class loader
+     * @ingroup axis2_util
+     * @{
+     */
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_class_loader_init(
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_class_loader_delete_dll(
+        const axutil_env_t * env,
+        axutil_dll_desc_t * dll_desc);
+
+    AXIS2_EXTERN void *AXIS2_CALL
+    axutil_class_loader_create_dll(
+        const axutil_env_t * env,
+        axutil_param_t * impl_info_param);
+
+    /** @} */
 #ifdef __cplusplus
 }
 #endif
 
-#endif  /* AXIS2_CLASS_LOADER_H */
+#endif                          /* AXIS2_CLASS_LOADER_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_config.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_config.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_config.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_config.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
@@ -39,4 +40,3 @@
 #undef VERSION
 
 #endif                          /* AXIS2_UTILS_H */
-

Modified: webservices/axis2/trunk/c/util/include/axutil_date_time.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_date_time.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_date_time.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_date_time.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
@@ -39,22 +40,23 @@
 
     typedef struct axutil_date_time axutil_date_time_t;
 
-
-    typedef enum  {
+    typedef enum
+    {
         AXIS2_DATE_TIME_COMP_RES_FAILURE = -1,
         AXIS2_DATE_TIME_COMP_RES_UNKNOWN,
         AXIS2_DATE_TIME_COMP_RES_EXPIRED,
         AXIS2_DATE_TIME_COMP_RES_EQUAL,
         AXIS2_DATE_TIME_COMP_RES_NOT_EXPIRED
-    }axutil_date_time_comp_result_t; 
+    } axutil_date_time_comp_result_t;
 
     /**
      * Creates axutil_date_time struct with current date time
      * @param env double pointer to environment struct. MUST NOT be NULL
      * @return pointer to newly created axutil_date_time struct
      */
-    AXIS2_EXTERN axutil_date_time_t * AXIS2_CALL
-    axutil_date_time_create(const axutil_env_t *env);
+    AXIS2_EXTERN axutil_date_time_t *AXIS2_CALL
+    axutil_date_time_create(
+        const axutil_env_t * env);
 
     /*
      * Creates axutil_date_time struct with an additional offset value
@@ -65,8 +67,11 @@
      * @param offset the offset from the current time in seconds
      * @return pointer to newly created axutil_date_time struct
      **/
-    AXIS2_EXTERN axutil_date_time_t * AXIS2_CALL
-    axutil_date_time_create_with_offset(const axutil_env_t *env, int offset);
+    AXIS2_EXTERN axutil_date_time_t *AXIS2_CALL
+
+    axutil_date_time_create_with_offset(
+        const axutil_env_t * env,
+        int offset);
 
     /**
      * free the axutil_date_time.
@@ -74,9 +79,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_date_time_free(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_date_time_free(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * store the time value from plain text.
@@ -85,10 +91,11 @@
      * @param time time as a string format HH:MM:TTZ
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axutil_date_time_deserialize_time(axutil_date_time_t *date_time,
-        const axutil_env_t *env,
-        const axis2_char_t* time_str);
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_date_time_deserialize_time(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env,
+        const axis2_char_t * time_str);
 
     /**
      * store the date value from plain text.
@@ -97,10 +104,11 @@
      * @param date date as a string format YYYY-MM-DD
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axutil_date_time_deserialize_date(axutil_date_time_t *date_time,
-        const axutil_env_t *env,
-        const axis2_char_t* date_str);
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_date_time_deserialize_date(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env,
+        const axis2_char_t * date_str);
 
     /**
      * store the date value from plain text.
@@ -109,10 +117,12 @@
      * @param date_time string format YYYY-MM-DDTHH:MM:SSZ
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axutil_date_time_deserialize_date_time(axutil_date_time_t *date_time,
-        const axutil_env_t *env,
-        const axis2_char_t* date_time_str);
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+    axutil_date_time_deserialize_date_time(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env,
+        const axis2_char_t * date_time_str);
 
     /**
      * store the date value from set of values
@@ -127,10 +137,16 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_date_time_set_date_time(axutil_date_time_t* date_time,
-        const axutil_env_t *env,
-        int year, int month, int date,
-        int hour, int min, int second, int milliseconds);
+    axutil_date_time_set_date_time(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env,
+        int year,
+        int month,
+        int date,
+        int hour,
+        int min,
+        int second,
+        int milliseconds);
 
     /**
      * retrive the stored time  as a string
@@ -138,9 +154,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return time as a string format HH:MM:SSZ
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL 
-    axutil_date_time_serialize_time(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_date_time_serialize_time(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * retrive the stored date as a string
@@ -148,9 +165,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return date as a string  format YYYY-MM-DD
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL 
-    axutil_date_time_serialize_date(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_date_time_serialize_date(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * retrive the stored date time  as a string
@@ -158,9 +176,11 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return time as a string format YYYY-MM-DDTHH:MM:SSZ
      */
-    AXIS2_EXTERN axis2_char_t* AXIS2_CALL 
-    axutil_date_time_serialize_date_time(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+
+    axutil_date_time_serialize_date_time(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * retrieve the year of the date time
@@ -168,9 +188,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return year as an integer 
      */
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_date_time_get_year(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_date_time_get_year(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * retrieve the month of the date time
@@ -178,9 +199,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return month as an integer 
      */
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_date_time_get_month(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_date_time_get_month(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * retrieve the date of the date time
@@ -188,9 +210,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return date as an integer 
      */
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_date_time_get_date(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_date_time_get_date(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * retrieve the hour of the date time
@@ -198,9 +221,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return hour as an integer 
      */
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_date_time_get_hour(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_date_time_get_hour(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * retrieve the minute of the date time
@@ -208,9 +232,10 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return minute as an integer 
      */
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_date_time_get_minute(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_date_time_get_minute(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
 
     /**
      * retrieve the second of the date time
@@ -218,13 +243,16 @@
      * @param env pointer to environment struct. MUST NOT be NULL
      * @return second as an integer 
      */
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_date_time_get_second(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
-
-    AXIS2_EXTERN int AXIS2_CALL 
-    axutil_date_time_get_msec(axutil_date_time_t *date_time,
-        const axutil_env_t *env);
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_date_time_get_second(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_date_time_get_msec(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env);
+
     /**
      * Compare the date and time of @date_time with the reference @ref.
      * If the @date_time < @ref this returns NOT_EXPIRED.
@@ -236,11 +264,14 @@
      * @return NOT_EXPIRED/EXPIRED/EQUAL if valid otherwise return FAILURE
      */
     AXIS2_EXTERN axutil_date_time_comp_result_t AXIS2_CALL
-    axutil_date_time_compare(axutil_date_time_t *date_time,   
-        const axutil_env_t *env, axutil_date_time_t *ref);
+
+    axutil_date_time_compare(
+        axutil_date_time_t * date_time,
+        const axutil_env_t * env,
+        axutil_date_time_t * ref);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* AXIS2_DATE_TIME_H */
+#endif                          /* AXIS2_DATE_TIME_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_date_time_util.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_date_time_util.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_date_time_util.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_date_time_util.h Thu Sep 27 20:31:17 2007
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2004,2005 The Apache Software Foundation.
  *
@@ -22,28 +23,27 @@
 #include <axutil_env.h>
 #include <platforms/axutil_platform_auto_sense.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
+    /**
+     * @defgroup axutil_uuid_gen UUID generator
+     * @ingroup axis2_util
+     * @{
+     */
+
+    /**
+     * generate a uuid
+     * @return generated uuid as a string
+     */
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_get_milliseconds(
+        const axutil_env_t * env);
 
-/**
- * @defgroup axutil_uuid_gen UUID generator
- * @ingroup axis2_util 
- * @{
- */
-   
-/**
- * generate a uuid
- * @return generated uuid as a string
- */ 
-AXIS2_EXTERN int AXIS2_CALL
-axutil_get_milliseconds(const axutil_env_t *env);
+    /** @} */
 
-/** @} */
-    
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/util/include/axutil_dir_handler.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_dir_handler.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_dir_handler.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_dir_handler.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,7 +26,6 @@
 #include <axutil_array_list.h>
 #include <axutil_utils.h>
 
-
 #ifdef __cplusplus
 extern "C"
 {
@@ -36,14 +36,17 @@
      * @ingroup axis2_util
      * @{
      */
+
     /**
      * List the dll files in the given service or module folder path
      * @param pathname path to your service or module directory
      * @return array list of dll file names
      */
-    AXIS2_EXTERN axutil_array_list_t * AXIS2_CALL
-    axutil_dir_handler_list_services_or_modules_in_dir(const axutil_env_t *env,
-            const axis2_char_t *pathname);
+    AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+
+    axutil_dir_handler_list_services_or_modules_in_dir(
+        const axutil_env_t * env,
+        const axis2_char_t * pathname);
 
     /**
      * List services or modules directories in the services or modules folder
@@ -51,9 +54,11 @@
      * @param pathname path  your modules or services folder
      * @return array list of contents of services or modules folder
      */
-    AXIS2_EXTERN axutil_array_list_t * AXIS2_CALL
-    axutil_dir_handler_list_service_or_module_dirs(const axutil_env_t *env,
-            const axis2_char_t *pathname);
+    AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+
+    axutil_dir_handler_list_service_or_module_dirs(
+        const axutil_env_t * env,
+        const axis2_char_t * pathname);
 
     /*
      *extentions for module and service archives

Modified: webservices/axis2/trunk/c/util/include/axutil_dll_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_dll_desc.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_dll_desc.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_dll_desc.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
@@ -42,25 +43,36 @@
 
     typedef struct axutil_dll_desc axutil_dll_desc_t;
 
-    typedef int(*CREATE_FUNCT)(void **inst, const axutil_env_t *env);
-
-    typedef int(*DELETE_FUNCT)(void *inst, const axutil_env_t *env);
+    typedef int(
+        *CREATE_FUNCT)(
+            void **inst,
+            const axutil_env_t * env);
+
+    typedef int(
+        *DELETE_FUNCT)(
+            void *inst,
+            const axutil_env_t * env);
 
     typedef enum axis2_dll_type
     {
+
         /** service dll */
         AXIS2_SVC_DLL = 0,
+
         /** handler dll */
         AXIS2_HANDLER_DLL,
+
         /** message receiver dll */
         AXIS2_MSG_RECV_DLL,
+
         /** module dll */
         AXIS2_MODULE_DLL,
+
         /** transport receiver dll */
         AXIS2_TRANSPORT_RECV_DLL,
+
         /** transport sender dll */
         AXIS2_TRANSPORT_SENDER_DLL
-
     }
     axis2_dll_type_t;
 
@@ -68,95 +80,115 @@
      * creates dll_desc struct
      * @param qname qname, can be NULL
      */
-    AXIS2_EXTERN axutil_dll_desc_t* AXIS2_CALL
-    axutil_dll_desc_create(const axutil_env_t *env);
+    AXIS2_EXTERN axutil_dll_desc_t *AXIS2_CALL
+    axutil_dll_desc_create(
+        const axutil_env_t * env);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_dll_desc_free_void_arg(void *dll_desc,
-        const axutil_env_t *env);
+    axutil_dll_desc_free_void_arg(
+        void *dll_desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN void AXIS2_CALL
-    axutil_dll_desc_free(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+    axutil_dll_desc_free(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
 
     /**
      * Set path qualified platform specific dll name
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_dll_desc_set_name(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
-        axis2_char_t *name);
+    axutil_dll_desc_set_name(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
+        axis2_char_t * name);
 
     /**
      * Return the path qualified platform specific dll name
      */
-    AXIS2_EXTERN axis2_char_t * AXIS2_CALL
-    axutil_dll_desc_get_name(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axutil_dll_desc_get_name(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_dll_desc_set_type(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
+    axutil_dll_desc_set_type(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
         axis2_dll_type_t type);
 
     AXIS2_EXTERN axis2_dll_type_t AXIS2_CALL
-    axutil_dll_desc_get_type(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+    axutil_dll_desc_get_type(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_dll_desc_set_load_options(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
+    axutil_dll_desc_set_load_options(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
         int options);
 
     AXIS2_EXTERN int AXIS2_CALL
-    axutil_dll_desc_get_load_options(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+    axutil_dll_desc_get_load_options(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_dll_desc_set_dl_handler(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
+    axutil_dll_desc_set_dl_handler(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
         AXIS2_DLHANDLER dl_handler);
 
     AXIS2_EXTERN AXIS2_DLHANDLER AXIS2_CALL
-    axutil_dll_desc_get_dl_handler(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+    axutil_dll_desc_get_dl_handler(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_dll_desc_set_create_funct(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
+    axutil_dll_desc_set_create_funct(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
         CREATE_FUNCT funct);
 
     AXIS2_EXTERN CREATE_FUNCT AXIS2_CALL
-    axutil_dll_desc_get_create_funct(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+    axutil_dll_desc_get_create_funct(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_dll_desc_set_delete_funct(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
+    axutil_dll_desc_set_delete_funct(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
         DELETE_FUNCT funct);
 
     AXIS2_EXTERN DELETE_FUNCT AXIS2_CALL
-    axutil_dll_desc_get_delete_funct(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+    axutil_dll_desc_get_delete_funct(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_dll_desc_set_timestamp(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
+    axutil_dll_desc_set_timestamp(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
         AXIS2_TIME_T timestamp);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axutil_dll_desc_set_error_code(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
+    axutil_dll_desc_set_error_code(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
         axutil_error_codes_t error_code);
 
     AXIS2_EXTERN axutil_error_codes_t AXIS2_CALL
+
     axutil_dll_desc_get_error_code(
-        axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
 
     AXIS2_EXTERN AXIS2_TIME_T AXIS2_CALL
-    axutil_dll_desc_get_timestamp(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env);
+    axutil_dll_desc_get_timestamp(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env);
+
     /**
     * This function will accept the library name without any platform
     * dependant prefixes or suffixes. It then prefix and suffix
@@ -166,13 +198,15 @@
     * @param class_name
     * @return platform specific dll name
     */
-    AXIS2_EXTERN axis2_char_t * AXIS2_CALL 
-    axutil_dll_desc_create_platform_specific_dll_name(axutil_dll_desc_t *dll_desc,
-        const axutil_env_t *env,
-        const axis2_char_t *class_name);
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+
+    axutil_dll_desc_create_platform_specific_dll_name(
+        axutil_dll_desc_t * dll_desc,
+        const axutil_env_t * env,
+        const axis2_char_t * class_name);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_DLL_DESC_H */
+#endif                          /* AXIS2_DLL_DESC_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_duration.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_duration.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_duration.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_duration.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
@@ -34,111 +35,136 @@
 
     typedef struct axutil_duration axutil_duration_t;
 
-
     /**
      * Creates axutil_duration struct with current date time
      * @param env double pointer to environment struct. MUST NOT be NULL
      * @return pointer to newly created axutil_duration struct
      */
-    AXIS2_EXTERN axutil_duration_t * AXIS2_CALL
-    axutil_duration_create(axutil_env_t *env);
-
-    AXIS2_EXTERN axutil_duration_t * AXIS2_CALL
-    axutil_duration_create_from_values(const axutil_env_t *env, 
-        axis2_bool_t negative, 
-		int years, int months, int days, int hours, 
-		int minutes, double seconds);
-	
-	AXIS2_EXTERN axutil_duration_t * AXIS2_CALL
-	axutil_duration_create_from_string(const axutil_env_t *env, 
-        axis2_char_t *duration_str);
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-	axutil_duration_free(axutil_duration_t *duration,
-		const axutil_env_t *env);	
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL
-	axutil_duration_deserialize_duration(axutil_duration_t *duration,
-		const axutil_env_t *env,
-		const char* duration_str);
-	
-	AXIS2_EXTERN char* AXIS2_CALL
-	axutil_duration_serialize_duration(axutil_duration_t *duration,
-		const axutil_env_t *env );
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL
-	axutil_duration_set_duration(axutil_duration_t* duration,
-		const axutil_env_t *env,
-		axis2_bool_t negative,
-		int years, int months, int days,
-		int hours, int mins, double seconds);
-
-	AXIS2_EXTERN int AXIS2_CALL
-	axutil_duration_get_years(axutil_duration_t *duration,
-	    const axutil_env_t *env );
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-	axutil_duration_set_years(axutil_duration_t *duration,
-		const axutil_env_t *env,
-		int years);
-
-	
-	AXIS2_EXTERN int AXIS2_CALL
-	axutil_duration_get_months(axutil_duration_t *duration,
-	    const axutil_env_t *env );
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-	axutil_duration_set_months(axutil_duration_t *duration,
-		const axutil_env_t *env,
-		int months);
-
-	AXIS2_EXTERN int AXIS2_CALL
-	axutil_duration_get_days(axutil_duration_t *duration,
-	    const axutil_env_t *env );
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-	axutil_duration_set_days(axutil_duration_t *duration,
-		const axutil_env_t *env,
-		int days);
-
-	AXIS2_EXTERN int AXIS2_CALL
-	axutil_duration_get_hours(axutil_duration_t *duration,
-	    const axutil_env_t *env );
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-	axutil_duration_set_hours(axutil_duration_t *duration,
-		const axutil_env_t *env,
-		int hours);
-
-	AXIS2_EXTERN int AXIS2_CALL
-	axutil_duration_get_mins(axutil_duration_t *duration,
-	    const axutil_env_t *env );
-
-	
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-	axutil_duration_set_mins(axutil_duration_t *duration,
-		const axutil_env_t *env,
-		int mins);
-
-	AXIS2_EXTERN double AXIS2_CALL
-	axutil_duration_get_seconds(axutil_duration_t *duration,
-	    const axutil_env_t *env );
-
-	AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-	axutil_duration_set_seconds(axutil_duration_t *duration,
-		const axutil_env_t *env,
-	    double seconds);
-
-	AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-	axutil_duration_compare(axutil_duration_t *duration_one, 
-        axutil_duration_t *duration_two, 
-        axutil_env_t *env);
+    AXIS2_EXTERN axutil_duration_t *AXIS2_CALL
+    axutil_duration_create(
+        axutil_env_t * env);
+
+    AXIS2_EXTERN axutil_duration_t *AXIS2_CALL
+
+    axutil_duration_create_from_values(
+        const axutil_env_t * env,
+        axis2_bool_t negative,
+        int years,
+        int months,
+        int days,
+        int hours,
+        int minutes,
+        double seconds);
+
+    AXIS2_EXTERN axutil_duration_t *AXIS2_CALL
+
+    axutil_duration_create_from_string(
+        const axutil_env_t * env,
+        axis2_char_t * duration_str);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_duration_free(
+        axutil_duration_t * duration,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+    axutil_duration_deserialize_duration(
+        axutil_duration_t * duration,
+        const axutil_env_t * env,
+        const char *duration_str);
+
+    AXIS2_EXTERN char *AXIS2_CALL
+    axutil_duration_serialize_duration(
+        axutil_duration_t * duration,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_duration_set_duration(
+        axutil_duration_t * duration,
+        const axutil_env_t * env,
+        axis2_bool_t negative,
+        int years,
+        int months,
+        int days,
+        int hours,
+        int mins,
+        double seconds);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_duration_get_years(
+        axutil_duration_t * duration,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_duration_set_years(
+        axutil_duration_t * duration,
+        const axutil_env_t * env,
+        int years);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_duration_get_months(
+        axutil_duration_t * duration,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_duration_set_months(
+        axutil_duration_t * duration,
+        const axutil_env_t * env,
+        int months);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_duration_get_days(
+        axutil_duration_t * duration,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_duration_set_days(
+        axutil_duration_t * duration,
+        const axutil_env_t * env,
+        int days);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_duration_get_hours(
+        axutil_duration_t * duration,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_duration_set_hours(
+        axutil_duration_t * duration,
+        const axutil_env_t * env,
+        int hours);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    axutil_duration_get_mins(
+        axutil_duration_t * duration,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_duration_set_mins(
+        axutil_duration_t * duration,
+        const axutil_env_t * env,
+        int mins);
+
+    AXIS2_EXTERN double AXIS2_CALL
+    axutil_duration_get_seconds(
+        axutil_duration_t * duration,
+        const axutil_env_t * env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_duration_set_seconds(
+        axutil_duration_t * duration,
+        const axutil_env_t * env,
+        double seconds);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    axutil_duration_compare(
+        axutil_duration_t * duration_one,
+        axutil_duration_t * duration_two,
+        axutil_env_t * env);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* AXIS2_DURATION_H */
-
-
-
+#endif                          /* AXIS2_DURATION_H */

Modified: webservices/axis2/trunk/c/util/include/axutil_env.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_env.h?rev=580209&r1=580208&r2=580209&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_env.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_env.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
@@ -40,7 +41,6 @@
       * @}
       */
 
-
     struct axutil_env;
     struct axutil_env_ops;
 
@@ -58,14 +58,19 @@
       */
     typedef struct axutil_env
     {
+
         /** Memory allocation routines */
         axutil_allocator_t *allocator;
+
         /** Error handling */
         axutil_error_t *error;
+
         /** Logging routines */
         axutil_log_t *log;
+
         /** This flag indicate whether logging is enabled or not */
         axis2_bool_t log_enabled;
+
         /** Thread pooling routines */
         axutil_thread_pool_t *thread_pool;
     }
@@ -78,8 +83,9 @@
     * @param log_level log level to be used
     * @return pointer to the newly created environment struct 
     */
-    AXIS2_EXTERN axutil_env_t * AXIS2_CALL 
-    axutil_env_create_all(const axis2_char_t *log_file,
+    AXIS2_EXTERN axutil_env_t *AXIS2_CALL
+    axutil_env_create_all(
+        const axis2_char_t * log_file,
         const axutil_log_levels_t log_level);
 
     /**
@@ -88,8 +94,9 @@
      * @param allocator pointer to an instance of allocator struct. Must be non-NULL   
      * @return pointer to the newly created environment struct 
      */
-    AXIS2_EXTERN axutil_env_t * AXIS2_CALL 
-    axutil_env_create(axutil_allocator_t *allocator);
+    AXIS2_EXTERN axutil_env_t *AXIS2_CALL
+    axutil_env_create(
+        axutil_allocator_t * allocator);
 
     /**
       * Creates an environment struct
@@ -98,9 +105,10 @@
       * it would be taken as a flag for no logging.  
       * @return pointer to the newly created environment struct 
       */
-    AXIS2_EXTERN axutil_env_t * AXIS2_CALL 
-    axutil_env_create_with_error(axutil_allocator_t *allocator, 
-        axutil_error_t *error);
+    AXIS2_EXTERN axutil_env_t *AXIS2_CALL
+    axutil_env_create_with_error(
+        axutil_allocator_t * allocator,
+        axutil_error_t * error);
 
     /**
      * Creates an environment struct
@@ -110,10 +118,11 @@
      * it would be taken as a flag for no logging.   
      * @return pointer to the newly created environment struct 
      */
-    AXIS2_EXTERN axutil_env_t * AXIS2_CALL 
-    axutil_env_create_with_error_log(axutil_allocator_t *allocator, 
-        axutil_error_t *error, 
-        axutil_log_t *log);
+    AXIS2_EXTERN axutil_env_t *AXIS2_CALL
+    axutil_env_create_with_error_log(
+        axutil_allocator_t * allocator,
+        axutil_error_t * error,
+        axutil_log_t * log);
 
     /**
     * Creates an environment struct
@@ -124,11 +133,13 @@
     * @param pool pointer to an instance of thread_pool. May be NULL. If NULL
     * @return pointer to the newly created environment struct 
     */
-    AXIS2_EXTERN axutil_env_t * AXIS2_CALL 
-    axutil_env_create_with_error_log_thread_pool(axutil_allocator_t *allocator, 
-        axutil_error_t *error, 
-        axutil_log_t *log, 
-        axutil_thread_pool_t *pool);
+    AXIS2_EXTERN axutil_env_t *AXIS2_CALL
+
+    axutil_env_create_with_error_log_thread_pool(
+        axutil_allocator_t * allocator,
+        axutil_error_t * error,
+        axutil_log_t * log,
+        axutil_thread_pool_t * pool);
 
     /**
       * Creates an environment struct
@@ -141,8 +152,9 @@
       * Optional, can be NULL. If NULL default string handler would be used.
       * @return pointer to the newly created environment struct 
       */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_env_free(axutil_env_t *env);
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_env_free(
+        axutil_env_t * env);
 
     /**
     * Frees the environment
@@ -156,29 +168,33 @@
     *       Eg : 0x3 frees both log and error
     * @return status of the operation
     */
-    AXIS2_EXTERN void AXIS2_CALL 
-    axutil_env_free_masked(axutil_env_t *env, 
+    AXIS2_EXTERN void AXIS2_CALL
+    axutil_env_free_masked(
+        axutil_env_t * env,
         char mask);
+
     /**
      * Enables logging
      */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axutil_env_enable_log(axutil_env_t *env, 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_env_enable_log(
+        axutil_env_t * env,
         axis2_bool_t enable);
 
     /**
       * Checks the status code of environment
       */
-    AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-    axutil_env_check_status(const axutil_env_t *env);
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axutil_env_check_status(
+        const axutil_env_t * env);
+
+    /*#define AXIS2_ENV_CHECK(env, error_return) \
+        if(!env) \
+        { \
+            return error_return; \
+        }*/
 
-/*#define AXIS2_ENV_CHECK(env, error_return) \
-    if(!env) \
-    { \
-        return error_return; \
-    }*/
-
-#define AXIS2_ENV_CHECK(env, error_return) 
+#define AXIS2_ENV_CHECK(env, error_return)
 
     /** @} */
 
@@ -187,5 +203,3 @@
 #endif
 
 #endif                          /* AXIS2_ENV_H */
-
-



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org