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 pi...@apache.org on 2007/03/15 05:15:26 UTC

svn commit: r518468 - /webservices/axis2/trunk/c/axiom/src/om/om_doctype.c

Author: pini
Date: Wed Mar 14 21:15:25 2007
New Revision: 518468

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

Modified:
    webservices/axis2/trunk/c/axiom/src/om/om_doctype.c

Modified: webservices/axis2/trunk/c/axiom/src/om/om_doctype.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_doctype.c?view=diff&rev=518468&r1=518467&r2=518468
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_doctype.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_doctype.c Wed Mar 14 21:15:25 2007
@@ -25,11 +25,11 @@
     axis2_char_t *value;
 };
 
-AXIS2_EXTERN axiom_doctype_t * AXIS2_CALL
+AXIS2_EXTERN axiom_doctype_t *AXIS2_CALL
 axiom_doctype_create(const axis2_env_t *env,
-        axiom_node_t * parent,
-        const axis2_char_t * value,
-        axiom_node_t ** node)
+    axiom_node_t *parent,
+    const axis2_char_t *value,
+    axiom_node_t **node)
 {
     axiom_doctype_t *doctype = NULL;
     AXIS2_ENV_CHECK(env, NULL);
@@ -43,7 +43,7 @@
     }
 
     doctype = (axiom_doctype_t *) AXIS2_MALLOC(env->allocator,
-            sizeof(axiom_doctype_t));
+        sizeof(axiom_doctype_t));
 
     if (!doctype)
     {
@@ -77,10 +77,9 @@
     return doctype;
 }
 
-
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 axiom_doctype_free(axiom_doctype_t *om_doctype,
-        const axis2_env_t *env)
+    const axis2_env_t *env)
 {
     if (om_doctype)
     {
@@ -96,8 +95,8 @@
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 axiom_doctype_set_value(axiom_doctype_t *om_doctype,
-        const axis2_env_t *env,
-        const axis2_char_t *value)
+    const axis2_env_t *env,
+    const axis2_char_t *value)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, value, AXIS2_FAILURE);
@@ -107,7 +106,7 @@
 
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
 axiom_doctype_get_value(axiom_doctype_t *om_doctype,
-        const axis2_env_t *env)
+    const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
     return om_doctype->value;
@@ -115,16 +114,17 @@
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 axiom_doctype_serialize(axiom_doctype_t *om_doctype,
-        const axis2_env_t *env,
-        axiom_output_t *om_output)
+    const axis2_env_t *env,
+    axiom_output_t *om_output)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, om_output, AXIS2_FAILURE);
 
     if (om_doctype->value)
         return  axiom_output_write(om_output, env,
-                AXIOM_DOCTYPE, 1, om_doctype->value);
+            AXIOM_DOCTYPE, 1, om_doctype->value);
 
     return AXIS2_FAILURE;
 }
+
 



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