> Is possible to add one more argument like char *db_type, this indicate
> what driver libdbi will use?. So Bacula uses db_init_database  in
> various places... and need to change them too.

Why not add a /etc/bacula/dbms.conf file that the admin can edit to indicate 
the installed database type and read your database type information from there? 
I think it's unlikely that there will be more than one database type in an 
individual Bacula install. Then you can do the db_name_init once and not have 
to touch the rest of the code. 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to