void myqttd_reload_config ( MyQttdCtx ctx,
int  value 
)

Function that performs a reload operation for the current myqttd instance (represented by the provided MyQttdCtx).

Parameters
ctxThe myqttd context representing a running instance that must reload.
valueThe signal number caught. This value is optional since reloading can be triggered not only by a signal received (i.e. SIGHUP).

References error, msg, myqtt_mutex_lock(), myqtt_mutex_unlock(), and myqttd_module_notify_reload_conf().

Referenced by myqttd_signal_received().