[OpenSER-Devel] further work on database interface for 1.4

Henning Westerholt henning.westerholt at 1und1.de
Thu Jan 10 17:23:08 UTC 2008


Hi all,

just a short note that i want to continue to work on the database interface. 
Some changes that are in the work:

1. Refactor database API to use only 'str' as functions parameter for all 
functions.

2. Use 'str' type instead of const char* as internal datatypes in database API

3. Add more strict length checking to SQL functions for more security and 
error resistance.

So if anybody is also doing major changes in the database API (or want to 
start with such work in the next weeks) , please contact me to be able to do 
some planning, to prevent conflicts..

Many modules uses already 'str' internally, so the changes here are really 
straightforward. Older modules that uses at the moment const char* will be 
converted from me. 

Cheers,

Henning



More information about the Devel mailing list