apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1835993 - /apr/apr/trunk/xml/apr_xml_internal.h
Date Sun, 15 Jul 2018 20:35:43 GMT
Author: minfrin
Date: Sun Jul 15 20:35:43 2018
New Revision: 1835993

URL: http://svn.apache.org/viewvc?rev=1835993&view=rev
Log:
Document apr_xml_internal.h.

Modified:
    apr/apr/trunk/xml/apr_xml_internal.h

Modified: apr/apr/trunk/xml/apr_xml_internal.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/xml/apr_xml_internal.h?rev=1835993&r1=1835992&r2=1835993&view=diff
==============================================================================
--- apr/apr/trunk/xml/apr_xml_internal.h (original)
+++ apr/apr/trunk/xml/apr_xml_internal.h Sun Jul 15 20:35:43 2018
@@ -19,7 +19,9 @@
 
 
 struct XMLParserImpl {
+    /** parse callback */
     apr_status_t (*Parse)(apr_xml_parser*, const char*, apr_size_t, int);
+    /** cleanup callback */
     apr_status_t (*cleanup)(void*);
 };
 typedef struct XMLParserImpl XMLParserImpl;
@@ -28,18 +30,25 @@ XMLParserImpl* apr_xml_get_parser_impl(v
 
 /* the real (internal) definition of the parser context */
 struct apr_xml_parser {
-    apr_xml_doc *doc;           /* the doc we're parsing */
-    apr_pool_t *p;              /* the pool we allocate from */
-    apr_xml_elem *cur_elem;     /* current element */
-
-    int error;                  /* an error has occurred */
+    /** the doc we're parsing */
+    apr_xml_doc *doc;
+    /** the pool we allocate from */
+    apr_pool_t *p;
+    /** current element */
+    apr_xml_elem *cur_elem;
+    /** an error has occurred */
+    int error;
 #define APR_XML_ERROR_EXPAT             1
 #define APR_XML_ERROR_PARSE_DONE        2
 /* also: public APR_XML_NS_ERROR_* values (if any) */
 
-    XML_Parser xp;              /* the actual (Expat) XML parser */
-    XML_Error xp_err;      /* stored Expat error code */
+    /** the actual (Expat) XML parser */
+    XML_Parser xp;
+    /** stored Expat error code */
+    XML_Error xp_err;
+    /** message */
     const char *xp_msg;
+    /** XML parser implementation */
     XMLParserImpl *impl;
 };
 



Mime
View raw message