Skip to main content

milo_reset

Function milo_reset 

Source
#[unsafe(no_mangle)]
pub extern "C" fn milo_reset(parser: *mut Parser, keep_parsed: bool)
Expand description

Resets a parser. The second parameters specifies if to also reset the parsed counter.

The following fields are not modified:

  • position
  • context
  • autodetect
  • is_request
  • manage_unconsumed
  • continue_without_data
  • context