new API building Python script, does the C parsing directly, generates a
* doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API
building Python script, does the C parsing directly, generates
a better API description including structure fieds defs and
enums. Still a couple of bugs, but good enough for the python
wrappers now.
* DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c
valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c
include/libxml/schemasInternals.h include/libxml/tree.h: more
cleanup based on the python analysis script reports.
* libxml.spec.in: make sure the API XML description is part of the
devel package.
Daniel
diff --git a/nanohttp.c b/nanohttp.c
index c07587e..614fab7 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -1422,6 +1422,8 @@
* xmlNanoHTTPContentLength:
* @ctx: the HTTP context
*
+ * Provides the specified content length from the HTTP header.
+ *
* Return the specified content length from the HTTP header. Note that
* a value of -1 indicates that the content length element was not included in
* the response header.
@@ -1439,6 +1441,8 @@
* @ptr: pointer to set to the content buffer.
* @len: integer pointer to hold the length of the content
*
+ * Check if all the content was read
+ *
* Returns 0 if all the content was read and available, returns
* -1 if received content length was less than specified or an error
* occurred.