void valvula_ctx_set_final_state_handler ( ValvulaCtx ctx,
ValvulaReportFinalState  handler,
axlPointer  user_data 
)

Allows to register a handler that will be called with the final.

Parameters
ctxThe context where the handler will be configured.
handlerThe handler to be called everytime a final state is found.
user_dataUser defined pointer thatwill be passed to the handler configured at the time it is called.