From: Jonathan McDowell Date: Sat, 9 Nov 2013 07:02:45 +0000 (-0800) Subject: Use dynamic context for all backend databases X-Git-Tag: onak-0.4.3~33 X-Git-Url: http://the.earth.li/gitweb/?a=commitdiff_plain;h=8e0907be1d73011075a99a0c029c56664e12843e;hp=8e0907be1d73011075a99a0c029c56664e12843e;p=onak.git Use dynamic context for all backend databases 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. ---