Also, cleans up includes for relay functions (and removes unnecessary and obsolete defines of database backend - those relays should be backend independent).
Benefits:- transaction enter/exit code is now shared for all databases, and can be easily changed - this also removes duplicate code, and makes the per-backend database code simpler - no need to write things like get_rtable/flush/drop_cache in the default database, which make no sense - Note that the per-backend dbase functions are now reentrant-safe, which means that I can layer one on top of another if I want to - this still doesn't let me call other database functions from an iterate() handler, but I think it might get us closer to this goal.
Attachment:
libsemanage.dbase_common.diff.bz2
Description: application/bzip