[OpenSER-Devel] exporting the DB api
Daniel-Constantin Mierla
miconda at gmail.com
Wed Feb 27 19:45:28 CET 2008
Hello,
continuing the discussion from the irc devel meeting, the way DB modules
export the API functions is going to be migrated to the bind approach.
Instead of exporting each function, the DB module will export a single
function that will fill in the structure with the DB functions.
The bind function must have same name for all module. Henning proposed
db_bind_api(), as it follows recent refurbishment he has done, I am for
it, as well. If someone has pro/cons, please speak up.
In the first phase, if the db_bind_api() is not exported, it will
fallback to current approach.
Cheers,
Daniel
More information about the Devel
mailing list