typedef void(* ModUnloadFunc)(MyQttdCtx *ctx)

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

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