Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 96065 invoked from network); 13 Oct 2005 04:20:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2005 04:20:39 -0000 Received: (qmail 53995 invoked by uid 500); 13 Oct 2005 04:20:33 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 53888 invoked by uid 500); 13 Oct 2005 04:20:33 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 53836 invoked by uid 500); 13 Oct 2005 04:20:33 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 53814 invoked by uid 99); 13 Oct 2005 04:20:33 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Oct 2005 21:20:32 -0700 Received: (qmail 95684 invoked by uid 65534); 13 Oct 2005 04:20:12 -0000 Message-ID: <20051013042012.95678.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r320648 - in /webservices/axis2/trunk/c: include/axis2_defines.h include/axis2_error.h include/axis2_om_namespace.h include/axis2_om_text.h modules/xml/om/src/axis2_om_text.c Date: Thu, 13 Oct 2005 04:20:11 -0000 To: axis2-cvs@ws.apache.org From: samisa@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: samisa Date: Wed Oct 12 21:20:01 2005 New Revision: 320648 URL: http://svn.apache.org/viewcvs?rev=320648&view=rev Log: Changed axis2_char to axis2_char_t becase it is a type Modified: webservices/axis2/trunk/c/include/axis2_defines.h webservices/axis2/trunk/c/include/axis2_error.h webservices/axis2/trunk/c/include/axis2_om_namespace.h webservices/axis2/trunk/c/include/axis2_om_text.h webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c Modified: webservices/axis2/trunk/c/include/axis2_defines.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_defines.h?rev=320648&r1=320647&r2=320648&view=diff ============================================================================== --- webservices/axis2/trunk/c/include/axis2_defines.h (original) +++ webservices/axis2/trunk/c/include/axis2_defines.h Wed Oct 12 21:20:01 2005 @@ -8,7 +8,7 @@ #include -typedef char axis2_char; +typedef char axis2_char_t_t; typedef unsigned int axis2_ssize_t; #define AXIS2_TRUE 1 Modified: webservices/axis2/trunk/c/include/axis2_error.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_error.h?rev=320648&r1=320647&r2=320648&view=diff ============================================================================== --- webservices/axis2/trunk/c/include/axis2_error.h (original) +++ webservices/axis2/trunk/c/include/axis2_error.h Wed Oct 12 21:20:01 2005 @@ -24,7 +24,7 @@ struct axis2_error_ops; typedef struct axis2_error_ops { - axis2_char* (*get_message)(); + axis2_char_t* (*get_message)(); } axis2_error_ops_t; typedef struct axis2_error { Modified: webservices/axis2/trunk/c/include/axis2_om_namespace.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_namespace.h?rev=320648&r1=320647&r2=320648&view=diff ============================================================================== --- webservices/axis2/trunk/c/include/axis2_om_namespace.h (original) +++ webservices/axis2/trunk/c/include/axis2_om_namespace.h Wed Oct 12 21:20:01 2005 @@ -19,16 +19,30 @@ /** * @file axis2_om_namespace.h - * @brief defines axis2_om_namespace data structure, used for constructing the om tree and its - * manipulation functions - * represents an xml namespace + * @brief defines axis2_om_namespace data structure, used for representing XML namespaces in OM */ -#include +#include #include +struct axis2_om_namespace; +struct axis2_om_namespace_ops; + +/** \struct axis2_om_namespace_ops_t + \brief OM Namespace operations struct -typedef struct axis2_om_namespace_t { + Encapsulator struct for operations of axis2_om_namespace_t +*/ +typedef struct axis2_om_namespace_ops +{ +} axis2_om_namespace_ops_t; + +/** \struct axis2_om_namespace_t + \brief OM namespace struct + + Handles the XML namespace in OM +*/ +typedef struct axis2_om_namespace { char *uri; char *prefix; } axis2_om_namespace_t; Modified: webservices/axis2/trunk/c/include/axis2_om_text.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_text.h?rev=320648&r1=320647&r2=320648&view=diff ============================================================================== --- webservices/axis2/trunk/c/include/axis2_om_text.h (original) +++ webservices/axis2/trunk/c/include/axis2_om_text.h Wed Oct 12 21:20:01 2005 @@ -29,7 +29,7 @@ struct axis2_om_text_ops; /** \struct axis2_om_text_ops_t - \brief OM Text operations struct + \brief OM text operations struct Encapsulator struct for operations of axis2_om_text_t */ @@ -64,17 +64,17 @@ /** * Text value */ - axis2_char *value; + axis2_char_t *value; /** * The following fields are for MTOM */ /*axis2_om_namespace_t *ns;*/ - axis2_char *mime_type; + axis2_char_t *mime_type; int optimize; - axis2_char *localname; + axis2_char_t *localname; int is_binary; - axis2_char *content_id; + axis2_char_t *content_id; /*axis2_om_attribute_t *attribute;*/ } axis2_om_text_t; @@ -89,7 +89,7 @@ * @return pointer to newly created text struct */ -axis2_om_text_t *axis2_om_text_create(axis2_environment_t *environment, axis2_om_node_t *parent,const axis2_char *value +axis2_om_text_t *axis2_om_text_create(axis2_environment_t *environment, axis2_om_node_t *parent,const axis2_char_t *value ,axis2_om_node_t **node); #define axis2_om_text_serialize(environment, om_text, om_output) ((om_text)->ops->serialize(environment, om_text, om_output)) Modified: webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c?rev=320648&r1=320647&r2=320648&view=diff ============================================================================== --- webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c (original) +++ webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c Wed Oct 12 21:20:01 2005 @@ -25,7 +25,7 @@ int axis2_om_text_ops_free(axis2_environment_t *environment, axis2_om_text_t *om_text); int axis2_om_text_ops_serialize(axis2_environment_t *environment, const axis2_om_text_t *om_text, axis2_om_output_t* om_output); -axis2_om_text_t *axis2_om_text_create(axis2_environment_t *environment, axis2_om_node_t *parent,const axis2_char *value +axis2_om_text_t *axis2_om_text_create(axis2_environment_t *environment, axis2_om_node_t *parent,const axis2_char_t *value ,axis2_om_node_t **node) { axis2_om_text_t *om_text = NULL; @@ -55,7 +55,7 @@ om_text->value = NULL; if (value) - om_text->value = (axis2_char*) axis2_strdup(environment->allocator, value); + om_text->value = (axis2_char_t*) axis2_strdup(environment->allocator, value); /* om_text->attribute = NULL; */ om_text->content_id = NULL;