Skip to main content

switch_xml_parse_fp

Function switch_xml_parse_fp 

Source
pub unsafe extern "C" fn switch_xml_parse_fp(
    fp: *mut FILE,
) -> switch_xml_t
Expand description

\brief Wrapper for switch_xml_parse_str() that accepts a file stream. Reads the entire \ stream into memory and then parses it. For xml files, use switch_xml_parse_file() \ or switch_xml_parse_fd() \param fp a FILE pointer to parse \return an xml node or NULL