typedef axl_bool(* ModInitFunc)(ValvuladCtx *ctx)

Public definition for the init function that must implement a valvulad module.

The module must return axl_true to signal the modules was properly initialized so valvulad can register it as usable.

Parameters
ctxThe valvulad context where the init operation is taking place.
Returns
axl_true if the module is usable or axl_false if not. Returning axl_false caused the module to be not loaded.