]> the.earth.li Git - onak.git/commitdiff
Use dynamic context for all backend databases
authorJonathan McDowell <noodles@earth.li>
Sat, 9 Nov 2013 07:02:45 +0000 (23:02 -0800)
committerJonathan McDowell <noodles@earth.li>
Sat, 9 Nov 2013 07:02:45 +0000 (23:02 -0800)
Rather than defining a static set of database functions use a well
known initialisation function for each database backend that then
returns a database context structure. This structure contains function
pointers for all of the functions previously held in dbstructs as well
as a private instance context pointer.

For the moment this doesn't provide any change to behaviour, but it
provides the initial preparation for allowing multiple database instance
(whether of the same or differing types) to be used at the same time.


No differences found