typedef void(* ModUnloadFunc)(ValvuladCtx *ctx)

A reference to the unload method that must implement all unload code required in the case valvulad ask the module to stop its function.

Unload function is only called in the context of child process created by valvulad to isolate some requests (modules and profiles) to be handled by a low permissions user.

Parameters
ctxThe valvulad context where the close operation is taking place.