xapian-bridge C port

endlessm/eos-sdk#2463
In `xb-database-cache.c` this has a semicolon. I have no opinion on the semi, but it should be consistent.