Module yxa_config_check

Checking and normalization of config.

Introduced in: 20 Jun 2005 by Fredrik Thulin <ft@it.su.se>

Authors: Fredrik Thulin (ft@it.su.se).

Description

Checking and normalization of config.

Function Index

check_config/3 Check Cfg and return a new yxa_cfg record with all the values normalized, or an error.
start_bg_check/2 Start sanity checks of parameters in the background to warn about things.

Function Details

check_config/3

check_config(Cfg, AppModule, Mode) -> {ok, NewCfg} | {error, Msg}

Check Cfg and return a new yxa_cfg record with all the values normalized, or an error. Mode is failure mode - soft for config reloads and hard for initial startup.

start_bg_check/2

start_bg_check(Cfg, AppModule) -> {ok, Pid}

Start sanity checks of parameters in the background to warn about things. NOTE : Not yet implemented.


Generated by EDoc, Oct 17 2007, 16:48:04.