June 10, 2009
View 82a5ef65ff

db: Fixing problem with incorrect initialization of db connections

Jan Janak authored on 10/06/2009 20:41:27
April 15, 2009
View 75af99c99e

Various db api changes needed after migration to libsrdb1

Jan Janak authored on 03/03/2009 14:41:21
August 13, 2008
View 38869cc56d

- revert the module change in auth_db after discussion - perhaps it make sense to use a branch to do this work

Henning Westerholt authored on 13/08/2008 06:46:17
August 12, 2008
View 062b727cab

- initial version of infrastructure for autogenerating DB functions and definitions - use 'make dbschema' to generate - will be refined in the next weeks - change only auth_db module to use this functions for now - add autogenerated header to repository - add new directory to doxygen, fix some small bug in schema makefile

Henning Westerholt authored on 12/08/2008 22:44:49
August 10, 2008
View 61b6dd640b

- cleanup in modules, instead of logging module initialization in each mod_init (with different messages, levels..) do this in the core

Henning Westerholt authored on 10/08/2008 22:51:44
July 28, 2008
View 27642a08ce

- change name in copyright headers

Henning Westerholt authored on 28/07/2008 15:39:28
May 21, 2008
View 924f20891d

- add db_check_table_version funtion to db API - this function includes error logging and also a error message on version mismatch, its require now a exact match of the version numbers - convert most of the modules to use this function, instead of implementing their own error handling again - new modules should use this function - increase trusted table version define for permissions module, it should be the same as the DB version entry - TODO: convert uri_db, domain, domainpolicy and dispatch too

Henning Westerholt authored on 21/05/2008 07:50:05
May 9, 2008
View d0d9e7b28c

- fix error message for version table mismatch, openser_mysql.sh is not available anymore

Henning Westerholt authored on 09/05/2008 09:46:30
March 21, 2008
View e25a8182ea

- reuse of fixup functions

Daniel-Constantin Mierla authored on 21/03/2008 15:28:31
January 22, 2008
View e2cf634310

- port database interface (almost) complete from 'const char*' to 'str' for more safety (e.g. not null terminated strings) and performance (save strlen calls in core and library code) - adapt existing modules to use the new interface - change bind_dbmod and use_table function to the naming scheme of the other functions of the API - port existing module to use 'str' values for database related parameters - if modules uses already 'str' functions internally, remove the unnecessary temporary variables - make functions and parameter that needs only locally be used static - introduce new column variables needed for the keys for modules that don't have them already, this could be used to make them configurable later on - add 'const' to more db related functions - fix postgres driver, async queries must be finished, otherwise the next one will not complete - smaller whitespace and formatting changes and cleanups all over the place - reviewed and tested with testcases, but probably not error free because of the change size

Henning Westerholt authored on 22/01/2008 13:55:43
December 19, 2007
View c4d2e802b7

- add missing cast for cmd_function after module interface extension

Henning Westerholt authored on 19/12/2007 12:23:10
November 28, 2007
View 850a86bcdd

- improve error messages, give some hints about the needed modules

Henning Westerholt authored on 28/11/2007 11:34:45
October 4, 2007
View 80998a7f2e

- cmd_export_t has a new field: free_fixup - it is the function to be called if you want to free the structure resulted after calling the fixup function - to be used in dynamic environments, like perl scripts, where you have to call fixup function every time you call a function exported by modules - for future, a better cleanup of used memory can be achived by freeing fixed strucutred in config file - fixup functions in core got the free_fixup pair if is the case - textops has some free_fixup functions set - dev version increased

Daniel-Constantin Mierla authored on 04/10/2007 11:21:22
September 20, 2007
View 789504a627

-more modules migrated to LM_* logging format

Bogdan-Andrei Iancu authored on 20/09/2007 07:47:17
September 9, 2007
View b0a7f212ca

- internal redesign of pseudo-variable (PV) model - more compact and clear format for name and index - naming format of structures and functions are prefixed with pv_ instead of xl_ - types of PV are prefixed with PVT_ instead of XL_ - PV spec formats: - $class_name - $class_name(inner_name) - $(class_name[index]) - $(class_name(inner_name)[index]) - $(class_name{transformation}) - $(class_name(inner_name){transformation}) - $(class_name[index]{transformation}) - $(class_name(inner_name)[index]{transformation}) - NOTE: the index for avp and hdr has to be specified after the pharantesis enclosing the name ( $avp(name[index]) => $(avp(name)[index]) ) - there are three classes that accept inner name: avp, hdr and var - there are two classes that accept index: avp and hdr - NOTE: color printing PV not yet migrated -- they will be introduced as a new PV class exported by xlog module - modules migrated to new PV model - NOTE: avpsops need special attention -- it was prety much affected - PV exporting by modules is done via a new simpler structure that allows to add PV with inner name and index - NEW FEATURE: inner_name and index for avp and hdr can be PV ( example: $(avp($var(avp_name))[$var(index)]) - name of avp is taken from $var(avp_name) and the index from $var(index)) - dev version increased

Daniel-Constantin Mierla authored on 09/09/2007 20:55:56