Skip to main content

apr_xml_parse_file

Function apr_xml_parse_file 

Source
pub unsafe extern "C" fn apr_xml_parse_file(
    p: *mut apr_pool_t,
    parser: *mut *mut apr_xml_parser,
    ppdoc: *mut *mut apr_xml_doc,
    xmlfd: *mut apr_file_t,
    buffer_length: apr_size_t,
) -> apr_status_t
Expand description

Parse a File, producing a xml_doc @param p The pool for allocating the parse results. @param parser A pointer to *parser (needed so calling function can get errors), will be set to NULL on successful completion. @param ppdoc A pointer to *apr_xml_doc (which has the parsed results in it) @param xmlfd A file to read from. @param buffer_length Buffer length which would be suitable @return Any errors found during parsing.