Hi,

I have made the first small steps to be able to be able to use different
database backends in the same compiled binary. Just to be sure no
one else is working on the same code I just post here that I started
with no idea when it will be ready but as it seems I just need to
move some code around and write some glue code that select the right
database functions based on the database type selected. For now we
will probably start with a runtime selection of the database which
will load the correct shared object (e.g. I'm not going to put much
effort in the static versions of the dird those will be limited to
only one backend.)

As I think it will be quite an effort and we are doing a feature freeze
soon don't expect this to be in 3.2 but maybe somewhere early next year
it will go into the 3.3.x GIT branch. Also no promise as to when it will
be done. I have a rather heavy job next to my work on Bacula so its get
the attention I can spend on it. I still need to make a good design in
my mind but on a first read of the code I think I will drop the defines
currently in cats.h and write glue code for those functions there.

Are we ok that we use dlsym and dlopen etc interfaces ? That way I can
reuse some of my knowledge I have on programming that interface years
ago on some other code I have written way back.

So once again don't hold your breath, but please speak up if you already
started a similar effort and already made it trough a long way.
Duplicating the same effort would be something of a waste.

Marco


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to