axl_bool myqttd_module_notify ( MyQttdCtx ctx,
MyQttdModHandler  handler,
axlPointer  data,
axlPointer  data2,
axlPointer  data3 
)

Allows to do a handler notification on all registered modules.

Parameters
ctxThe context where the notification will take place.
handlerThe handler to be called.
dataOptional data to be passed to the handler. This pointer is handler especific.
data2Second optional data to be passed to the handler. This pointer is handler especific.
data3Third optional data to be passed to the handler. This pointer is handler especific.
Returns
Returns axl_true if all handlers executed also returned axl_true. Those handler that have no return value will cause the function to always return axl_true.

References msg, myqtt_mutex_lock(), myqtt_mutex_unlock(), MYQTTD_CLOSE_HANDLER, MYQTTD_INIT_HANDLER, MYQTTD_RELOAD_HANDLER, and wrn.

Referenced by myqttd_module_notify_close(), and myqttd_module_notify_reload_conf().