Skip to main content

xmlRegExecPushString

Function xmlRegExecPushString 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlRegExecPushString( ctxt: *mut RegExecCtxt, value: *const xmlChar, _data: *mut c_void, ) -> c_int
Expand description

Push a string into the incremental regex execution context.

§UPSTREAM-PARITY

int xmlRegExecPushString(xmlRegExecCtxtPtr ctxt, const xmlChar *value,
                         void *data);

Returns 1 if the pushed data completes a match, 0 if more data is needed, -1 on error.

§SAFETY

  • ctxt must be a valid pointer to a RegExecCtxt, or NULL.
  • value must be a valid null-terminated xmlChar string, or NULL.
  • data is the per-push token data passed to the progress callback (retained for ABI parity; not invoked, R-000176).