Function bearssl::br_pem_decoder_event [] [src]

pub unsafe extern "C" fn br_pem_decoder_event(
    ctx: *mut br_pem_decoder_context
) -> c_int

\brief Get the last event.

If an event was raised, then this function returns the event value, and also clears it, thereby allowing the decoder to proceed. If no event was raised since the last call to br_pem_decoder_event(), then this function returns 0.

\param ctx decoder context. \return the raised event, or 0.