Skip to main content

switch_xml_parse_fd

Function switch_xml_parse_fd 

Source
pub unsafe extern "C" fn switch_xml_parse_fd(
    fd: c_int,
) -> switch_xml_t
Expand description

\brief A wrapper for switch_xml_parse_str() that accepts a file descriptor. First \ attempts to mem map the file. Failing that, reads the file into memory. \ Returns NULL on failure. \param fd \return a formated xml node or NULL