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
October 13, 2008
View b9c10056a6

CFG_READONLY flag is introduced. Variables marked with this flag can be stored in the configuration framework even if they are read-only.

Miklos Tirpak authored on 13/10/2008 14:09:18
February 21, 2008
View 0d96457be7

- CFG_ATOMIC flag is introduced: indicates that the variable can be changed at any time, there is no need to wait for the SIP message processing to finish

Miklos Tirpak authored on 21/02/2008 11:09:23
February 20, 2008
View 0e41da756b

NULL child callback value was not checked, when a cfg driver called cfg_set_now() before forking.

Miklos Tirpak authored on 20/02/2008 14:52:23
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 13, 2008
View d8bad60674

fixing the parameter of the per-child process callback, it did not alway contain the variable name properly

Miklos Tirpak authored on 13/02/2008 16:14:21
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
February 4, 2008
View e44fa71d25

Make a difference between non-existing variable, and not readable variable when the value cannot be retrieved. (reported by Vladimir Marek)

Miklos Tirpak authored on 04/02/2008 16:37:55
January 31, 2008
View 1813606a64

correcting wrong goto label

Miklos Tirpak authored on 31/01/2008 16:22:09
View 29787f15d0

- check the integer range even if a fixup function is defined - min and max values can be the same

Miklos Tirpak authored on 31/01/2008 16:16:54
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
View 83b9911975

str2sint() function is moved to ut.h

Miklos Tirpak authored on 30/01/2008 09:46:04
January 28, 2008
View 30feb9b6d3

changing the syntax of cfg_register_ctx() function (The context handle must be ready when the on_declare() callbacks are called, and it may happen that the callback is executed before cfg_register_ctx() returns.)

Miklos Tirpak authored on 28/01/2008 12:54:58
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