diff --git a/doc/html/gnome-xml-debugxml.html b/doc/html/gnome-xml-debugxml.html index d488c34d..66cb91b2 100644 --- a/doc/html/gnome-xml-debugxml.html +++ b/doc/html/gnome-xml-debugxml.html @@ -115,7 +115,7 @@ SIZE="3" >

Name

Synopsis

Description

Details















Name

Synopsis

Description

Details













Name

Synopsis

Description

Details





















Name

Synopsis

Description

Details



























Name

Synopsis

Description

Details








Name

Synopsis

Description

Details























Name

Synopsis

Description

Details










xmlParserCtxtPtr xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax, + void *user_data, + xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + xmlCharEncoding enc); +xmlParserInputPtr xmlNewIOInputStream (xmlParserCtxtPtr ctxt, + xmlParserInputBufferPtr input, + xmlCharEncoding enc); const xmlParserNodeInfo

Description

Details



























































































xmlCreateIOParserCtxt ()

xmlParserCtxtPtr xmlCreateIOParserCtxt      (xmlSAXHandlerPtr sax,
+                                             void *user_data,
+                                             xmlInputReadCallback ioread,
+                                             xmlInputCloseCallback ioclose,
+                                             void *ioctx,
+                                             xmlCharEncoding enc);

Create a parser context for using the XML parser with an existing +I/O stream

sax : a SAX handler
user_data : The user data returned on SAX callbacks
ioread : an I/O read function
ioclose : an I/O close function
ioctx : an I/O handler
enc : the charset encoding if known
Returns :the new parser context or NULL


xmlNewIOInputStream ()

xmlParserInputPtr xmlNewIOInputStream       (xmlParserCtxtPtr ctxt,
+                                             xmlParserInputBufferPtr input,
+                                             xmlCharEncoding enc);

Create a new input stream structure encapsulating the input into +a stream suitable for the parser.

ctxt : an XML parser context
input : an I/O Input
enc : the charset encoding if known
Returns :the new input stream or NULL









Name

Synopsis

Description

Details























































































Name

Synopsis

Description

Details




































Name

Synopsis

Description

Details













































































































































Name

Synopsis

Description

Details








































































Name

Synopsis

Description

Details







Name

Synopsis

+int (*xmlInputMatchCallback) (char const *filename); +void* (*xmlInputOpenCallback) (char const *filename); +int (*xmlInputReadCallback) (void *context, + char *buffer, + int len); +void (*xmlInputCloseCallback) (void *context); struct xmlParserInputBufferxmlCharEncoding enc); +xmlParserInputBufferPtr xmlParserInputBufferCreateIO + (xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + xmlCharEncoding enc); int xmlParserInputBufferReadxmlParserGetDirectory (const char *filename); (const char *filename); +int xmlRegisterInputCallbacks (xmlInputMatchCallback match, + xmlInputOpenCallback open, + xmlInputReadCallback read, + xmlInputCloseCallback close);

Description

Details

xmlInputMatchCallback ()

int         (*xmlInputMatchCallback)        (char const *filename);

filename : 
Returns : 


xmlInputOpenCallback ()

void*       (*xmlInputOpenCallback)         (char const *filename);

filename : 


xmlInputReadCallback ()

int         (*xmlInputReadCallback)         (void *context,
+                                             char *buffer,
+                                             int len);

context : 
buffer : 
len : 
Returns : 


xmlInputCloseCallback ()

void        (*xmlInputCloseCallback)        (void *context);

context : 


struct xmlParserInputBuffer {
-    /* Inputs */
-    FILE          *file;    /* Input on file handler */
-    void*        gzfile;    /* Input on a compressed stream */
-    int              fd;    /* Input on a file descriptor */
-    void        *httpIO;    /* Input from an HTTP stream */
-    void         *ftpIO;    /* Input from an FTP stream */
+    void*                  context;
+    xmlInputReadCallback   readcallback;
+    xmlInputCloseCallback  closecallback;
     
     xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */
     
@@ -293,7 +645,7 @@ CLASS="PROGRAMLISTING"
 >



a C string containing the filename 



xmlParserInputBufferCreateIO ()

xmlParserInputBufferPtr xmlParserInputBufferCreateIO
+                                            (xmlInputReadCallback ioread,
+                                             xmlInputCloseCallback ioclose,
+                                             void *ioctx,
+                                             xmlCharEncoding enc);

Create a buffered parser input for the progressive parsing for the input +from a file descriptor

ioread : an I/O read function
ioclose : an I/O close function
ioctx : an I/O handler
enc : the charset encoding if known
Returns :the new parser input or NULL







xmlRegisterInputCallbacks ()

int         xmlRegisterInputCallbacks       (xmlInputMatchCallback match,
+                                             xmlInputOpenCallback open,
+                                             xmlInputReadCallback read,
+                                             xmlInputCloseCallback close);

Register a new set of I/O callback for handling parser input.

match : the xmlInputMatchCallback
open : the xmlInputOpenCallback
read : the xmlInputReadCallback
close : the xmlInputCloseCallback
Returns :the registered handler number or -1 in case of error