Diff for /XML/xmlIO.h between versions 1.1 and 1.2

version 1.1, 1999/06/05 09:03:33 version 1.2, 1999/07/26 15:05:44
Line 11 Line 11
   
 #include <stdio.h>  #include <stdio.h>
 #include "tree.h"  #include "tree.h"
   #include "encoding.h"
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
Line 19  extern "C" { Line 20  extern "C" {
 typedef struct xmlParserInputBuffer {  typedef struct xmlParserInputBuffer {
     /* Inputs */      /* Inputs */
     FILE          *file;    /* Input on file handler */      FILE          *file;    /* Input on file handler */
       void*        gzfile;    /* Input on a compressed stream */
     int              fd;    /* Input on a file descriptor */      int              fd;    /* Input on a file descriptor */
 /**********  
 #ifdef HAVE_ZLIB_H  
     gzFile       gzfile;     Input on a compressed stream  
 #endif  
  */  
           
       xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */
           
     xmlBufferPtr buffer;    /* Local buffer encoded in  UTF-8 */      xmlBufferPtr buffer;    /* Local buffer encoded in  UTF-8 */
   
Line 33  typedef struct xmlParserInputBuffer { Line 31  typedef struct xmlParserInputBuffer {
   
 typedef xmlParserInputBuffer *xmlParserInputBufferPtr;  typedef xmlParserInputBuffer *xmlParserInputBufferPtr;
   
   /*
    * Interfaces
    */
   
   xmlParserInputBufferPtr xmlParserInputBufferCreateFilename(const char *filename,
                                                          xmlCharEncoding enc);
   xmlParserInputBufferPtr xmlParserInputBufferCreateFile(FILE *file,
                                                          xmlCharEncoding enc);
   xmlParserInputBufferPtr xmlParserInputBufferCreateFd(int fd, xmlCharEncoding enc);
   
   int xmlParserInputBufferRead(xmlParserInputBufferPtr in, int len);
   int xmlParserInputBufferGrow(xmlParserInputBufferPtr in, int len);
   
   void xmlParserInputBufferFree(xmlParserInputBufferPtr in);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }
 #endif  #endif

Removed from v.1.1  
changed lines
  Added in v.1.2


Webmaster