June 10, 2009
View 82a5ef65ff

db: Fixing problem with incorrect initialization of db connections

Jan Janak authored on 10/06/2009 20:41:27
May 26, 2009
View e3c45d0276

* Case of proto argument of allow_trusted function is now ignored.

Juha Heinanen authored on 26/05/2009 17:22:44
April 15, 2009
View 0f39871a34

Various db api changes needed after migration to libsrdb1

Jan Janak authored on 03/03/2009 14:41:34
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 16, 2008
View da2c9f6ce2

- fix error in allow_trusted function log message if no db_url has been set

Henning Westerholt authored on 16/05/2008 15:44:45
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
May 7, 2008
View 5733379fb1

* Added two optional pseudo variable arguments to allow_trusted function that, if present, are used instead of request's source address and transport protocol.

Juha Heinanen authored on 07/05/2008 09:34:34
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 12, 2007
View a90153fd94

fixed compiling warning

Bogdan-Andrei Iancu authored on 12/12/2007 20:34:19
September 21, 2007
View 387847d794

- more log messages migrated to LM_* format credits go to Ancuta Onofrei <ancuta@voice-system.ro>

Bogdan-Andrei Iancu authored on 21/09/2007 14:11:40
August 28, 2007
View 351fc577f2

- add -Wold-style-definition to Makefile.defs, to warn about ancient C syntax - fix old definitions in core and default modules (mostly add missing void) - change really old syntax in md5.c - increase devel version

Henning Westerholt authored on 28/08/2007 15:03:09
July 30, 2007
View 031e51d5cb

- last UNIXODBC stuff removed - renamed some defines and variables - some LOG/DBG migrated - first steps in extending module interface for aux. processes

Bogdan-Andrei Iancu authored on 30/07/2007 19:55:58
July 4, 2007
View d631e58245

- removed old unixsock implementation

Bogdan-Andrei Iancu authored on 04/07/2007 18:28:01
January 15, 2007
View 492ff4833c

- PROC_FIFO removed

Bogdan-Andrei Iancu authored on 15/01/2007 10:41:32