April 22, 2009
View 50ca02e5e6

fix overlapping symbols of libconfuse and sr core cfg parser

Henning Westerholt authored on 22/04/2009 08:41:55
March 13, 2009
View 33bfeb9da9

The fixup function prototypes of the config variables have been extended with the group name. All the fixup functions have been updated.

Miklos Tirpak authored on 13/03/2009 13:59:28
March 10, 2008
View 780542a5ce

log message is changed to debug level in cfg_lookup_var(), the message does not indicate an error in the framework

Miklos Tirpak authored on 10/03/2008 10:37:24
February 26, 2008
View ad634e3476

Select fixup is postponed until the config is shmized, if the fixup fails at parsing time. It can happen that the config group is not ready at parsing time (dynamic group), but a module tries to parse a @cfg_get select call in mod_init, or when the modparams are parsed.

Miklos Tirpak authored on 26/02/2008 17:07:35
February 18, 2008
View 1b366aa1c6

minor simplification: some memcpy()s are replaced with assignment

Miklos Tirpak authored on 18/02/2008 10:40:21
February 15, 2008
View cad56ad763

CFG_UNREF is moved outside of the lock in cfg_install_global function (shm_free()s might take longer) Patch from Andrei

Miklos Tirpak authored on 15/02/2008 09:13:39
February 8, 2008
View a0b44e9256

- Call the per-child process callback functions even if the config variables are changed before forking, so the modules/core will not miss the change.

Miklos Tirpak authored on 08/02/2008 17:09:45
January 30, 2008
View c55d3c7f59

testing and fixing str and string configuration variables with NULL values

Miklos Tirpak authored on 30/01/2008 11:48:39
January 28, 2008
View c092bd34ee

- rejecting config declarations with conflicting group name - cfg_declare_int() is extended with min/max support

Miklos Tirpak authored on 28/01/2008 15:35:56
View e5cba0780e

- #define CFG_INPUT_SHIFT is used instead of a hardwired value (patch from Tomas Mandys) - convert_val() can convert between all the supported types: string, str, int (slightly modified patch from Tomas Mandys) - two new wrappers, cfg_set_now_str() and cfg_set_delayed_str() - signed integer values in select calls are fixed - bug fiexed in cfg_lookup_var()

Miklos Tirpak authored on 28/01/2008 12:23:11
January 24, 2008
View 140137c9e8

- configuration variables can be declared in the script: <group_name>.<var_name> = <value> [descr <description>] - free the list of cfg groups during exit

Miklos Tirpak authored on 24/01/2008 15:36:56
December 11, 2007
View f20a809de3

- Updating the local configuration in the child processes that are forked by modules.

Miklos Tirpak authored on 11/12/2007 16:15:55
December 5, 2007
View a903fdab35

Implementing a configuration framework, that can be used by SER core, and by the modules, to get and set internal variables on-the-fly, and eliminate SER restarts whenever it is possible.

Miklos Tirpak authored on 05/12/2007 15:22:01