[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    [OpenSER-Devel] exporting the DB api
From:       miconda () gmail ! com (Daniel-Constantin Mierla)
Date:       2008-02-27 18:45:28
Message-ID: 47C5AFC8.6050104 () gmail ! com
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic