The idea is to allow backend plugins to override backend functions by
modifying this table. Right now, when they do this they are actually
changing a global variable and their change will persist after backend
resets (!). Store the table inside backend_base solves this problem.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
We want to change the backend interface as little as possible once we
release it as a public interface, so while we still can, we should try
to give it maximum flexibility.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>