1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

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
This commit is contained in:
Daniel Veillard
2002-12-11 14:23:49 +00:00
parent 01c13b5be2
commit a9b66d00b5
20 changed files with 8369 additions and 5536 deletions

12
xmlIO.c
View File

@ -246,7 +246,7 @@ xmlCleanupOutputCallbacks(void)
************************************************************************/
/**
* xmlCheckFilename
* xmlCheckFilename:
* @path: the path to check
*
* function checks to see if @path is a valid source
@ -461,6 +461,8 @@ xmlFileWrite (void * context, const char * buffer, int len) {
* @context: the I/O context
*
* Close an I/O channel
*
* Returns 0 or -1 in case of error
*/
int
xmlFileClose (void * context) {
@ -1033,7 +1035,7 @@ xmlIOHTTPOpen (const char *filename) {
}
/**
* xmlIOHTTPOpenW
* xmlIOHTTPOpenW:
* @post_uri: The destination URI for the document
* @compression: The compression desired for the document.
*
@ -1176,6 +1178,8 @@ xmlIOHTTPWrite( void * context, const char * buffer, int len ) {
* @context: the I/O context
*
* Close an HTTP I/O channel
*
* Returns 0
*/
int
xmlIOHTTPClose (void * context) {
@ -1396,6 +1400,8 @@ xmlIOFTPRead(void * context, char * buffer, int len) {
* @context: the I/O context
*
* Close an FTP I/O channel
*
* Returns 0
*/
int
xmlIOFTPClose (void * context) {
@ -1524,7 +1530,7 @@ xmlRegisterDefaultOutputCallbacks
#ifdef LIBXML_HTTP_ENABLED
/**
* xmlRegisterHTTPPostCallbacks
* xmlRegisterHTTPPostCallbacks:
*
* By default, libxml submits HTTP output requests using the "PUT" method.
* Calling this method changes the HTTP output method to use the "POST"