/* The constants MXML_INTEGER_CALLBACK, MXML_OPAQUE_CALLBACK, MXML_REAL_CALLBACK, and MXML_TEXT_CALLBACK are defined for loading child nodes of the specified type.  */
mxml_node_t* mxmlLoadFd(mxml_node_t *top, int fd, mxml_load_cb_t cb)
/* The constants MXML_INTEGER_CALLBACK, MXML_OPAQUE_CALLBACK, MXML_REAL_CALLBACK, and MXML_TEXT_CALLBACK are defined for loading child nodes of the specified type.  */
mxml_node_t* mxmlLoadFd(mxml_node_t *top, int fd, mxml_load_cb_t cb)
{
  _mxml_fdbuf_t	buf;
  buf.fd      = fd;
  buf.current = buf.buffer;
  buf.end     = buf.buffer;
  return (mxml_load_data(top, &buf, cb, mxml_fd_getc, MXML_NO_CALLBACK, NULL));
}