Diff for /XML/xmlIO.c between versions 1.23 and 1.24

version 1.23, 2000/04/07 16:32:11 version 1.24, 2000/04/12 13:26:14
Line 636  xmlParserInputBufferCreateFd(int fd, xml Line 636  xmlParserInputBufferCreateFd(int fd, xml
 }  }
   
 /**  /**
    * xmlParserInputBufferCreateIO:
    * @ioread:  an I/O read function
    * @ioclose:  an I/O close function
    * @ioctx:  an I/O handler
    * @enc:  the charset encoding if known
    *
    * Create a buffered parser input for the progressive parsing for the input
    * from a file descriptor
    *
    * Returns the new parser input or NULL
    */
   xmlParserInputBufferPtr
   xmlParserInputBufferCreateIO(xmlInputReadCallback   ioread,
            xmlInputCloseCallback  ioclose, void *ioctx, xmlCharEncoding enc) {
       xmlParserInputBufferPtr ret;
   
       if (ioread == NULL) return(NULL);
   
       ret = xmlAllocParserInputBuffer(enc);
       if (ret != NULL) {
           ret->context = (void *) ioctx;
           ret->readcallback = ioread;
           ret->closecallback = ioclose;
       }
   
       return(ret);
   }
   
   /**
  * xmlParserInputBufferPush:   * xmlParserInputBufferPush:
  * @in:  a buffered parser input   * @in:  a buffered parser input
  * @buf:  an char array   * @buf:  an char array

Removed from v.1.23  
changed lines
  Added in v.1.24


Webmaster