bdpayne/libvmi — pull request #217 by tklengyel (2014-10-17 14:58:07+00:00)
Title: Major rework of the driver interface codebase

The goal of this PR is to avoid building driver code which is explicitly disabled at configure time. This enables us to forgo the if-elseif wrappers and defining empty functions for each driver as the code will simply not be built when not in use. As part of this work I moved all driver files into driver-specific folders as to reduce the clutter.

The PR also gets rid of the legacy static driver interface definition and integrates it into vmi_instance.

The abstracted driver functions which perform safety checks to see if the given function is defined for the driver in use are converted into static inlines.