Clean up how a view's base table is defined
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 1 May 2011 11:59:17 +0000 (13:59 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 25 Jun 2011 14:50:06 +0000 (16:50 +0200)
commit44f97c3297cdc5b565626c0d01b6368aa24a77a0
treec1d93bc160582342eb27ce0c5ceb6be68c4387b0
parent2b0b53992f094c65ca2bbffa38bb21d4ac21e590
Clean up how a view's base table is defined

New struct empfile member base replaces ef_open_view() parameter base.
Cleaner, because the base table is a property of the view, not of how
it's used.

Use it to clean up verify_fail()'s base table access, and for extra
sanity checks in ef_open() and ef_open_view().
include/file.h
src/lib/common/ef_verify.c
src/lib/common/file.c
src/lib/common/filetable.c
src/lib/subs/fileinit.c