You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/10/07 06:53:09 UTC

svn commit: r307014 - in /webservices/axis2/trunk/c/modules/xml/guththila/src: guththila_depth.h guththila_stack.c guththila_stack.h guththila_xml_pull_parser.c

Author: samisa
Date: Thu Oct  6 21:53:00 2005
New Revision: 307014

URL: http://svn.apache.org/viewcvs?rev=307014&view=rev
Log:
Applied changes in line with naming refactoring, changed DEPTH to guththila_depth_t

Modified:
    webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_depth.h
    webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.c
    webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.h
    webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c

Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_depth.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_depth.h?rev=307014&r1=307013&r2=307014&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_depth.h (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_depth.h Thu Oct  6 21:53:00 2005
@@ -18,15 +18,15 @@
  */
 
 
-#ifndef DEPTH_H
-#define DEPTH_H
+#ifndef GUTHTHILA_DEPTH_H
+#define GUTHTHILA_DEPTH_H
 
-typedef struct depth
+typedef struct guththila_depth_s
 {
   int total;
   int count;
   int first;
-}DEPTH;
+} guththila_depth_t;
 
 
-#endif /* DEPTH_H*/
+#endif /*GUTHTHILA_DEPTH_H*/

Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.c?rev=307014&r1=307013&r2=307014&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.c (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.c Thu Oct  6 21:53:00 2005
@@ -204,7 +204,7 @@
 
 
 int 
-Stack_push_depth (STACK *stack, DEPTH *d)
+Stack_push_depth (STACK *stack, guththila_depth_t *d)
 {
   if (stack)
     {

Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.h?rev=307014&r1=307013&r2=307014&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.h (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_stack.h Thu Oct  6 21:53:00 2005
@@ -40,7 +40,7 @@
   guththila_token_t *token;
   guththila_attribute_t *attribute;
   NAMESPACE *namespace;
-  DEPTH *depth;
+  guththila_depth_t *depth;
   ELEMENT *prev;
 };
 
@@ -63,7 +63,7 @@
 ELEMENT *Stack_pull (STACK *st);
 int Stack_push_namespace (STACK *st, NAMESPACE *ns);
 ELEMENT *Stack_pull_current (STACK *st);
-int Stack_push_depth (STACK *st, DEPTH *d);
+int Stack_push_depth (STACK *st, guththila_depth_t *d);
 void Stack_clear (STACK *st);
 ELEMENT *Stack_get (STACK *st, int i);
 

Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c?rev=307014&r1=307013&r2=307014&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c Thu Oct  6 21:53:00 2005
@@ -814,8 +814,8 @@
 XML_PullParser_openElement (XML_PullParser * parser)
 {
   int ii;
-  DEPTH *m = (DEPTH *) malloc (sizeof (DEPTH));
-  DEPTH *l = NULL;
+  guththila_depth_t *m = (guththila_depth_t *) malloc (sizeof (guththila_depth_t));
+  guththila_depth_t *l = NULL;
   ELEMENT *e;
   ii = Stack_size (parser->dep);
   if (!ii)